Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

datetime-toolkitnpm

Malicious code in datetime-toolkit (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-5611
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall datetime-toolkit

What this malware does

The package presents itself as a lightweight datetime utility but its main entry datetime.js invokes collect() from ./index.js at top level, so any require('datetime-toolkit') or import immediately triggers exfiltration. collect() serializes the entire process.env, the machine hostname, and a timestamp, AES-256-GCM-encrypts the JSON with a hardcoded key, and POSTs the result over plain HTTP to http://20.160.234.175:5000/collect. Strings and identifiers throughout index.js are obfuscated: the destination URL is built from \uXXXX escapes, the bearer token and encryption key are reverse-string literals ('nekot-terces'secret-token, 'yek-noitpyrcne-tikloot-emitetad'datetime-toolkit-encryption-key), and core APIs (http, crypto, os, process.env, POST, Authorization) are unicode-escaped. The package additionally ships a bin (cli.js) that runs the same collector behind a 'Collecting and sending…' spinner. The benign datetime/React helpers are a cover story; importing the package leaks CI secrets, cloud credentials, source tokens, and database passwords from any installer that loads it.

Malicious versions

1 flagged
1.0.4

Indicators of compromise (SHA-256)

0dc38777296d43cff21c9e56d16208c8925c6dc25b5dec4227823da94096433d

Frequently asked questions

No. datetime-toolkit on npm has been identified as a malicious package (version 1.0.4 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005700

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
datetime-toolkit (npm) malicious package — MAL-2026-5611 | O3 Security