create-g3doc
Pass
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: The skill constructs and executes shell commands, including
mkdirand variousg4(source control) operations. These commands incorporate variables such as<username>,<workspace_alias>, and<project_name>derived from user input or environment variables. The lack of explicit escaping or validation for these variables could potentially allow for command injection if they contain shell metacharacters. - [INDIRECT_PROMPT_INJECTION]: The skill reads the content of existing
index.mdfiles within the CitC workspace to extract shortlinks and other metadata. This creates a vector where instructions embedded in those documents could influence the agent's behavior. - Ingestion points:
index.mdand other documentation files located in the CitC workspace paths. - Boundary markers: Absent; the skill does not use specific delimiters or instructions to ignore content within the processed files.
- Capability inventory:
mkdir,g4 add,g4 change,g4 upload,g4 submit(as documented inSKILL.md), andgoctlcommands (referenced via thego-linksskill). - Sanitization: Absent; the skill lacks validation for the content read from the documentation files.
- [PRIVILEGE_ESCALATION]: The skill is designed to automate the
g4 submitworkflow within theexperimental/users/depot path. This specific path is configured by the platform to allow self-approval of changes, bypassing the standard requirement for a peer review (LGTM). While this is a legitimate feature of the target environment, the automation of high-privilege submission workflows reduces human oversight of changes being committed to the repository.
Audit Metadata