# MAL-2026-11508: Malicious code in beaver-ui-header (npm)


- **Type:** Malicious package
- **Package:** `beaver-ui-header` (npm)
- **Published:** 3 Aug 2026
- **Also known as:** GHSA-qm7r-x5cp-5wc2

## What is MAL-2026-11508?

MAL-2026-11508 is a malicious package in beaver-ui-header, published on 3 Aug 2026. 

### Official description

beaver-ui-header@12.3.9 advertises itself as a UI header library but ships a setup.js that runs on npm postinstall and again on require via index.js. It reconstructs network destinations at runtime by joining arrays of substrings (e.g. ['oob-wor','ker.cf','99-9b3.wor','kers','.dev']) to hide Cloudflare Workers hosts of the form oob-worker.cfNN-*.workers.dev, with a DNS-TXT fallback channel that reassembles a base64 payload from numbered TXT records under *.dl.well1.site (c.<domain>, 0.<domain>, 1.<domain>,...). A platform-specific binary is downloaded, staged under /var/tmp or the Windows TEMP directory with a disguised name (dotnet_diag_<tag>.exe on Windows,.cache_<tag> on Unix), chmodded 0755, and launched detached/unref'd via execFile with stdio ignored. Setup.js also invokes execSync('powershell...') on Windows. Variable and env-var names (analytics_state, DISABLE_TELEMETRY, ANALYTICS_OPT_OUT) and the dotnet_diag_ filename frame the flow as telemetry, but the package's stated purpose (UI header component) has no need for platform-specific native binaries, and the destinations are not the publisher's infrastructure. There is no version pin, hash, or signature verification on the downloaded binary.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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

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

## Sources

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

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