@ornikar/jest-config-react-native
✅⚛️📱 jest config for react-native
This report shows the evidence for @ornikar/jest-config-react-native@17.0.3. 11 of 11 known versions are blocked or flagged. The newest version, 17.0.12, is blocked. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThe lifecycle script is unrelated to a Jest configuration package and deliberately launches an obfuscated credential-capable payload at preinstall. The conventional preset files do not mitigate this concrete malicious chain.
Decision evidence
public snapshot- package.json runs `node setup.mjs` as preinstall.
- setup.mjs downloads/executes Bun, then executes math_init.js.
- math_init.js is heavily obfuscated and contains remote-response eval.
- math_init.js contains credential-harvesting logic, including GitHub tokens and .aws.
- The preinstall chain executes without a user command.
- jest-preset.js is a conventional Jest preset.
- The Bun download host is github.com/oven-sh/bun.
Source & flagged code
4 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/jest-config-react-native@17.0.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing @ornikar/jest-config-react-native@17.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.