contributor-codebase-analyzer
Pass
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and process untrusted data from git repositories, including commit messages, diffs, and PR titles which could contain adversarial instructions.
- Ingestion points: Data is pulled from external sources using 'git log', 'git show', and platform APIs ('gh', 'glab').
- Boundary markers: The instructions in 'SKILL.md' and 'AGENTS.md' explicitly mandate wrapping diffs in '--- BEGIN UNTRUSTED DIFF ---' markers to separate data from instructions.
- Capability inventory: The skill utilizes shell-based tools including git, gh (GitHub CLI), glab (GitLab CLI), jq, and bc.
- Sanitization: The provided 'scripts/checkpoint.sh' includes 'validate_path' and domain validation. 'AGENTS.md' includes comprehensive defense rules instructing the agent to validate all API-sourced values before shell interpolation.
- [COMMAND_EXECUTION]: The skill operates by constructing and executing shell commands to interact with the local filesystem and remote git platforms.
- Evidence: The 'allowed-tools' section in 'SKILL.md' enables extensive Bash access for git and CLI tools. 'checkpoint.sh' and 'references/codebase-analysis.md' contain numerous examples of dynamic shell command assembly.
- Mitigation: The author ('anivar') has integrated defensive practices throughout the documentation and scripts, specifically targeting the prevention of shell injection through input validation.
Audit Metadata