code-graph
Pass
Audited by Gen Agent Trust Hub on Apr 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The provided Node.js and Bash scripts use
execSyncto run shell commands likefind,grep, andgit. The scripts interpolate file paths and directory names directly into these commands, which may allow for argument injection if the agent is manipulated into using malicious input values. - [PROMPT_INJECTION]: The skill has a risk of indirect prompt injection as it processes untrusted data.
- Ingestion points: Untrusted codebase files are scanned by
scripts/scan.jsand content is placed in.claude/codegraph.draft.md(viaSKILL.md). - Boundary markers: None are used to separate scanned content from instructions.
- Capability inventory: The skill uses
execSyncfor shell commands inscripts/scan.js. - Sanitization: No validation or sanitization is performed on the content extracted from files before the agent reads and summarizes it.
Audit Metadata