@ornikar/react-native-svg-transformer
SVG transformer for react-native - fork of kristerkari
This report shows the evidence for @ornikar/react-native-svg-transformer@1.0.11. 8 of 8 known versions are blocked or flagged. The newest version, 1.0.13, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe preinstall payload is unrelated to the declared transformer and provides concrete remote payload execution plus credential-oriented behavior. This is malicious install-time behavior.
Decision evidence
public snapshot- package.json runs setup.mjs via preinstall.
- setup.mjs downloads Bun and executes math_init.js.
- math_init.js is 728KB obfuscated install payload.
- math_init.js fetches data and evals its data field.
- math_init.js references ghtoken and child_process.
- index.js is a normal SVG transformer.
- No malicious behavior is present in index.js.
Source & flagged code
3 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references a known benign dynamic code generation pattern.
math_init.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @ornikar/react-native-svg-transformer@1.0.11.
The versions list below shows the verdict for each recorded version.
- Avoid installing @ornikar/react-native-svg-transformer@1.0.11. 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.