一键导入
clawshield
Scan OpenClaw skill directories for high-signal security risks such as download-and-execute chains, obfuscated execution, and suspicious callbacks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scan OpenClaw skill directories for high-signal security risks such as download-and-execute chains, obfuscated execution, and suspicious callbacks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate safer OpenClaw configuration baselines and audit existing config files for exposure, missing controls, and secret hygiene issues.
clean fixture
malicious fixture
Calculate OpenClaw usage cost from offline event logs, apply budget thresholds, and export operator-facing reports.
avoid fixture
caution fixture
| name | clawshield |
| description | Scan OpenClaw skill directories for high-signal security risks such as download-and-execute chains, obfuscated execution, and suspicious callbacks. |
| homepage | https://github.com/mike007jd/openclaw-skills/tree/main/clawshield |
| metadata | {"openclaw":{"emoji":"🛡️","requires":{"bins":["node"]}}} |
Scan a skill directory without executing it and return a risk level that can be enforced in review or CI.
node {baseDir}/bin/clawshield.js scan /path/to/skill --format table
node {baseDir}/bin/clawshield.js scan /path/to/skill --format json
node {baseDir}/bin/clawshield.js scan /path/to/skill --format sarif > clawshield.sarif
node {baseDir}/bin/clawshield.js scan /path/to/skill --format table --fail-on caution
| Rule ID | Severity | Description |
|---|---|---|
| CS001_CURL_PIPE_SH | high | curl or wget piped directly into a shell |
| CS002_OBFUSCATED_EXEC | high | obfuscated or dynamic execution such as eval, new Function, or base64 decode flows |
| CS003_SUSPICIOUS_CALLBACK | medium | suspicious outbound callback endpoints such as raw IPs, ngrok, or webhook collectors |
| CS004_SOCIAL_ENGINEERING_PROMPT | medium | instructions that pressure users to bypass safety controls |
| CS005_SHELL_WRAPPER_EXEC | high | bash -c wrappers that hide remote execution |
Create .clawshield-suppressions.json in the target skill directory:
[
{
"ruleId": "CS001_CURL_PIPE_SH",
"file": "install.sh",
"line": 15,
"justification": "Reviewed manually; uses a pinned artifact with signature verification."
}
]
Suppressions without justification are ignored.
- run: node {baseDir}/bin/clawshield.js scan . --format sarif --fail-on caution