generating-infographics
Warn
Audited by Gen Agent Trust Hub on Mar 17, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The file
lib/dom-setup.jsconfigures thejsdomenvironment with therunScripts: 'dangerously'option. This setting allows any JavaScript code contained within processed SVG templates or user-provided data to execute within the virtual DOM context on the host system. - [COMMAND_EXECUTION]: The skill uses the
puppeteerlibrary inlib/exporter.jsto perform rendering tasks. It launches a headless Chrome instance with the--no-sandboxargument, which bypasses a critical security boundary. This poses a risk if the rendering engine is exposed to malicious content that could exploit browser vulnerabilities. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection. It accepts untrusted data via the
generate.jsCLI andlib/validation.jswhich is then interpolated into SVG templates. Maliciously crafted input data could contain scripts or structural changes intended to manipulate the rendering process or the output of the agent.
Audit Metadata