docs-update
Pass
Audited by Gen Agent Trust Hub on Jul 12, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill operates by ingesting and processing arbitrary files from the user's repository, which creates an indirect prompt injection surface.
- Ingestion points: The skill reads repository content using the
Read,Glob, andGreptools during the '探测文档布局' (Phase 0) and '派发撰写子代理' (Phase 2) stages as described inSKILL.md. - Boundary markers: No specific delimiters or instructions to ignore instructions embedded within the ingested code (e.g., within comments or docstrings) are implemented to protect the agent's logic.
- Capability inventory: The skill has access to powerful tools including
Write,Edit,Bash, andAgentas defined in theallowed-toolssection ofSKILL.md. - Sanitization: The instructions do not mention sanitizing or escaping the content retrieved from external files before it is passed to subagents or processed into documentation.
- [COMMAND_EXECUTION]: The skill is configured with the
Bashtool and interpolates user-provided input via the$ARGUMENTSvariable inSKILL.md. - While the skill logic encourages using native tools for file exploration, the availability of the shell tool combined with direct argument injection provides a standard surface for unintended command execution.
Audit Metadata