MAL-2026-17158 Malicious code in simple-date-formatter-new-11 (npm)
Malicious package
Published
MAL-2026-17158 is a malicious package: simple-date-formatter-new-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-17158/ (Markdown: https://insights.sbomify.com/MAL-2026-17158/index.md)
- Package
- simple-date-formatter-new-11
- Registry
- npm
What is MAL-2026-17158?
MAL-2026-17158 is a malicious package in simple-date-formatter-new-11, published on 24 Sep 2026.
Official description
Package presents itself as a date-formatting utility but performs credential theft against the installer through two channels. The postinstall script in package.json curls cloud instance-metadata endpoints (Alibaba 100.100.100.200, AWS 169.254.169.254, and Tencent Cloud) and a /data/ listing, writes them to /tmp, and POSTs the concatenated contents to an attacker-controlled OAST collector at pdxkwzizhzzdpzpgcieqk6d1v7ynqsgfo.oast.fun/metadata — harvesting cloud IAM/instance credentials from any cloud VM or CI runner that installs the package. Separately, index.js (the package main) enumerates ~/.ssh on require, packages the username, platform, and key filenames as JSON, and POSTs the payload over HTTPS to the hardcoded remote host 124.221.154.135:443/post, so importing the module leaks SSH key metadata to a fixed attacker endpoint. The advertised formatDate functionality is a stub unrelated to the exfiltration paths.
What should I do about MAL-2026-17158?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.