image-to-svg
Pass
Audited by Gen Agent Trust Hub on Nov 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes local rendering binaries such as
rsvg-convertorcairosvgto generate PNG previews of the converted vector geometry. These operations are performed using explicit argument lists without a shell and are constrained to the skill's primary purpose of image conversion. - [DYNAMIC_EXECUTION]: Bundled Python scripts manage the execution of external image renderers via subprocess calls. The input SVG data is serialized and passed as standard input after being validated and sanitized by a custom internal parser.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted image and SVG data provided by users or other workflows.
- Ingestion points: Input raster and SVG files are loaded for inspection and conversion via
SKILL.mdand the validation scripts. - Boundary markers: While no explicit instruction-ignoring delimiters are used in the prompt construction, the skill enforces a strict data-only profile for SVG content.
- Capability inventory: The skill can execute local subprocesses for rendering and file writing via
scripts/render_svg.pyandscripts/normalize_svg.py. - Sanitization: The skill implements a custom XML
StaticTreeBuilderinscripts/svg_utils.pythat explicitly disables Document Type Definitions (DTDs) and processing instructions. It also uses a strict whitelist of permitted SVG tags and attributes to prevent XSS or XXE-style attacks.
Audit Metadata