kata-map-codebase
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Node.js scripts (
scan-codebase.cjs,generate-intel.js,detect-stale-intel.cjs) that invokeexecSyncto interact with the local Git binary. These operations are limited to metadata retrieval (e.g.,git rev-parse,git ls-files,git diff) and standard repository management (git add,git commit). - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted codebase data to generate documentation, presenting an inherent injection surface.
- Ingestion points: Files are read directly from the project directory using
fs.readFileSyncwithinscan-codebase.cjsand summarized by subagents as described incodebase-mapper-instructions.md. - Boundary markers: The skill uses structured Markdown templates and JSON schemas for output, though it does not implement explicit "ignore embedded instructions" delimiters for the content it analyzes.
- Capability inventory: The skill possesses capabilities for shell command execution (Git), file system writes, and subagent orchestration.
- Sanitization:
scan-codebase.cjsemploys regex-based comment stripping to reduce the risk of processing malicious instructions embedded in source code comments. - [DATA_EXPOSURE]: The skill templates (e.g.,
INTEGRATIONS.md) correctly instruct the agent to identify environment variable names rather than hardcoding actual secrets or API keys. It also properly recognizes that.envfiles should be ignored or used only for reference.
Audit Metadata