Skip to main content
MalwarePublished

crypto-validates (npm) · Malicious Code

Affects crypto-validatesSource GCVE Database

0

Malicious package : remove crypto-validates and rotate any secrets on hosts that installed it.

Data as of 10 Sep 2026, 13:38 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-16085

What to do

Remove crypto-validates 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
npmcrypto-validatesAffected
  • =0.0.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 npm package crypto-validates@0.0.2 contains malicious code that exfiltrates data by base64-encoding input to its validate function and sending it, along with random bytes generated by crypto.randomBytes, to a remote server. The package does not execute code on install or import, but performs data exfiltration on the first function call. It is published by the same author as other suspicious packages. Systems with this package installed should be considered fully compromised.

References

Community reviews

Loading reviews…