Skip to main content
MalwarePublished Updated

datetime-toolkit (npm) · Malicious Code

Affects datetime-toolkitSource GCVE Database

0

Malicious package : remove datetime-toolkit and rotate any secrets on hosts that installed it.

Data as of 20 Aug 2026, 14:30 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5611

What to do

Remove datetime-toolkit 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
npmdatetime-toolkitAffected
  • 1.0.0 – 1.0.7
8 affected builds
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 'datetime-toolkit' is a malicious package that exfiltrates sensitive environment data immediately upon being imported or required. It encrypts and sends process environment variables, machine hostname, and timestamps to a remote server over unencrypted HTTP. The package uses obfuscation techniques to hide its malicious behavior. Installing or running this package compromises the host machine, risking exposure of secrets such as CI credentials, cloud keys, source tokens, and database passwords.

References

Community reviews

Loading reviews…