skills/mai0313/skills/create-g3doc/Gen Agent Trust Hub

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 mkdir and various g4 (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.md files 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.md and 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 in SKILL.md), and goctl commands (referenced via the go-links skill).
  • Sanitization: Absent; the skill lacks validation for the content read from the documentation files.
  • [PRIVILEGE_ESCALATION]: The skill is designed to automate the g4 submit workflow within the experimental/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
Risk Level
SAFE
Analyzed
Sep 30, 2026, 12:50 PM