MAL-2026-17160 Malicious code in simple-date-formatter-new-14 (npm)
Malicious package
Published
MAL-2026-17160 is a malicious package: simple-date-formatter-new-14 (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-17160/ (Markdown: https://insights.sbomify.com/MAL-2026-17160/index.md)
- Package
- simple-date-formatter-new-14
- Registry
- npm
What is MAL-2026-17160?
MAL-2026-17160 is a malicious package in simple-date-formatter-new-14, published on 24 Sep 2026.
Official description
The package presents itself as a date-formatting utility (index.js is a 160-byte formatDate stub) but the published tarball contains an SSH-key exfiltration payload and an install-time DNS beacon. package.json declares a postinstall lifecycle script that runs 'nslookup 9e954818.log.dnslogs.dpdns.org', causing every installer to beacon a per-package token to attacker-controlled DNS logging infrastructure at install time, leaking installer presence and resolver IP. A sibling postinstall.js reads ~/.ssh (enumerating.pub files and related host/user identifiers) and POSTs the collected data over HTTPS to a hardcoded bare IP endpoint at https://124.221.154.135/post; comments in the file describe SSH key theft and C2 exfiltration. The name-collision between the declared postinstall hook and the stealer filename, combined with the empty author field and typosquat-style package name, is consistent with a disposable supply-chain payload.
What should I do about MAL-2026-17160?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.