completion-gate

Pass

Audited by Gen Agent Trust Hub on Oct 26, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/merge-if-green.py script automates interaction with the GitHub CLI (gh) to manage pull request merges. It executes commands such as gh pr view, gh pr checks, gh pr update-branch, and gh pr merge. These operations are performed using subprocess.run with argument lists, which is a secure method that prevents shell command injection.
  • [INDIRECT_PROMPT_INJECTION]: The skill instructions require the agent to ingest and act upon data from external repository files, which could theoretically contain malicious instructions designed to influence agent behavior during the verification process.
  • Ingestion points: The agent is instructed in SKILL.md to read AGENTS.md, CLAUDE.md, .cursor/rules/, package.json, Makefile, and CI configuration files.
  • Boundary markers: There are no explicit delimiters or "ignore embedded instructions" warnings specified for the content read from these files.
  • Capability inventory: The agent is authorized to execute shell commands for linting, testing, and building, and the provided script can perform PR merges and deletions on GitHub via the gh tool.
  • Sanitization: While the script uses structured execution for its own operations, the primary instructions rely on the agent to manually adapt and verify commands found in the repository configuration.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 26, 2026, 07:07 PM