# MAL-2026-5535: Malicious code in zer0onedate (npm)


- **Type:** Malicious package
- **Package:** `zer0onedate` (npm)
- **Published:** 10 Jun 2026

## What is MAL-2026-5535?

MAL-2026-5535 is a malicious package in zer0onedate, published on 10 Jun 2026. 

### Official description

On `npm install`, postinstall.js executes a chain of `curl` commands that read cloud instance metadata service (IMDS) endpoints — AWS (169.254.169.254/latest/meta-data/iam/security-credentials/), Alibaba/Aliyun and Tencent metadata hosts, plus 100.100.100.200 and 169.254.0.23 — and writes the responses to /tmp/aws.txt, /tmp/ali.txt, /tmp/meituan.txt. It also probes an internal-looking SSRF endpoint at https://mtsrc-test.sankuai.com/ssrf and lists /data/. The aggregated contents are POSTed via `curl -X POST -d` to http://h4mx6b7krgzarfehbutwabxbu20tojc8.oastify.com/metadata, an attacker-controlled Burp Collaborator subdomain. Any installer running in AWS/Aliyun/Tencent cloud (CI runners, build agents, cloud dev VMs) leaks temporary IAM credentials from IMDS to the attacker, who can then pivot into the victim's cloud account. The targeting of Meituan-internal infrastructure (sankuai.com) plus multiple non-standard cloud metadata IPs indicates deliberate reconnaissance, not opportunistic theft.

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

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-5535 is a malicious package: zer0onedate (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-5535/ (Markdown: https://insights.sbomify.com/MAL-2026-5535/index.md)
```

## Sources

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

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