github-code-review

Pass

Audited by Gen Agent Trust Hub on Oct 8, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill uses npx to download and execute the ruv-swarm and claude-flow packages from the npm registry. These are third-party tools required for the swarm's core logic.
  • [COMMAND_EXECUTION]: The instructions frequently use the GitHub CLI (gh) to retrieve pull request data, diffs, and head commits, as well as to post comments and reviews. It also executes swarm commands using npx.
  • [DYNAMIC_EXECUTION]: The skill allows the registration of custom JavaScript agents from local files using a register-agent command. Additionally, the recommended webhook handler implementation uses child_process.execFile to execute commands dynamically based on incoming events.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from GitHub pull requests, creating a vulnerability surface where malicious code or comments could influence the behavior of the review agents.
  • Ingestion points: Pull request data (titles, bodies) and file diffs fetched via gh pr view and gh pr diff, as well as command strings from PR comments.
  • Boundary markers: The instructions do not define specific prompt delimiters or "ignore instructions" warnings for the LLM agents processing the PR content.
  • Capability inventory: The skill has the capability to write PR comments, request changes, and trigger further swarm actions via the gh and npx tools across its scripts.
  • Sanitization: The provided webhook handler implements numeric validation for PR identifiers and uses execFile to prevent shell-level injection, though it notes that comment bodies remain attacker-controlled.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 8, 2026, 04:53 AM