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

zer0one-dnslognpm

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

MAL-2026-5366
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall zer0one-dnslog

What this malware does

The package is published as a 'simple date formatting utility' but ships a postinstall payload that, on npm install, runs a curl pipeline against cloud instance-metadata services to harvest temporary IAM credentials and internal SSRF data, then POSTs the collected output to an attacker-controlled out-of-band host. Specifically, postinstall.js issues curls to AWS metadata at 169.254.169.254 (IAM security-credentials path), Aliyun at 100.100.100.200, Tencent at metadata.tencentyun.com / 169.254.0.23, and Meituan-internal mtsrc-test.sankuai.com, writes the responses to /tmp/aws.txt, /tmp/ali.txt, /tmp/tx.txt, /tmp/tx2.txt, and uploads them via curl -X POST to https://h4mx6b7krgzarfehbutwabxbu20tojc8.oastify.com/metadata along with a listing of /data/. package.json declares "postinstall": "node postinstall.js", so the harvest fires automatically on default install. On any cloud build host or CI runner this leaks role credentials with full AWS/Aliyun/Tencent access. The advertised purpose mismatches the shipped behavior (index.js is a one-line hello stub), confirming the package is a lure for credential theft, not a date utility.

The OpenSSF Package Analysis project identified 'zer0one-dnslog' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.

Malicious versions

10 flagged
1.0.01.0.11.0.21.0.31.0.41.0.51.0.61.0.71.0.81.0.9

Indicators of compromise (SHA-256)

61ff41f8e8f8f87ab7d1d60d8bed288957cbfa3352dfc6478b12f628c93c51c9
c2cc8de5d9d6de7b0ab31f591bd6418cc0d482117f5f952df04deaba89672134
e9add80ac470cd19bebab26fe48f5a57944ceb11e4f5f5580c45b1b1055da86a
14c7974b91fefdaeda12ecae9ba56b695a3175660a5b909e1fd1d690ac00b333
1737c20fc87ad17964764d878c29cd4aa0904cd89167b4a75a047dbea57ed181
3436b4a0b68bee759a63e400555a990d224dc978a19ddcfdb9b94c2dd96d986f
903c45d49e6716373a67196c41e8acfbf8afa3320a635380ffe3403e8f127605
02da6de040acd0c673cf660c84536fb07f0ef7d1e4c15a0159dd27e8e0466993
3714936a86eec93a75462059eb29f23ceaefec05fd66d658ddc6baf15470d8b4
75a6ef3f1d10306e18575a6cab188fdece0b2343588dec03968b65288190c0c0
929b37abcbef3fb43b3aaeec29e917240e6a69c5dbd84a64082f09df1b97dee7
a8112adecee9cb8de528b88755300c268ec9a5cd2d2d427f951d23cbfd961abc

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for zer0one-dnslog (10 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging zer0one-dnslog across your stack and pipelines.

  2. If you installed it — respond

    zer0one-dnslog is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If zer0one-dnslog was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks zer0one-dnslog before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. zer0one-dnslog on npm has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, and 2 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005335IN-MAL-2026-005336IN-MAL-2026-005333IN-MAL-2026-005340IN-MAL-2026-005337IN-MAL-2026-005332IN-MAL-2026-005338IN-MAL-2026-005331IN-MAL-2026-005339IN-MAL-2026-005334IN-MAL-2026-005330

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks zer0one-dnslog-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

zer0one-dnslog (npm) malicious package — MAL-2026-5366 | O3 Security