# MAL-2026-17229: Malicious code in simple-date-formatter-new-12 (npm)


- **Type:** Malicious package
- **Package:** `simple-date-formatter-new-12` (npm)
- **Published:** 28 Sep 2026

## What is MAL-2026-17229?

MAL-2026-17229 is a malicious package in simple-date-formatter-new-12, published on 28 Sep 2026. 

### Official description

npm package simple-date-formatter-new-12@1.0.0 declares a postinstall lifecycle script in package.json that runs automatically on `npm install`. The script uses curl to fetch an internal Baidu host (http://bsrc-ssrf.n.baidu-int.com/...), writes the response to /tmp/bsrc.txt, and POSTs the contents to an attacker-controlled interactsh collector at pdxkwzizhzzdpzpgcieqk6d1v7ynqsgfo.oast.fun/bsrc. The package's advertised purpose is a trivial date-formatting wrapper (index.js exports a single formatDate function); the SSRF probe and outbound exfiltration are unrelated to that purpose. The name shape (`simple-date-formatter-new-12`), empty author metadata, and OAST beacon are consistent with a dependency-confusion / typosquat probe designed to detect installation inside a target organization and leak internal network responses reachable from the installer's network position to a third-party collector.

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

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

## Sources

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

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