critique
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPRIVILEGE_ESCALATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from changelist descriptions and review comments (Ingestion points: SKILL.md, references/presubmit.md). It incorporates strong defensive instructions (Boundary markers: warnings in SKILL.md to trust system metadata headers over user-controlled descriptions). Capabilities include modifying CLs and approvals (Capability inventory: critique mutate, g4 mail, g4 approve). The skill mandates human verification before applying suggested code fixes (Sanitization: human-in-the-loop requirement).
- [COMMAND_EXECUTION]: The skill documentation describes the use of various internal CLI tools (e.g., critique, g4, hg, jj, blaze) for version control and review tasks. These operations are core to the skill's functionality and are documented with clear usage constraints and safety warnings.
- [PRIVILEGE_ESCALATION]: The skill's setup instructions include a sudo apt install command for the gemini-agents-critique package. This is presented as a manual, one-time environment configuration step for the user and not as an action for the agent to perform autonomously during task execution.
Audit Metadata