github-code-review
Warn
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The reference documentation (
references/reference.md) provides an implementation example for a webhook handler that usesexecSyncto process pull request comments. The example directly interpolates the user-provided comment body into a shell command string, which is a significant command injection vulnerability.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input from GitHub pull requests, creating a surface for potential indirect prompt injection attacks where malicious code or instructions in a PR could influence the agent's behavior.\n - Ingestion points: The skill fetches pull request titles, bodies, and diffs using the
ghCLI inSKILL.mdandreferences/reference.md.\n - Boundary markers: There are no boundary markers or explicit instructions to the review agents to ignore potentially malicious embedded content in the ingested PR data.\n
- Capability inventory: The skill can execute shell commands (
Bash), perform PR management operations (gh pr merge), and install external packages vianpx.\n - Sanitization: No sanitization or filtering logic is present for the ingested PR content before it is passed to the AI agents for analysis.\n- [DYNAMIC_EXECUTION]: The skill documentation describes a feature to register custom review agents from local JavaScript files via the
register-agentcommand. Dynamically loading and executing arbitrary script files at runtime is a high-risk code execution pattern.\n- [EXTERNAL_DOWNLOADS]: The skill frequently usesnpxto download and run theruv-swarmandclaude-flowpackages. Although these appear to be vendor-associated resources, the use ofnpxfor runtime execution introduces a dependency on external code registries without fixed versioning or integrity checks in the skill metadata.
Audit Metadata