jest-macos (npm) · Malicious Code
Affects jest-macosSource GCVE Database
Malicious package : remove jest-macos and rotate any secrets on hosts that installed it.
Data as of 17 Nov 2026, 23:04 UTC
Malicious package
Published to npm · OSV MAL-2026-6166
What to do
Remove jest-macos from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmjest-macos | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package jest-macos is a malicious React Native component involved in a coordinated campaign using 37 packages. It exfiltrates app install and conversion attribution data to attacker-controlled domains and uses cloaking techniques to evade App Store review. The package name is deceptive and the malicious logic is obfuscated. Both attacker domains are currently unregistered, posing a takeover risk. Any system with this package installed should be considered fully compromised.