capture-eval-issues
Fail
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: HIGHDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The instructions in
judge-prompt.mddirect the subagent to execute a shell command by interpolating a YAML array into a bash command string:echo '<yaml_array>' | bun run .... Because the array includes content taken directly from untrusted review JSON files (such asissueandcode_snippet), this pattern allows for shell command injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data which can contain malicious payloads designed to manipulate the agent's logic. * Ingestion points: JSON review files are ingested from the file system using the
Readtool as specified injudge-prompt.md. * Boundary markers: There are no delimiters or explicit instructions to ignore embedded commands within the ingested JSON content. * Capability inventory: The subagent is granted high-privilege tools includingBashfor shell execution andTaskfor agent orchestration. * Sanitization: No input validation or shell-escaping is performed on the data before it is embedded in the shell command string. - [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute a local script with dynamically generated arguments. This execution model is inherently unsafe when the arguments are not strictly validated or sanitized against command injection patterns.
Recommendations
- AI detected serious security threats
Audit Metadata