Skip to main content
MalwarePublished

neverthrow-core (npm) · Malicious Code

Affects neverthrow-coreSource GCVE Database

0

Malicious package : remove neverthrow-core and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:15 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14283

What to do

Remove neverthrow-core 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

ProductAffectedFixed in
npmneverthrow-coreAffected
  • =1.1.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The neverthrow-core@1.1.2 package on npm is a typosquatting malicious package impersonating the legitimate neverthrow library. It contains a preinstall script that automatically executes during npm install, which downloads and runs a potentially harmful payload from an anonymous Dropbox URL without any integrity verification. The malicious code is hidden in the CommonJS bundle and not present in the ESM build, making detection harder. The package metadata is copied to appear legitimate, increasing the risk of accidental installation.

References

Community reviews

Loading reviews…