write-docs
Warn
Audited by Gen Agent Trust Hub on Jun 20, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill includes several Python snippets designed for verification and instructs the agent to execute them using an evaluation tool. Specifically,
references/source-map.mdcontains code to validate documentation frontmatter usingpathlibandPyYAML, whilereferences/verify.mdprovides a script for checking internal link consistency across thedocs/directory. The skill also executes a series of shell commands, includinggit rev-parse,git add, andgit commit, as part of its core documentation workflow. Furthermore, it suggests using shell commands likefindto check for CLI subcommand parity within the source tree. - [PROMPT_INJECTION]: The skill exhibits a significant attack surface for indirect prompt injection because it parses and documents the entire codebase of the repository it is running in.
- Ingestion points: The skill reads from various directories including
cmd/,internal/,pkg/, andsrc/, as well as configuration files likego.mod,package.json, orCargo.tomland existing project documentation. - Boundary markers: No specific delimiters or safety instructions are provided to the agent to distinguish between its operational instructions and the potentially malicious data contained within the source code files being read.
- Capability inventory: The agent possesses high-impact capabilities, including shell access for Git operations and the ability to execute arbitrary Python code via the provided scripts.
- Sanitization: The skill lacks mechanisms to sanitize or validate the content extracted from the source code, allowing data from the repository to directly influence the agent's logic and outputs.
Audit Metadata