ce-babysit-pr
Pass
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from GitHub Pull Requests, including comments, reviews, and CI logs, which could contain malicious instructions. While the skill includes explicit instructions for the agent to treat this content as untrusted and ignore embedded shell snippets, it has significant capabilities (file writes, repository mutations, and network operations) that could be targeted by such injections.
- Ingestion points: Data enters the system via
gh pr viewand GraphQL queries that fetch PR comments, reviews, and status check logs. - Boundary markers: No explicit delimiters (like XML tags) are used for the ingested data; the skill relies on a general safety instruction in
envelope.mdandSKILL.md. - Capability inventory: The skill and its delegates have authority to execute
git commit,git push,gh pr edit,gh pr close, andgh run rerun. It also performs network operations via theghAPI. - Sanitization: The skill relies on delegated sub-skills (
ce-resolve-pr-feedbackandce-debug) and the agent's internal reasoning to filter and validate actions based on untrusted input. - [DYNAMIC_EXECUTION]: The bundled script
scripts/pr-snapshotuses thectypeslibrary on Windows to interface withkernel32.dll. It invokes system APIs likeOpenProcess,GetProcessTimes, andQueryFullProcessImageNameWto implement a PID-reuse guard, ensuring that it only terminates or communicates with legitimate background watch processes. - [COMMAND_EXECUTION]: The skill makes extensive use of
subprocess.runto interact with the local filesystem and the GitHub CLI. It executes commands such asgit,gh, and its own Python scripts. The scripts include input validation (such as regex-based branch name validation) to prevent basic command injection.
Audit Metadata