google3
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes internal tools including
g4,hg, andjjfor version control, andcs/csearchfor code search. These are standard tools for managing source code within the expected Google3 environment. - [INDIRECT_PROMPT_INJECTION]: The skill provides mechanisms for the agent to ingest data from a shared internal repository, which is a potential surface for indirect instructions.
- Ingestion points: The agent reads source code, changelist descriptions, and internal documentation (g3doc) using
cat,g4 describe, andcstools. - Boundary markers: Instructions are provided to use specific query filters to limit search results, though explicit prompt delimiters for file content are not defined.
- Capability inventory: The skill allows file reading, repository navigation, and version control operations (commit, upload, mail, submit).
- Sanitization: No specific sanitization or escaping of the ingested code or documentation is described.
- [SAFE]: The instructions include multiple safety checkpoints, strictly requiring explicit user confirmation before executing destructive or irreversible commands like
g4 submit,g4 mail, andg4 citc -d. It also correctly configures environment variables to prevent interactive tools from hanging in non-interactive agent shells.
Audit Metadata