扫描报告
5 /100
skill-guard
Claude Code / OpenClaw Skill security auditing tool with always-active hook interception + static/LLM scanning + sandbox behavioral testing
Skill Guard is a legitimate security auditing tool with no malicious behavior - all capabilities match documentation, no external dependencies, and proper sandbox isolation.
可以安装
This skill is safe to use. It provides valuable security auditing capabilities for Claude Code / OpenClaw skills.
安全发现 4 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 提示 | Subprocess execution for sandbox 代码执行 | scripts/sandbox_run.py:195 |
| 提示 | String segmentation for anti-AV detection 代码混淆 | scripts/quick_scan.py:80 |
| 提示 | Sensitive path patterns are detection rules 敏感访问 | scripts/quick_scan.py:102 |
| 提示 | Session state persistence 权限提升 | hooks/danger_guard.py:21 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | READ | READ | ✓ 一致 | SKILL.md states Read tool usage for target skill files |
| 命令执行 | WRITE | WRITE | ✓ 一致 | subprocess.run() in sandbox_run.py lines 195-211, danger_guard.py runs as PreToo… |
| 网络访问 | NONE | NONE | — | No network calls in code; sandbox explicitly denies network access |
| 环境变量 | NONE | READ | ✓ 一致 | Reads USER, LANG from os.environ for sandbox env only |
| 技能调用 | WRITE | WRITE | ✓ 一致 | SKILL.md declares skill_invoke capability for auditing other skills |
| 剪贴板 | NONE | NONE | — | No clipboard access detected |
| 浏览器 | NONE | NONE | — | No browser access detected |
| 数据库 | NONE | NONE | — | No database access detected |
目录结构
12 文件 · 109.6 KB · 2618 行 Python 3f · 1617L
Markdown 6f · 935L
JSON 3f · 66L
├─
▾
.claude
│ └─
settings.local.json
JSON
├─
▾
hooks
│ ├─
danger_guard.py
Python
│ └─
hooks.json
JSON
├─
▾
references
│ ├─
checklist.md
Markdown
│ ├─
dangerous_commands.md
Markdown
│ ├─
known_threats.md
Markdown
│ └─
openclaw_adapter.md
Markdown
├─
▾
scripts
│ ├─
quick_scan.py
Python
│ └─
sandbox_run.py
Python
├─
_meta.json
JSON
├─
README.md
Markdown
└─
SKILL.md
Markdown
依赖分析 1 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
Python standard library only | N/A | stdlib | 否 | Uses json, os, re, sys, pathlib, subprocess, shutil, argparse, tempfile, uuid, math, base64 - no external packages |
安全亮点
✓ No external dependencies - uses only Python standard library
✓ All capabilities declared in SKILL.md match actual implementation
✓ Proper sandbox isolation with macOS sandbox-exec or Linux restricted environment
✓ Network access explicitly denied in sandbox profile
✓ Session state stored in temp directory with user permissions
✓ Self-scan prevention with # noscan comments prevents false positives
✓ Comprehensive 8-dimension audit checklist for semantic analysis
✓ Known threat pattern database for detection
✓ No credential harvesting, no data exfiltration, no reverse shell patterns
✓ Code is well-documented and readable with clear intent
✓ Exit code 2 for blocking (standard hook convention) with user confirmation flow