check

Warn

Audited by Gen Agent Trust Hub on Nov 16, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
  • [COMMAND_EXECUTION]: The skill makes extensive use of the gh CLI and git commands. In the 'Triage Mode', user-provided keywords or issue details could potentially be injected into shell commands like git log --oneline <tag>..HEAD | grep -i "<keyword>". While the skill uses backticks for command execution, unvalidated user input flowing into these commands poses a command injection risk.
  • [DYNAMIC_EXECUTION]: The skill executes a local shell script located at ${CLAUDE_SKILL_DIR:-$HOME/.agents/skills/check}/scripts/run-tests.sh. This script dynamically detects the project type and runs arbitrary commands (e.g., npm test, make test, pytest). If an attacker can influence the project files (like a malicious Makefile or package.json), they can achieve arbitrary code execution when the user runs the check skill.
  • [DATA_EXFILTRATION]: The skill processes sensitive information including git history, GitHub issues, and local environment variables (via vercel env ls). It also has instructions to read ~/www/CLAUDE.md. While no explicit exfiltration URL was detected, the capability to read sensitive local data combined with the gh tool's network access creates an exfiltration path.
  • [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted external data (diffs, GitHub issue content, PR descriptions). It lacks explicit boundary markers or 'ignore' instructions for the data it ingests, making it vulnerable to instructions embedded within a PR or issue that could influence the agent's behavior during the review process. The capability to 'auto-fix' issues makes this particularly risky.
  • [PRIVILEGE_ESCALATION]: The run-tests.sh script utilizes npx, npm, cargo, and make. These tools often run with the permissions of the current user and can execute arbitrary build-time scripts (e.g., preinstall scripts in package.json), potentially leading to persistent access if a malicious dependency is processed.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 16, 2026, 12:35 AM