cartographer
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/cartographer.mjsexecutes several local binaries includinggit,gitnexus,ast-grep, andrgusingchild_process.spawn. It correctly uses theshell: falseoption and array-based arguments to prevent command injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data by reading source code and tool outputs from the local repository, which represents a potential indirect prompt injection surface. Ingestion points:
scripts/cartographer.mjsreads output fromgitnexus,ripgrep, andast-grepwhich process repository files. Boundary markers: The skill instructions inSKILL.mdadvise the agent to cite exactpath:lineand record unknowns rather than guessing. Capability inventory: The skill can execute code analysis tools viachild_process.spawnand write map files to the.ramos/maps/directory. Sanitization: Tool outputs are parsed as JSON, but the raw content of code symbols is presented to the agent in markdown format. - [PERSISTENCE]: The skill includes a library
scripts/_lib/doctor.mjscapable of installing lifecycle hooks into the agent's configuration file (.claude/settings.local.json). This allows the agent to execute specific scripts during session start, prompt submission, or session stop events.
Audit Metadata