md-render
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests markdown data from files or standard input and converts it to HTML using the
markdown-itlibrary with thehtml: trueconfiguration. This creates a vulnerability where malicious instructions or scripts embedded in a document (e.g., via HTML tags) are rendered and executed in the browser context.\n - Ingestion points: Content is read from user-provided files or stdin in
scripts/md-renderandsrc/render.mjs.\n - Boundary markers: None. The skill does not implement delimiters or warnings to ignore instructions embedded within the document content.\n
- Capability inventory: The script
scripts/md-renderwrites rendered HTML to a temporary file and uses theopenorxdg-opencommands to launch the system's web browser.\n - Sanitization: Missing. The rendering logic in
src/render.mjsexplicitly enables HTML rendering and does not apply filtering or escaping to the input markdown.\n- [COMMAND_EXECUTION]: The Bash scriptscripts/md-renderexecutes theopencommand on macOS orxdg-openon Linux systems to automatically display the generated HTML file in a web browser.\n- [EXTERNAL_DOWNLOADS]: The skill downloads the Mermaid.js library from a well-known CDN at runtime to support diagram rendering. It also executesnpm installwithin its script to ensure its required Node.js dependencies are available.
Audit Metadata