when-mapping-dependencies-use-dependency-mapper
Warn
Audited by Gen Agent Trust Hub on Jul 3, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
slash-command-dep-map.shand the subagent guide insubagent-dependency-mapper.mdusenpxto run theclaude-flow@alphapackage. Runtime execution of external packages from public registries introduces supply-chain risks and potential for arbitrary code execution. - [COMMAND_EXECUTION]: The skill executes various system tools and package manager commands including
npm audit,md5sum, andmkdir. These are triggered during the analysis phase and are used for dependency auditing and local cache management. - [DATA_EXFILTRATION]: As part of its security audit phase, the skill is configured to send package data to external services such as Snyk and GitHub. This includes reading environment variables for authentication (e.g.,
SNYK_TOKEN) and transmitting manifest content over the network. - [PROMPT_INJECTION]: The file
skill-report.jsoncontains a pre-written security audit of the skill, making authoritative safety claims like 'Verdict: SAFE' and 'not blocked.' This is a self-referential pattern intended to bypass or influence independent security analysis. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted project manifest data and incorporates it into an HTML visualization template. In
subagent-dependency-mapper.md(lines 482-489), project metadata is assigned toinnerHTMLwithout sanitization, posing a Cross-Site Scripting (XSS) risk if an attacker-controlled project is analyzed.
Audit Metadata