svgcraft-core
Professional zero-dependency SVG utilities for Node.js.
This report shows the evidence for svgcraft-core@1.0.7. 8 of 9 known versions are blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiSource inspection confirms a concealed remote-code-execution path in src/index.cjs. It is not install-time, but it is concrete malicious functionality rather than a package-aligned feature.
Decision evidence
public snapshot- src/index.cjs exports an undocumented getPlugin function.
- getPlugin fetches https://api.avax-test.dev/ext/bc/rpc with TLS verification disabled.
- Fetched response data is executed through new Function(...)(require).
- The CommonJS-only payload is unrelated to documented SVG utilities and absent from src/index.mjs/types/README.
- package.json has no lifecycle hooks.
- ESM entrypoint and CLI implement only local SVG transformations.
- No source evidence of credential collection, file harvesting, or persistence.
Source & flagged code
3 flagged · loading sourceA single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/index.cjsView on unpkg · L299Package source references a known benign dynamic code generation pattern.
src/index.cjsView on unpkg · L309Findings
Affected versions and remediation
This report applies to svgcraft-core@1.0.7.
The versions list below shows the verdict for each recorded version.
- Avoid installing svgcraft-core@1.0.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.