html-doc
Pass
Audited by Gen Agent Trust Hub on Aug 19, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/html_doc.pyscript usessubprocess.runto execute external toolspandocandnode. The implementation uses list-based arguments without a shell, which is a secure method for executing system commands. - [EXTERNAL_DOWNLOADS]: The skill requires the installation of the
puppeteerand@mermaid-js/mermaid-clipackages from the NPM registry. These dependencies are version-locked inpackage.jsonand the script performs runtime verification of the installed versions to ensure integrity. - [SAFE]: The skill implements comprehensive protections against indirect prompt injection and XSS. Ingestion points: Markdown is processed from files or stdin. Boundary markers: The skill uses Pandoc for structured AST parsing. Capability inventory: Capabilities are restricted to controlled subprocess execution and atomic file operations. Sanitization: The rendering pipeline includes HTML escaping of raw blocks, protocol filtering for links (allowing only http, https, and mailto), and a strict allowlist for SVG elements and attributes. The generated pages also include a restrictive Content Security Policy (CSP).
Audit Metadata