svg-precision-skill
Warn
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The skill supports an
imageelement inscripts/svg_skill/core.pythat accepts arbitraryhrefvalues from the input specification. When the resulting SVG is rendered using thecairosvglibrary inscripts/svg_skill/render.py, the renderer may attempt to access local files or internal network resources if thehrefpoints to sensitive paths or internal IPs. - [DYNAMIC_EXECUTION]: The validation component in
scripts/svg_skill/validate.pyuses the standardxml.etree.ElementTreelibrary to parse SVG content. This parser is vulnerable to XML External Entity (XXE) attacks and XML-based denial-of-service (such as the 'Billion Laughs' attack) because it does not disable entity expansion by default. - [INDIRECT_PROMPT_INJECTION]: The skill processes structured JSON data that directly influences file system access and rendering engine behavior.
- Ingestion points: Data enters via specification files read by
scripts/svg_cli.pyand processed inscripts/svg_skill/core.py. - Boundary markers: None; the skill lacks delimiters or instructions to prevent the processing of malicious content embedded within the specification.
- Capability inventory: The skill provides capabilities for file writing, file reading, and rendering through
cairosvg, which performs complex processing of XML and CSS. - Sanitization: While numeric values are validated, there is no sanitization of URI schemes or string content in
hrefattributes, allowing the injection of dangerous file or network paths.
Audit Metadata