date-fns-scripts (npm) · Malicious Code
Affects date-fns-scriptsSource GCVE Database
Malicious package : remove date-fns-scripts and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 11:28 UTC
Malicious package
Published to npm · OSV MAL-2026-1704
What to do
Remove date-fns-scripts 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-fns-scriptspkg:npm/date-fns-scriptsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ae8c5ce8aaa40b0479646a8cd09a5a83b803e857a64de372621002edcb2e27cd) The package date-fns-scripts was found to contain malicious code.