github-code-review

Warn

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: MEDIUMDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [DATA_EXFILTRATION]: The skill accesses sensitive local files to extract authentication credentials. It attempts to read and parse the standard git credentials file (~/.git-credentials) and a local configuration file (.hermes/.env) to harvest GitHub tokens.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data from GitHub Pull Requests, creating a surface for indirect prompt injection attacks where an attacker could embed instructions in a PR to influence the agent's behavior.
  • Ingestion points: Fetches PR metadata, descriptions, and code changes using the GitHub API in SKILL.md.
  • Boundary markers: No delimiters or safety instructions are used to distinguish the agent's instructions from the untrusted content being reviewed.
  • Capability inventory: The agent can execute shell commands, read/write files, and make network requests using the harvested credentials.
  • Sanitization: Untrusted PR data is handled directly without any sanitization or validation of its content.
  • [DYNAMIC_EXECUTION]: The skill utilizes python3 -c to execute inline scripts that process JSON data returned from GitHub API calls. While the scripts are fixed, this pattern involves dynamic interpretation of data handled at runtime.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Oct 12, 2026, 06:54 PM