map-codebase
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes arbitrary codebase files, creating a surface for indirect prompt injection where malicious instructions inside the analyzed code could influence subagent behavior.\n
- Ingestion points: The
Read,Grep, andGlobtools are used by specialized subagents (e.g.,security-mapper,conventions-mapper) to ingest untrusted file content from the local directory.\n - Boundary markers: The prompts for the subagents do not include explicit instructions or delimiters (like XML tags or specific 'ignore' directives) to treat the ingested code content strictly as data, potentially allowing embedded instructions to be followed.\n
- Capability inventory: While subagents are limited to 'Explore' (read-only) mode, they possess the
Writetool to generate markdown reports indocs/codebase/. The main agent hasBashaccess for pre-triage operations.\n - Sanitization: The skill does not implement sanitization or validation of the content read from the codebase before it is included in the output documentation.
Audit Metadata