datefmt-core-utils (npm) · Malicious Code
Affects datefmt-core-utilsSource GCVE Database
Malicious package : remove datefmt-core-utils and rotate any secrets on hosts that installed it.
Data as of 14 Aug 2026, 16:52 UTC
Malicious package
Published to npm · OSV MAL-2026-14031
What to do
Remove datefmt-core-utils 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 |
|---|---|---|
| npmdatefmt-core-utils | 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 datefmt-core-utils version 1.0.0 contains malicious code in its postinstall script. Upon installation, it opens a TCP connection to a hardcoded remote IP and provides an interactive shell to the attacker, effectively allowing remote code execution. The package's advertised date-formatting functionality is a cover for this backdoor behavior.