git-review
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external data in the form of git diffs, which could contain malicious instructions embedded in source code or commit messages designed to influence the AI's behavior.
- Ingestion points: Content is gathered via
git diffand file reads inscripts/git-review.py. - Boundary markers: The output is structured with specific headers and file markers (e.g.,
=== filename (status) ===) to distinguish diff content from metadata. - Capability inventory: The skill utilizes file system tools (Read, Write, Edit), git, and terminal interaction capabilities to process and act on these annotations.
- Sanitization: While the script cleans technical metadata from the diff for readability, it does not sanitize the actual code content against adversarial instructions.
- [COMMAND_EXECUTION]: The script executes various system commands to manage the interactive review process.
- It invokes
gitfor repository operations and interacts with terminal emulators (agterm, tmux, kitty, wezterm) to provide an overlay editor interface. - The script employs
shlex.quoteto escape command arguments andshutil.whichto resolve binary paths, which helps prevent command injection via environment variables like$EDITOR.
Audit Metadata