# MAL-2026-11485: Malicious code in simple-date-formatter-util-2 (npm)


- **Type:** Malicious package
- **Package:** `simple-date-formatter-util-2` (npm)
- **Published:** 2 Aug 2026
- **Also known as:** GHSA-q43f-5xj6-8v63

## What is MAL-2026-11485?

MAL-2026-11485 is a malicious package in simple-date-formatter-util-2, published on 2 Aug 2026. 

### Official description

The package.json postinstall script runs on every npm install and uses curl to probe cloud instance-metadata services (AWS 169.254.169.254, Alibaba 100.100.100.200, Tencent metadata.tencentyun.com, 169.254.0.23), writes their responses to /tmp, and POSTs the concatenated contents together with a listing of /data/ to an attacker-controlled OAST collector at ycrqyyjhwepdmhjifyccxss1hrks8lcd2.oast.fun. Cloud IMDS endpoints return role credentials for the installer's instance, so the beacon exfiltrates cloud credentials on install. The tarball also ships a postinstall.js that enumerates the installer's ~/.ssh directory and POSTs the collected data with username and platform fields to https://124.221.154.135/post. The package advertises date-formatting utility functionality; none of the observed behavior relates to that purpose.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

## What should I do about MAL-2026-11485?

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

## Fix prompt for AI coding agents

```text
MAL-2026-11485 is a malicious package: simple-date-formatter-util-2 (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-11485/ (Markdown: https://insights.sbomify.com/MAL-2026-11485/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-11485

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-11485/
Summaries are generated and may contain mistakes; the official description above is the record.
