MAL-2026-12200 Malicious code in simple-date-formatter-util-11 (npm)
Malicious package
Published
MAL-2026-12200 is a malicious package: simple-date-formatter-util-11 (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-12200/ (Markdown: https://insights.sbomify.com/MAL-2026-12200/index.md)
- Package
- simple-date-formatter-util-11
- Registry
- npm
What is MAL-2026-12200?
MAL-2026-12200 is a malicious package in simple-date-formatter-util-11, published on 5 Aug 2026.
Official description
Package advertises itself as a trivial date-formatting utility (index.js exports a one-line formatDate wrapper) but ships a package.json postinstall hook that runs on
npm install and executes a shell one-liner harvesting installer identity (id, hostname, uname), container and Kubernetes indicators (/proc/1/cgroup, docker.sock, /var/run/secrets/kubernetes.io/serviceaccount/token), capabilities, mounts, network configuration, and environment variables filtered by kube|aws|token|secret|key|pass|role|region|cluster|node|service|container. The aggregated output is POSTed to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo, an interact.sh/OAST-style callback host. The tarball additionally ships postinstall.js, which reads ~/.ssh directory contents and POSTs a JSON payload (SSH key filenames, username, platform) to a hardcoded IP 124.221.154.135:443/post. The advertised purpose does not match the install-time behavior.What should I do about MAL-2026-12200?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.