md-to-png
Pass
Audited by Gen Agent Trust Hub on Aug 7, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/md_to_png.pyusessubprocess.runto call a secondary screenshot script (html-cut). The command is executed using a list of arguments rather than a raw shell string, which significantly reduces the risk of command injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Markdown content provided by the user, which presents a surface for indirect prompt injection. The skill includes basic HTML escaping to mitigate rendering-based attacks, though it lacks explicit boundary markers.
- Ingestion points: The script
scripts/md_to_png.pyreads local Markdown files provided via command-line arguments. - Boundary markers: The skill does not implement boundary markers or instructions to ignore instructions embedded within the Markdown files.
- Capability inventory: The skill has the capability to read local files, write temporary HTML files, and execute subprocesses.
- Sanitization: The script performs manual HTML escaping of special characters (
<,>,&) in the_escape_htmlfunction before interpolating content into the HTML template.
Audit Metadata