Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

security-sweep安全扫荡

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

3,881

周安装

165

GitHub Stars

公开资料未说明

下载量

1,360
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:security-sweep(安全扫荡)
来源仓库:https://github.com/rhombusmaximus/security-sweep
安装命令:
openclaw skills install security-sweep
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install security-sweep

简介

扫描 OpenClaw 技能中的硬编码秘密、危险执行模式与网络出口滥用行为。

  • 适用于技能发布前自检、社区贡献审核或运行时异常监控任务。
  • 支持多种语言语法解析与常见漏洞特征匹配。
  • 可能产生误报,需人工复核敏感路径与白名单例外情况。
  • security-sweep 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
security-sweep
description
Security scanner for OpenClaw skills and plugins. Scans for hardcoded secrets, dangerous exec patterns, dependency vulnerabilities, and network egress. Use when auditing installed skills/plugins, before publishing to ClawHub, or when a user requests a security review of skills or plugins.
version
1.1.1

Security Sweep — Skill & Plugin Auditor

Scans OpenClaw skills and plugins for:

  1. Hardcoded secrets — API keys, tokens, passwords in code
  2. Dangerous exec patterns — shell injection, eval, unsanitized child_process calls
  3. Dependency vulnerabilities — npm audit failures
  4. Network egress — unexpected outbound connections
  5. Input injection — unsanitized user input reaching exec/file/eval

Scan Scope

Built-in skills (read-only, bundled with OpenClaw CLI):

$(brew --prefix)/Cellar/openclaw-cli/<version>/libexec/lib/node_modules/openclaw/skills/

Workspace skills (user-installed):

~/.openclaw/workspace/skills/

Workflow

Full Sweep

Run the comprehensive scan script:

SKILLS_DIR="$(brew --prefix)/Cellar/openclaw-cli/2026.3.24/libexec/lib/node_modules/openclaw/skills"
WS_DIR="$HOME/.openclaw/workspace/skills"
REPORT_DATE=$(date +%Y%m%d_%H%M%S)
REPORT_FILE="$HOME/.openclaw/security-sweep-${REPORT_DATE}.txt"

bash ~/.openclaw/workspace/skills/security-sweep/scripts/full-scan.sh \
  --builtin "$SKILLS_DIR" \
  --workspace "$WS_DIR" \
  --output "$REPORT_FILE"

Quick Scan (fast patterns only)

bash ~/.openclaw/workspace/skills/security-sweep/scripts/quick-scan.sh \
  --dir "$HOME/.openclaw/workspace/skills"

Single Skill Scan

bash ~/.openclaw/workspace/skills/security-sweep/scripts/skill-scan.sh \
  --skill /path/to/skill

NPM Audit (workspace skills with package.json)

bash ~/.openclaw/workspace/skills/security-sweep/scripts/npm-audit.sh \
  --workspace "$HOME/.openclaw/workspace/skills"

Risk Categories

LevelFindingAction
🔴 CRITICALHardcoded secret (api_key, token, password)Remove immediately, rotate credential
🔴 CRITICALeval() on untrusted inputReplace with safe alternative
🟠 HIGHexec(), spawn() with string concatenationUse execFile with array args
🟠 HIGHShell injection surface (bash -c, ${var} in shell)Sanitize or use execFile
🟡 MEDIUMnpm audit findings (any severity)Review and update dependencies
🟡 MEDIUMUnexpected network egressVerify necessity, document purpose
🟢 LOWFile permission too broad (0o777)Restrict to 0o644/0o755
🟢 INFOprocess.env leak in logsEnsure logs redact env vars

Reporting

Reports are saved to ~/.openclaw/security-sweep-<date>.txt. Include report path in memory after each scan.

Periodic Scanning

Offer to schedule weekly security sweeps via cron:

openclaw cron add \
  --name "security-sweep" \
  --every 604800 \
  --sessionTarget isolated \
  --payload '{"kind":"agentTurn","message":"Run security sweep on all skills. Report findings. Save report to ~/.openclaw/security-sweep-<date>.txt and note in memory/YYYY-MM-DD.md if any critical issues found."}'

Sharing / ClawHub Publishing

Before publishing a skill to ClawHub:

  1. Run full sweep
  2. Fix all CRITICAL/HIGH findings
  3. Verify no secrets in SKILL.md or any scripts
  4. Confirm npm audit passes with 0 vulnerabilities
  5. Document all required env vars in SKILL.md

Notes

  • Bundled skills (read-only, no write during scan)
  • Workspace skills are editable — fix findings directly
  • Some execFile usage is legitimate (openclaw CLI calls) — review context
  • process.env access is fine; concern is env vars *leaking* to untrusted processes

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.19%
按下载量换算1,050

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills