date-uuid (npm) · Malicious Code
Affects date-uuidSource GCVE Database
Malicious package : remove date-uuid and rotate any secrets on hosts that installed it.
Data as of 10 Jul 2026, 13:07 UTC
Malicious package
Published to npm · OSV MAL-2026-6566
What to do
Remove date-uuid 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 |
|---|---|---|
| npmdate-uuid | 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 'date-uuid' versions 1.0.0 and 1.0.1 contains malicious code that executes an attacker-controlled script. Upon import, it reads specific lines from the caller's README.md, reconstructs a URL, fetches a script from that URL, saves it as a temporary .vbs file, and executes it. This behavior is unrelated to the advertised UUID functionality and uses obfuscation techniques to evade detection.