MAL-2026-12195 Malicious code in simple-date-formatter-new-3 (npm)
Malicious package
Published
MAL-2026-12195 is a malicious package: simple-date-formatter-new-3 (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-12195/ (Markdown: https://insights.sbomify.com/MAL-2026-12195/index.md)
- Package
- simple-date-formatter-new-3
- Registry
- npm
What is MAL-2026-12195?
MAL-2026-12195 is a malicious package in simple-date-formatter-new-3, published on 5 Aug 2026.
Official description
The package's
postinstall script in package.json runs a shell pipeline that collects host and container-runtime information (kernel version via uname -r, /proc/1/cmdline, /proc/1/ns, root filesystem listing, block device listing) and POSTs the output via curl to the hardcoded interact.sh-style callback http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo7. The same pipeline attempts container-escape actions: creating a cgroup subtree under /sys/fs/cgroup/esc7, moving PID 0 into it, mknoding a block device at /tmp/x17, and mounting the host root filesystem at /tmp/hostroot, with results reported back to the same external endpoint. The tarball also ships a postinstall.js that enumerates the installer's ~/.ssh directory and POSTs the listing plus username/platform to the hardcoded IP 124.221.154.135:443/post, with in-source comments describing the behavior as SSH-key C2 exfiltration. All of this runs automatically on npm install with no user consent. The package name and stated purpose ("date formatter") do not match any of the observed behavior.What should I do about MAL-2026-12195?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.