vite-svg-config
A lightweight React utility for fetching, validating, and managing SVG icons from CDN sources.
This report shows the evidence for vite-svg-config@1.1.2. 2 of 2 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe package has no install hook, but its normal exported runtime path silently installs and executes an unrelated external package. The obfuscation, hidden subprocess output, and dynamic second-stage execution establish malicious supply-chain behavior.
Decision evidence
public snapshot- Encoded value decodes to a silent npm install of node-config-svg-contract with --no-save.
- SVG validation spawns that decoded command with hidden output.
- After the child exits, it dynamically requires node-config-svg-contract and invokes its getPlugin/setPlugin export.
- Exported getPlugin/setPlugin recursively trigger the installer for user-selected SVG files.
- package.json has no preinstall, install, or postinstall lifecycle hook.
- No direct credential harvesting, file writes, or network endpoint is present in this package source.
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-config@1.1.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing vite-svg-config@1.1.2. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.