octocode-documentation-writer
Pass
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: SAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted source code during its discovery and research phases, creating a potential surface for indirect prompt injection. However, the skill implements strong mitigations:
- Ingestion points: Files are read using
localGetFileContentandReadtools across multiple agents. - Boundary markers: The
Research Agentexplicitly wraps analyzed code content in<code_content>delimiters. - Capability inventory: The skill uses
TaskandTask_Parallelfor orchestration andWritefor file generation. - Sanitization: The
Research Agentinstructions include a mandatorycontent_boundary_protocolthat forbids following any instructions found within code comments or string literals, treating them strictly as evidence. - [REMOTE_CODE_EXECUTION]: The documentation provides instructions for setting up the
octocode-mcpserver usingnpx. This is a standard distribution mechanism for Node.js-based MCP servers and originates from the skill's own author (bgauryy). - [COMMAND_EXECUTION]: The skill makes extensive use of the
TaskandTask_Paralleltools to orchestrate its 6-phase pipeline. These calls are well-structured, use specific model hints, and include built-in retry and state preservation logic to ensure reliable execution without bypassing safety constraints. - [DATA_EXPOSURE]: The skill inherently requires access to the repository's source code to perform its primary function of generating documentation. It uses scoped tools like
localSearchCodeandlocalViewStructureto minimize unnecessary file access.
Audit Metadata