MAL-2026-12201 Malicious code in simple-date-formatter-util-12 (npm)
Malicious package
Published
MAL-2026-12201 is a malicious package: simple-date-formatter-util-12 (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-12201/ (Markdown: https://insights.sbomify.com/MAL-2026-12201/index.md)
- Package
- simple-date-formatter-util-12
- Registry
- npm
What is MAL-2026-12201?
MAL-2026-12201 is a malicious package in simple-date-formatter-util-12, published on 5 Aug 2026.
Official description
package.json declares a postinstall script that, on npm install, collects installer reconnaissance (id, hostname, uname, cgroups, docker.sock, Linux capabilities, the Kubernetes service-account token at /var/run/secrets/kubernetes.io/serviceaccount/token, mounts, network config, ARP, PID1 cmdline, and environment variables filtered for kube/aws/token/secret/key/pass/role/region/cluster) and POSTs the collected data over plain HTTP to a Project Discovery interact.sh subdomain (http://ycrqyyjhwepdmhjifyccxss1hrks8lcd2.oast.fun/escinfo). The tarball also ships postinstall.js which enumerates the user's ~/.ssh directory and POSTs the contents plus username/platform to a hardcoded IP (https://124.221.154.135/post). The advertised functionality is a one-line formatDate wrapper around toLocaleDateString in index.js, which serves only as a cover for the malicious install-time payload.
What should I do about MAL-2026-12201?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.