illustration-framed-panel
Warn
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/render.mjsusesexecSyncto execute the shell commandnpm root -g. This is used to programmatically determine the global Node.js package installation directory.\n- [DYNAMIC_EXECUTION]: Thescripts/render.mjsscript performs dynamic module loading by usingimport()on file paths constructed at runtime. This logic is used to locate the Playwright library across multiple potential system paths.\n- [INDIRECT_PROMPT_INJECTION]: The skill contains an attack surface for indirect injection as it processes SVG data using Node.js scripts and browser automation.\n - Ingestion points: SVG files are read as text by
scripts/lint.mjsandscripts/render.mjs.\n - Boundary markers:
scripts/lint.mjsincludes regex patterns designed to detect and fail on SVGs containing<script>,<image>,external href, orurl()references.\n - Capability inventory: The toolkit includes file system access (
fs), shell command execution (execSync), and browser automation (Playwright).\n - Sanitization: The
scripts/lint.mjsutility acts as a security filter for SVG content generated or handled by the agent.
Audit Metadata