codex-write-pr-description
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local shell scripts to perform its tasks.
SKILL.mdinstructs the agent to runbash .agents/skills/codex-write-pr-description/scripts/context.shto gather repository data.- It also invokes
bash .agents/skills/codex-pr/scripts/validate-description.shfor output validation, indicating a dependency on a related skill from the same environment. - The
context.shscript uses standard binaries such asgitandgh(GitHub CLI) to retrieve commit history, diffs, and issue data. - [INDIRECT_PROMPT_INJECTION]: The skill processes external, untrusted data that could contain malicious instructions intended to influence the AI's behavior.
- Ingestion points: The skill reads commit messages, code diffs, existing pull request bodies, and issue titles through the
context.shscript. - Boundary markers: While
context.shuses section headers (e.g.,== diff ==), it does not provide explicit instructions or delimiters to the LLM to prevent it from following commands embedded within those data sources. - Capability inventory: The skill allows the agent to write files (
PR_AGENTDESC.md) and execute subsequent shell commands for validation. - Sanitization: The scripts do not perform any sanitization, filtering, or escaping of the content retrieved from the repository history before passing it to the agent's context.
Audit Metadata