Documentation Skill
Pass
Audited by Gen Agent Trust Hub on Mar 2, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes arbitrary code content provided through the
${file}and${selection}variables. - Ingestion points: External code content is interpolated into
prompts/generate-docs.prompt.mdfor analysis and documentation generation. - Boundary markers: Absent. The prompt does not utilize delimiters (e.g., XML tags or backticks) to isolate the code content or include instructions for the agent to ignore embedded commands.
- Capability inventory: The agent has access to
search,edit, andreadtools, which could be abused if malicious instructions are followed. - Sanitization: Absent. There is no evidence of input validation or escaping of the code being processed.
Audit Metadata