png-to-svg
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied image files (PNG/JPEG) through a multi-step pipeline involving
imagemagick,potrace, andpython3. While the goal is image conversion, processing untrusted binary files through external tools creates a surface for indirect injection if the tools themselves or the scripts parsing their output are vulnerable to specially crafted metadata or file structures. - Ingestion points: Ingests user-provided image files (
input.png) via thescripts/png2svg.shscript. - Boundary markers: None. The script directly processes the file content using shell and Python commands.
- Capability inventory: The skill has significant capabilities including file read/write, shell execution (
magick,potrace), and dynamic execution of Python snippets to manipulate SVG content. - Sanitization: The script performs basic validation (checking if file exists), but does not sanitize the contents of the image files against potential parser exploits in
imagemagickorpotrace(e.g., ImageTragick-style vulnerabilities). - [COMMAND_EXECUTION]: The skill relies on executing external binaries (
magick,potrace) and invokespython3with dynamically generated strings in thetrace_single_colorandcomposite_svg_layersfunctions. While the variables being interpolated are largely controlled (colors, filenames), this represents a pattern of dynamic execution that requires caution when handling user-provided filenames.
Audit Metadata