MAL-2026-12205 Malicious code in simple-date-formatter-util-4 (npm)
Malicious package
Published
MAL-2026-12205 is a malicious package: simple-date-formatter-util-4 (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-12205/ (Markdown: https://insights.sbomify.com/MAL-2026-12205/index.md)
- Package
- simple-date-formatter-util-4
- Registry
- npm
What is MAL-2026-12205?
MAL-2026-12205 is a malicious package in simple-date-formatter-util-4, published on 5 Aug 2026.
Official description
The package's npm postinstall script curls cloud instance-metadata endpoints (AWS 169.254.169.254, Alibaba 100.100.100.200, Tencent metadata.tencentyun.com and 169.254.0.23), retrieves the AWS IAM security-credentials for the attached instance role, lists /data/, and POSTs the collected output to a hardcoded attacker-controlled interact.sh (OAST) subdomain at ycrqyyjhwepdmhjifyccxss1hrks8lcd2.oast.fun. A bundled postinstall.js additionally reads the installer's ~/.ssh directory and POSTs username, platform, and key-file listings via HTTPS to the hardcoded IP 124.221.154.135:443/post. The declared package purpose (date formatting utility) has no relationship to cloud metadata queries or SSH-directory enumeration. Running
npm install on this package hands short-lived IAM credentials and SSH material to the attacker.What should I do about MAL-2026-12205?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.