github-code-review
Pass
Audited by Gen Agent Trust Hub on Sep 1, 2026
Risk Level: SAFECREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill contains logic in
SKILL.mdto programmatically extract theGITHUB_TOKENfrom~/.hermes/.envor the user's~/.git-credentialsfile. While this is used for legitimate GitHub API authentication, it demonstrates a pattern of accessing sensitive credential stores. - [COMMAND_EXECUTION]: The skill makes extensive use of shell commands (
git,gh,curl) and pipes data intopython3scripts for JSON processing. It also allows for local test execution (python -m pytest,npm test) which could be exploited if the PR code being reviewed contains malicious tests. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from GitHub PRs, including titles, descriptions, and file diffs.
- Ingestion points:
SKILL.mdusescurlandgh pr viewto fetch PR metadata and content. - Boundary markers: There are no explicit instructions or delimiters used when the agent reads PR descriptions or diffs to ignore embedded instructions.
- Capability inventory: The skill can write review comments back to GitHub, execute shell commands, read local files, and run test suites.
- Sanitization: The skill lacks sanitization of the PR body or diff before processing, creating a risk where an attacker could embed instructions in a PR to influence the agent's review or local command execution.
Audit Metadata