adversarial-review
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted data from GitHub pull requests, which creates a potential surface for indirect prompt injection attacks.
- Ingestion points: Pull request metadata, diffs, and existing comments are fetched using
gh pr viewandgh apiinSKILL.md. - Boundary markers: The skill includes a 'Security' section that explicitly warns the agent to treat PR content as untrusted and to ignore instructions embedded in code comments or PR descriptions.
- Capability inventory: The agent can write to the pull request by posting batches of review comments using the
ghCLI. - Sanitization: The skill uses
jqto safely wrap the model-generated review content into a JSON payload, preventing potential command injection into the shell when calling the GitHub API. - [COMMAND_EXECUTION]: Both the skill and the helper script
review-train.shperform multiple system command executions. - Evidence: The skill uses
gh,jq, andgit. The helper script additionally usespiandawk, and supportsglowfor output formatting. - Sanitization: Input validation is present; for example, the
review-train.shscript checks that the PR ID is numeric and validates model names against a list of available models provided by the platform. - [EXTERNAL_DOWNLOADS]: The documentation describes how to obtain the skill and its scripts from external sources.
- Evidence:
scripts/README.mdprovides installation instructions vianpx skillsandgit clonefromgithub.com/lmammino/agent-review-skills.git. The script documentation explicitly advises against high-risk patterns like piped remote script execution.
Audit Metadata