Scan Report
25 /100
auto-hook
检查指定 SKILL 是否存在偷懒、跳步、简化执行等问题,并确保该 SKILL 末尾附有自审计钩子
This is a self-audit hook injection/removal tool for AI agent skills. Filesystem WRITE access is declared and documented; no hidden functionality, credential theft, obfuscation, or network exfiltration observed.
Safe to install
Approve for use. The filesystem WRITE permission is necessary for the hook injection feature. Monitor hook.md content uploads to prevent potential prompt injection via malicious hook content.
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Low | Self-referential path in hook.md Doc Mismatch | hook.md:42 |
| Medium | Hook injection could enable downstream prompt injection Priv Escalation | skill-audit-hook.txt:1 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ | READ | ✓ Aligned | SKILL.md Step 1: find / grep commands for locating files |
| Filesystem | WRITE | WRITE | ✓ Aligned | SKILL.md Step 3b: cp, python open() with 'a' mode for hook injection |
| Shell | READ | READ | ✓ Aligned | SKILL.md Step 3b: bash commands for file operations |
| Network | NONE | NONE | — | No network calls found in SKILL.md or hook.md |
| Environment | NONE | NONE | — | No os.environ iteration or env var access |
| credential | NONE | NONE | — | No credential harvesting patterns found |
| Browser | NONE | NONE | — | No browser access |
| Database | NONE | NONE | — | No database access |
File Tree
3 files · 14.0 KB · 379 lines Markdown 2f · 369L
Text 1f · 10L
├─
hook.md
Markdown
├─
skill-audit-hook.txt
Text
└─
SKILL.md
Markdown
Security Positives
✓ All filesystem operations are documented in SKILL.md
✓ No credential harvesting or environment variable scanning
✓ No network exfiltration or C2 communication
✓ No obfuscation (base64, eval, atob patterns)
✓ No sensitive file access (~/.ssh, ~/.aws, .env)
✓ Hook mechanism is auditable and reversible
✓ Step 2 explicitly requires reading from skill-audit-hook.txt - no hidden default content