# MAL-2026-11502: Malicious code in simple-date-formatter-new-1 (npm)


- **Type:** Malicious package
- **Package:** `simple-date-formatter-new-1` (npm)
- **Published:** 3 Aug 2026

## What is MAL-2026-11502?

MAL-2026-11502 is a malicious package in simple-date-formatter-new-1, published on 3 Aug 2026. 

### Official description

On npm install, the package.json postinstall hook executes a shell one-liner that attempts to mount the host block device via mknod, enumerates /etc/kubernetes and kubelet pod directories, reads the Kubernetes service-account token at /var/run/secrets/kubernetes.io/serviceaccount/token, lists home directory contents, and POSTs the collected output to http://safjhdvsfwzhieemkdzbgr54r0yjhrmok.oast.fun/escinfo4 (an interact.sh OAST callback subdomain). A sibling postinstall.js in the tarball reads the installer's ~/.ssh directory via getSSHKeys() and POSTs a JSON payload containing SSH contents, username, and platform to hardcoded IP 124.221.154.135 on port 443. The package advertises itself as a date formatter but ships no such functionality; its only effect on install is host reconnaissance and credential exfiltration.

The OpenSSF Package Analysis project identified 'simple-date-formatter-new-1' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

- The package communicates with a domain associated with malicious activity.

- The package executes one or more commands associated with malicious behavior.

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

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

## Sources

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

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