learn-codebase
Pass
Audited by Gen Agent Trust Hub on Aug 7, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to discover, read, and apply instructions from
SKILL.mdfiles found within the repository being analyzed (e.g., in./skills/or./.claude/skills/). This architecture allows a malicious codebase to provide poisoned instructions that the agent may then execute as part of its analysis workflow. - Ingestion points: The
scripts/list_skills.pyscript (line 63) and the analysis workflow inSKILL.md(Step 3) ingest instructions from the local repository. - Boundary markers: Absent. The instructions do not define clear delimiters or warnings to isolate instructions found in the codebase from the agent's primary directives.
- Capability inventory: The skill utilizes shell execution to run the
list_skills.pyscript and has the capability to write aCODEBASE_OVERVIEW.mdfile to the filesystem. - Sanitization: The
list_skills.pyscript performs basic string parsing of YAML frontmatter but does not validate or sanitize the instruction content for malicious prompt injection patterns.
Audit Metadata