critique
Pass
Audited by Gen Agent Trust Hub on Jul 7, 2026
Risk Level: SAFE
Full Analysis
- [PROMPT_INJECTION]: The skill instructs a sub-agent to adopt a specific persona ("senior staff engineer in a bad mood") to ensure a rigorous and adversarial code review. This use of role-play is functional for the skill's primary purpose and does not attempt to bypass core safety guardrails or extract system prompts.
- [COMMAND_EXECUTION]: The skill utilizes the Bash tool to execute standard git commands (
git diff,git log,git status) and utilizesReadandGrepfor file inspection. These operations are limited to gathering the context necessary for reviewing code changes in a repository. - [SAFE]: The skill possesses a surface for indirect prompt injection because it processes untrusted data (code diffs and commit messages). The implementation includes mitigations such as instructing the reviewer to be suspicious and explicitly forbidding the sub-agent from editing code or writing files.
- Ingestion points: The outputs of
git diff,git log, andgit statusare passed directly into the sub-agent prompt. - Boundary markers: The reviewer prompt uses clear labels like
Diff:,Commits:, andUntracked:to separate instructions from the data being analyzed. - Capability inventory: The skill has access to
Bash,Read,Grep, andAgenttools. The sub-agent prompt explicitly restricts write capabilities ("Modify no code, write no files"). - Sanitization: There is no evidence of specific escaping or sanitization of the git output content before it is processed.
Audit Metadata