hand-drawn-report
Pass
Audited by Gen Agent Trust Hub on Aug 5, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted markdown content, creating a surface for indirect prompt injection where malicious instructions or scripts could be embedded in the data.
- Ingestion points: The
render_report.tsentry point reads user-provided Markdown content from the file system usingDeno.readTextFile. - Boundary markers: The skill converts Markdown into a standalone HTML file. It uses distinct components like
renderMarkdownandhastToHtmlto manage the conversion process. - Capability inventory: The skill requires high permissions (
deno run -A) to perform file system operations, including reading input and writing output (Deno.writeTextFileinrender_report.ts). The documentation also suggests the agent execute platform-specific commands (open,xdg-open,start) to display the final report. - Sanitization: While the skill implements HTML escaping for metadata (title, author, subtitle) in
lib/report_generator.tsandlib/hast_to_html.ts, the HAST-to-HTML pipeline inlib/hast_to_html.tsexplicitly includes arawnode type that returns values without escaping. If the Markdown parser (satteri) preserves HTML blocks from the input, these could be rendered directly into the output report, enabling cross-site scripting (XSS) if the report is viewed in a browser environment.
Audit Metadata