vite-config-svg
A lightweight React utility for fetching, validating, and managing SVG icons from CDN sources.
This report shows the evidence for vite-config-svg@1.1.7, the only known version.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe concealed runtime install and execution are unrelated to SVG validation and constitute a concrete malicious execution chain. Lack of an npm lifecycle hook limits activation to explicit API use but does not remove the risk.
Decision evidence
public snapshot- index.js decodes and silently spawns `npm install rollup-plugin-polyfill-helper`.
- getPlugin/setPlugin trigger that install for each discovered SVG.
- The installed package is dynamically required and its methods invoked.
- package.json has no lifecycle hook; the behavior is hidden behind exported APIs.
- No install-time execution is declared in package.json.
- No direct credential harvesting or exfiltration is present in package source.
Source & flagged code
3 flagged · loading sourceSource file is highly similar to a previously finalized malicious package; route for source-aware review.
index.jsView on unpkgSource fingerprint signature matches a known malicious package signature; route for source-aware review.
index.jsView on unpkgPackage source references dynamic require/import behavior.
index.jsView on unpkg · L17Findings
Affected versions and remediation
This report applies to vite-config-svg@1.1.7.
The versions list below shows the verdict for each recorded version.
- Avoid installing vite-config-svg@1.1.7. 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.