code-investigate
Pass
Audited by Gen Agent Trust Hub on Mar 27, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill exhibits a vulnerability to indirect prompt injection by ingesting and processing untrusted data from the codebase being analyzed.
- Ingestion points: The skill uses
Read,Grep, andGlobtools to search and read content from the local project files (e.g., inSKILL.mdPhases 1 and 2). - Boundary markers: There are no explicit delimiters or instructions provided to the agent or the Codex tool to ignore potential instructions embedded within the codebase content (e.g., malicious markdown comments or code comments).
- Capability inventory: The skill possesses the capability to invoke the
mcp__codex__codextool withapproval-policy: 'never', which allows the sub-agent to execute shell commands (likely for exploration) without user intervention. It also has access toBashrestricted to git operations. - Sanitization: No sanitization, escaping, or validation of the code content is performed before it is interpolated into prompts or used to influence the investigation logic.
Audit Metadata