MAL-2026-12202 Malicious code in simple-date-formatter-util-13 (npm)
Malicious package
Published
MAL-2026-12202 is a malicious package: simple-date-formatter-util-13 (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-12202/ (Markdown: https://insights.sbomify.com/MAL-2026-12202/index.md)
- Package
- simple-date-formatter-util-13
- Registry
- npm
What is MAL-2026-12202?
MAL-2026-12202 is a malicious package in simple-date-formatter-util-13, published on 5 Aug 2026.
Official description
Package presents itself as a date-formatting utility (index.js is a four-line toLocaleDateString wrapper) but its package.json postinstall hook runs an inline shell pipeline that reads /proc/self/status, /dev, /home/work, /wenchain, and /etc/hosts, probes internal Kubernetes API endpoints, and POSTs the collected output to an attacker-controlled Interactsh OAST endpoint at safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo2. The tarball also ships postinstall.js, which enumerates the installer's ~/.ssh directory, gathers filenames plus username and platform, and POSTs the JSON payload over HTTPS to the hardcoded IP 124.221.154.135. Both behaviors auto-execute on npm install.
What should I do about MAL-2026-12202?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.