ollama-review
Pass
Audited by Gen Agent Trust Hub on May 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes dynamic context injection (
!commandsyntax) in theSKILL.mdfile to check for the availability of theollamaexecutable and to read a configuration file located at~/.claude/pza-ollama-modelduring the skill loading phase. - [COMMAND_EXECUTION]: The skill uses
node -eto execute inline Javascript code for the purpose of extracting and validating JSON structures from the review results. - [PROMPT_INJECTION]: The skill has an indirect prompt injection surface because it processes untrusted data (git diffs and untracked file contents) and interpolates them into a prompt for the Ollama model. While it includes 'Core Constraints' and instructions to stay in 'review-only' mode, it lacks explicit sanitization or boundary markers (beyond simple heredocs) to prevent malicious instructions within the reviewed code from influencing the agent's behavior.
- Ingestion points: Git diff output and untracked file contents are read via
git diffandhead(Step 1). - Boundary markers: The skill uses
EOFPROMPTheredocs to wrap the prompt and diff content (Step 2). - Capability inventory: The skill can execute arbitrary shell commands via
Bashand interact with the user viaAskUserQuestion. - Sanitization: No explicit sanitization or filtering of the code content is performed beyond file type filtering and budget-based truncation.
Audit Metadata