MAL-2026-12197 Malicious code in simple-date-formatter-new-6 (npm)
Malicious package
Published
MAL-2026-12197 is a malicious package: simple-date-formatter-new-6 (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-12197/ (Markdown: https://insights.sbomify.com/MAL-2026-12197/index.md)
- Package
- simple-date-formatter-new-6
- Registry
- npm
What is MAL-2026-12197?
MAL-2026-12197 is a malicious package in simple-date-formatter-new-6, published on 5 Aug 2026.
Official description
package.json declares a postinstall script that runs a shell pipeline collecting host identifiers (uname, id), routing and ARP tables, TCP-probe results against internal hosts, cloud instance metadata from 169.254.169.254, and PID 1 cmdline, then POSTs the aggregated output over plain HTTP to safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo10 (an interact.sh OAST callback host). A sibling postinstall.js enumerates ~/.ssh and POSTs a JSON payload including username, platform, and.pub filenames to the hardcoded IP 124.221.154.135:443/post. Both behaviors fire as install-time side effects and provide the publisher with reconnaissance data and cloud-credential-adjacent metadata from any host that runs npm install on this package.
What should I do about MAL-2026-12197?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.