fec-image-generation

Pass

Audited by Gen Agent Trust Hub on Oct 28, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill invokes local command-line tools like the Mermaid CLI (mmdc), ImageMagick (magick), and FFmpeg for rendering and format conversion. These calls are made using spawnSync with arrays of arguments, which is the recommended secure way to handle subprocess execution in Node.js.
  • [DYNAMIC_EXECUTION]: Headless Chromium-based browsers are used to render SVG and HTML diagrams into raster images (PNG/JPG). The skill manages this process locally through the Chrome DevTools Protocol (CDP), launched with restricted settings and a fresh temporary user profile.
  • [INDIRECT_PROMPT_INJECTION]: The diagram rendering scripts process data that could be influenced by external inputs. To protect against XSS and other injection risks in the output files, the skill implements robust sanitization of labels, actors, and titles using HTML and XML entity encoding.
  • [SAFE]: The interactive diagram server and various export scripts utilize the system's temporary directory for transient data. All session identifiers and file paths are sanitized or validated to prevent path traversal, and the interactive server binds exclusively to the local loopback interface (127.0.0.1).
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 28, 2026, 01:16 AM