MAL-2026-12198 Malicious code in simple-date-formatter-new-7 (npm)

Malicious package Published
Package
simple-date-formatter-new-7
Registry
npm

What is MAL-2026-12198?

MAL-2026-12198 is a malicious package in simple-date-formatter-new-7, published on 5 Aug 2026.

Official description

Package is advertised as a date-formatting utility but its postinstall script probes an internal-range Kubernetes API (10.45.196.138:8080, endpoints /version, /api, /api/v1/namespaces, /api/v1/pods, /api/v1/secrets, /api/v1/nodes plus two adjacent hosts) and POSTs the concatenated responses to an out-of-band collector at safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo11. Runs automatically on npm install. The tarball also ships a postinstall.js containing a getSSHKeys() function that enumerates ~/.ssh and POSTs a JSON payload with the directory listing, username, and platform to a hardcoded remote IP 124.221.154.135:443/post over HTTPS. The advertised purpose (formatDate() in index.js) is a thin cover story unrelated to the shipped install-time behavior.

What should I do about MAL-2026-12198?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-12198 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free