Scan Report
25 /100
introspection-debugger
AI Agent 自省调试框架 - 让 AI Agent 具备自我诊断和自动修复能力
This is a legitimate AI agent self-debugging framework with no malicious behavior; however, undeclared network access for webhook notifications and overly broad shell/filesystem capabilities that exceed what is technically documented create minor security concerns.
Safe to install
Narrow the shell execution scope, explicitly document network notification capability, add input sanitization for file paths extracted from error messages, and pin npm install versions.
Findings 4 items
| Severity | Finding | Location |
|---|---|---|
| Medium | Undeclared network access via webhook Doc Mismatch | introspection-debugger.js:257 |
| Low | Undeclared global process handler registration Priv Escalation | introspection-debugger.js:222 |
| Low | Unpinned npm install in installDependency fix RCE | introspection-debugger.js:135 |
| Low | Shell command injection via extractFilePath RCE | introspection-debugger.js:111 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✓ Aligned | introspection-debugger.js:107 — createMissingFile calls fs.writeFileSync on extr… |
| Shell | NONE | WRITE | ✓ Aligned | introspection-debugger.js:296 — execAsync('chmod +x ...') and execAsync('npm ins… |
| Network | NONE | WRITE | ✗ Violation | introspection-debugger.js:257 — notifyHuman() POSTs JSON report to arbitrary thi… |
| Environment | NONE | READ | ✓ Aligned | introspection-debugger.js reads process.cwd() for workspace — baseline for any p… |
File Tree
2 files · 16.1 KB · 614 lines JavaScript 1f · 526L
Markdown 1f · 88L
├─
introspection-debugger.js
JavaScript
└─
SKILL.md
Markdown
Security Positives
✓ No credential harvesting or environment variable enumeration for sensitive keys
✓ No base64 or other obfuscation techniques detected
✓ No direct IP network requests or hardcoded C2 endpoints
✓ No downloads from remote URLs via curl|bash patterns
✓ No supply chain threats — no package manager files present
✓ Core functionality (error capture, analysis, reporting) matches stated purpose