svg-brand-tint-ops
Warn
Audited by Snyk on Jul 9, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 0.85). Required workflow ingests outsider-authored free text when the user clicks “Paste SVG code” (prompt text via
prompt()), thensetSVG(text)parses that SVG markup and injects it into the DOM/inline SVG context (e.g.,assets/index.html→pasteSVG()→setSVG()→document.adoptNode(svg)), which is then used to build/export content; there is no LLM call here, but the runtime context is still fed with outsider free text.
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata