# MAL-2026-919: Malicious code in mds-webcomponents (npm)


- **Type:** Malicious package
- **Package:** `mds-webcomponents` (npm)
- **Published:** 16 Feb 2026

## What is MAL-2026-919?

MAL-2026-919 is a malicious package in mds-webcomponents, published on 16 Feb 2026. 

### Official description

package.json declares `preinstall: node index.js`, which runs automatically on every `npm install`. index.js collects os.homedir(), os.hostname(), os.userInfo().username, dns.getServers(), the package name, __dirname, and the full package.json contents, then HTTPS POSTs them as a querystring `msg=...` parameter to `2mpf1804g4gnfnvuqqx3om0cw32vqlea.oastify.com` — a Burp Collaborator (oastify.com) subdomain used as an out-of-band recon/exfiltration channel. The package provides no legitimate functionality; its only on-install effect is to leak installer host identity and project metadata to an attacker-controlled endpoint. This is the canonical dependency-confusion / red-team recon beacon shape.

The OpenSSF Package Analysis project identified 'mds-webcomponents' @ 1.0.0 (npm) as malicious.

It is considered malicious because:

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

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

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

## Sources

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

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