html-to-md
Pass
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses a local Node.js script (
scripts/html-to-md.mjs) to perform file conversions. This script utilizes standard Node.js built-in modules (fsandpath) to read input files and write output files. The execution is confined to local operations initiated by the agent. - [PROMPT_INJECTION]: The skill presents a surface for indirect prompt injection. It is designed to ingest untrusted HTML data, transform it, and present the output to the AI agent. Malicious instructions hidden in source HTML could influence the agent's behavior during subsequent processing of the Markdown output.
- Ingestion points: Content is read from user-provided
.htmlor.htmfiles via thescripts/html-to-md.mjsscript. - Boundary markers: Absent. There are no instructions or delimiters in the conversion process to warn the agent about potentially malicious instructions within the converted content.
- Capability inventory: The script has full read and write access to the file system paths provided to it.
- Sanitization: The script includes proactive sanitization by stripping
<script>and<style>tags and removing HTML comments. However, it does not filter or sanitize the actual text content of paragraphs and other elements for prompt injection payloads that might target the LLM.
Audit Metadata