exporting-to-png
Pass
Audited by Gen Agent Trust Hub on Aug 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute several local command-line tools for image conversion.
- Tools include
silicon,inkscape,convert(ImageMagick),termshot, anddocker. - It uses
docker runwith volume mounting (-v "$(pwd)":/data) to run themermaid-clicontainer, which provides access to the current working directory. - [EXTERNAL_DOWNLOADS]: The skill uses
npxto fetch and execute packages at runtime. - It references
@mermaid-js/mermaid-cliandplaywrightfor rendering tasks. These are well-known and reputable packages used for their intended purpose. - [DYNAMIC_EXECUTION]: The skill utilizes
node -eto execute inline JavaScript snippets. - These snippets use the
puppeteerandsharplibraries to handle HTML rendering and SVG conversion. The logic is hardcoded and scoped to conversion tasks. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data formats that could contain malicious instructions.
- Ingestion points: Reads HTML, SVG, Code snippets, and Mermaid diagram definitions from the workspace (SKILL.md).
- Boundary markers: None identified. Instructions do not specify delimiters for untrusted content.
- Capability inventory: Executes shell commands via
npx,node, anddockeracross multiple methods. - Sanitization: No evidence of input sanitization or validation before rendering or conversion. This surface could be exploited if an attacker provides malicious HTML/SVG designed to influence the agent if it processes the rendered output.
Audit Metadata