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
ghCLI andgitcommands. In the 'Triage Mode', user-provided keywords or issue details could potentially be injected into shell commands likegit 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 maliciousMakefileorpackage.json), they can achieve arbitrary code execution when the user runs the check skill. - [DATA_EXFILTRATION]: The skill processes sensitive information including
githistory, GitHub issues, and local environment variables (viavercel 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 theghtool'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.shscript utilizesnpx,npm,cargo, andmake. These tools often run with the permissions of the current user and can execute arbitrary build-time scripts (e.g.,preinstallscripts inpackage.json), potentially leading to persistent access if a malicious dependency is processed.
Audit Metadata