Scan Report
20 /100
tvs-analyze
代码与项目分析专家,生成 madge 依赖图,帮助开发者了解项目结构、依赖关系和业务逻辑
A straightforward code analysis skill that generates madge dependency graphs; uses execSync for CLI tooling which is expected and documented, with no credential access or data exfiltration.
Safe to install
Approve for use. The skill is a legitimate development tool with no malicious behavior. Consider documenting the execSync usage in SKILL.md for transparency.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | SKILL.md embeds script code but does not explicitly declare shell execution Doc Mismatch | SKILL.md:44 |
| Low | npx madge executed without pinned version Supply Chain | scripts/generate-madge.mjs:55 |
| Info | execSync used for CLI tooling RCE | scripts/generate-madge.mjs:27 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Shell | NONE | WRITE | ✓ Aligned | scripts/generate-madge.mjs:27-32 execSync with command -v and npx madge |
| Filesystem | NONE | WRITE | ✓ Aligned | scripts/generate-madge.mjs:47 mkdirSync(OUTPUT_DIR) and SVG output |
| Network | NONE | READ | ✓ Aligned | scripts/generate-madge.mjs:33 npx madge downloads from npm at runtime |
File Tree
2 files · 5.5 KB · 140 lines JavaScript 1f · 86L
Markdown 1f · 54L
├─
▾
scripts
│ └─
generate-madge.mjs
JavaScript
└─
SKILL.md
Markdown
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
madge | * | npx (npm) | No | Version not pinned; fetched at runtime via npx |
graphviz | * | system package | No | Required system dependency; version unknown |
Security Positives
✓ No credential harvesting or sensitive data access
✓ No data exfiltration or C2 communication
✓ No obfuscation or base64-encoded payloads
✓ No reverse shell or remote code execution beyond standard CLI tooling
✓ Script logic is simple, readable, and does exactly what it claims
✓ Output directory is scoped to .claude/analyze/ — contained within the project