github-code-review
Pass
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: SAFECREDENTIALS_UNSAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill extracts GitHub authentication tokens from sensitive local configuration files to authenticate API requests. It specifically targets the global Git credentials file and a skill-specific environment file.
- Evidence: Extracts tokens from
~/.hermes/.envand~/.git-credentialsusinggrepandsedin the setup block ofSKILL.md. - [PROMPT_INJECTION]: The skill processes untrusted content from GitHub Pull Requests (titles, descriptions, comments, and diffs), creating an attack surface for indirect prompt injection.
- Ingestion points: Reads PR metadata and file contents from the GitHub REST API and local
git diffoutputs inSKILL.md. - Boundary markers: Absent; instructions do not include delimiters or warnings to ignore embedded instructions in the PR data.
- Capability inventory: The skill can execute
gitcommands,curlnetwork requests, andpython3scripts, and it encourages running local test suites (pytest,npm test) on checked-out PR code. - Sanitization: Uses Python's
jsonmodule for parsing API responses, but checking out and executing code from untrusted PR branches provides a pathway for malicious code execution if tests are run. - [COMMAND_EXECUTION]: Employs shell commands and inline Python scripts to automate code review workflows and process JSON data.
- Evidence: Frequent use of
curl,git, andpython3 -cblocks inSKILL.mdto interact with GitHub and the local filesystem.
Audit Metadata