y-pr-desc
Pass
Audited by Gen Agent Trust Hub on Apr 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/gather_context.pyexecutes localyadmcommands (such aslog,diff, andbranch) to collect repository information. These commands are executed usingsubprocess.runwith a list of arguments, which is the recommended practice for preventing shell injection attacks. - [PROMPT_INJECTION]: The skill processes data that may contain untrusted instructions, such as commit messages or content within file diffs, which represents an indirect prompt injection surface.
- Ingestion points: Untrusted data enters the agent context via the output of
yadm logandyadm diffwithinscripts/gather_context.py. - Boundary markers: The collected data is output as a raw JSON object without specific delimiters or "ignore" instructions to prevent the agent from following commands embedded in the commit history.
- Capability inventory: The skill has access to execute
yadmandpythoncommands through theBashtool as defined in the YAML frontmatter. - Sanitization: No sanitization or filtering is performed on the commit messages or diff contents before they are passed to the agent.
Audit Metadata