pixsvg
An image processing library for Node.js with SVG read, write, rasterize, and markup transforms.
This report shows the evidence for pixsvg@0.2.0, the only known version.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThe exported hidden-SVG evaluator is a concrete arbitrary-code-execution capability and is not needed for SVG processing. Although it has no install hook or observed exfiltration, its deliberate concealment and use of eval warrant blocking publication.
Decision evidence
public snapshot- The package decodes a binary payload from an SVG comment and evaluates it as JavaScript.
- The arbitrary-code executor is exported from the main ESM entry point.
- The hidden payload format is unrelated to the stated SVG image-processing functionality.
- No npm install lifecycle hook is declared.
- No package-owned network endpoint, credential collection, or file-writing behavior was found.
Source & flagged code
4 flagged · loading sourceThe package decodes a binary payload from an SVG comment and evaluates it as JavaScript.
dist/esm/svg.jsView on unpkg · L22Package source references a known benign dynamic code generation pattern.
dist/esm/svg.jsView on unpkg · L27A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
Findings
Affected versions and remediation
This report applies to pixsvg@0.2.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing pixsvg@0.2.0. 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.