svgson-lite
Tiny zero-dependency SVG helper for Node.js
This report shows the evidence for svgson-lite@1.0.3. 9 of 9 known versions are blocked or flagged. The newest version, 1.0.8, is blocked. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiSource inspection confirms a reachable exported function in index.js fetches remote content and evals it, which is not package-aligned for a zero-dependency SVG helper. Although there is no install-time execution, the user-invoked exported RCE path is concrete malicious behavior.
Decision evidence
public snapshot- index.js defines getPlugin() that fetches https://shorturl.at/147uq and parses JSON.
- index.js executes remote response field data.model with eval(data.model).
- getPlugin is exported in the default export from main entrypoint index.js.
- Remote code execution is unrelated to SVG helper functions and hidden behind plugin-like name.
- package.json has no install/preinstall/postinstall lifecycle hooks.
- Remote fetch/eval is not invoked automatically at import time; activation requires calling default.getPlugin().
- No local credential/file harvesting, persistence, or destructive filesystem code observed in package source.
Source & flagged code
3 flagged · loading sourceSource fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.
index.jsView on unpkg · L82A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
index.jsView on unpkgFindings
Affected versions and remediation
This report applies to svgson-lite@1.0.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing svgson-lite@1.0.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.