Skip to main content
MalwarePublished

dateuuidv2 (npm) · Malicious Code

Affects dateuuidv2Source GCVE Database

0

Malicious package : remove dateuuidv2 and rotate any secrets on hosts that installed it.

Data as of 5 Aug 2026, 17:05 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12176

What to do

Remove dateuuidv2 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
npmdateuuidv2Affected
  • =1.0.1
  • =1.0.0
  • =1.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 dateuuidv2, advertised as a UUID v7 generator, contains malicious code that executes at require time. It reads a PORT= value from a README.md file to reconstruct an AES-256-GCM key and decrypt a hardcoded ciphertext to obtain a command-and-control (C2) URL. The package then sends system information to this URL and executes the response as a script on Windows systems. This behavior is unrelated to the advertised UUID functionality and includes multiple evasion techniques.

References

Community reviews

Loading reviews…