# MAL-2026-5622: Malicious code in @whatnot-web/www-legacy (npm)


- **Type:** Malicious package
- **Package:** `@whatnot-web/www-legacy` (npm)
- **Published:** 11 Jun 2026

## What is MAL-2026-5622?

MAL-2026-5622 is a malicious package in @whatnot-web/www-legacy, published on 11 Jun 2026. 

### Official description

@whatnot-web/www-legacy@99.1.1 is a dependency-confusion shell targeting the Whatnot org scope. The package ships an empty library (index.js exports `{}`), a generic description, blank author, and an inflated version (99.1.1) — the canonical dependency-confusion shape designed to win resolution against an internal package of the same name. On `npm install`, postinstall.js collects os.hostname(), os.userInfo().username, process.cwd(), and a 2-level directory listing of the working directory, base64-encodes the JSON payload, and POSTs it via HTTPS to the hardcoded interactsh collector wybqtvzmfhssbvhokfgb61yfn41sqvc9c.oast.fun. A hex-encoded DNS-lookup fallback to the same host is included to defeat HTTPS egress filtering. The collected information identifies internal build hosts and source-tree layouts and is suitable for staging follow-on attacks against the targeted organization.

The OpenSSF Package Analysis project identified '@whatnot-web/www-legacy' @ 99.1.2 (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-5622?

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-5622 is a malicious package: @whatnot-web/www-legacy (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-5622/ (Markdown: https://insights.sbomify.com/MAL-2026-5622/index.md)
```

## Sources

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

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