# MAL-2026-18373: Malicious code in @zmtcdn/ui (npm)


- **Type:** Malicious package
- **Package:** `@zmtcdn/ui` (npm)
- **Published:** 28 Oct 2026

## What is MAL-2026-18373?

MAL-2026-18373 is a malicious package in @zmtcdn/ui, published on 28 Oct 2026. 

### Official description

@zmtcdn/ui 9999.0.0 and 9999.0.7 are dependency-confusion packages with an empty `index.js` and a description of "Security research PoC". Their postinstall script runs `node postinstall.js` on npm install, which POSTs the hostname, username, platform, working directory and the names of all environment variables to `https://www.hinny.shop/api`. They were published by the npm account kill_shs, which also published @zmtcdn/components with the same script.

The postinstall.js lifecycle script runs automatically on `npm install` and collects installer-identifying data — `os.hostname()`, `os.platform()`, `os.userInfo().username`, `process.cwd()`, the list of `process.env` key names, and a timestamp — then POSTs the JSON blob via `https.request` to the hardcoded endpoint https://www.hinny.shop/api. The package name uses a vendor-style scope (`@zmtcdn/ui`) and an implausibly high version (9999.0.7) consistent with a dependency-confusion lure, and the fetch destination is unrelated to any declared publisher. No user opt-in, no documentation of the beacon, and no legitimate functional purpose for sending this data off-host at install time.

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

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

## Sources

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

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