project-init
Fail
Audited by Gen Agent Trust Hub on Apr 28, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The generated
.githooks/pre-pushscript is vulnerable to Indirect Prompt Injection. It passes untrusted data (git diffs and commit messages) directly into an AI agent's prompt. - [COMMAND_EXECUTION]: The pre-push hook executes the
claudeCLI using the--dangerously-skip-permissionsflag. This flag is designed to allow the agent to perform actions like running shell commands and modifying files without user confirmation. When combined with untrusted input from a git diff, an attacker could include malicious instructions in a codebase that the hook-triggered agent would execute with high autonomy. - [COMMAND_EXECUTION]: The
justfileand Phase 3 setup instructions execute commands that download and run code from external registries (npm, npx, uv). While these are common developer tools, the automated nature of the scaffolded scripts and hooks increases the attack surface.
Recommendations
- AI detected serious security threats
Audit Metadata