vite-svg-parse
A lightweight React utility for fetching, validating, and managing SVG icons from CDN sources.
This report shows the evidence for vite-svg-parse@1.1.3. 1 of 2 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiDirect inspection confirms a reachable obfuscated npm-install-and-execute path in index.js. The absence of install hooks limits automatic activation but does not remove the concrete runtime RCE behavior.
Decision evidence
public snapshot- index.js decodes and spawns `npm install node-internal-svg-loader`.
- The installed module is dynamically required and its getPlugin/setPlugin method is invoked.
- Both exported recursive SVG scanners trigger that chain for user-supplied paths.
- Child process output is suppressed and Windows execution is hidden.
- package.json has no preinstall/install/postinstall lifecycle hook.
- No credential collection or exfiltration is present in the inspected files.
Source & flagged code
5 flagged · loading sourceSource decodes numeric character arrays into a child-process package-runner command and executes it.
index.jsView on unpkg · L17A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
index.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
index.jsView on unpkgFindings
Affected versions and remediation
This report applies to vite-svg-parse@1.1.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing vite-svg-parse@1.1.3. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.