MAL-2026-12142 Malicious code in beaver-ui-ai-chat-layout (npm)
Malicious package
Published
MAL-2026-12142 is a malicious package: beaver-ui-ai-chat-layout (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-12142/ (Markdown: https://insights.sbomify.com/MAL-2026-12142/index.md)
- Package
- beaver-ui-ai-chat-layout
- Registry
- npm
What is MAL-2026-12142?
MAL-2026-12142 is a malicious package in beaver-ui-ai-chat-layout, published on 5 Aug 2026.
Official description
Package is advertised as a UI chat layout toolkit but its index.js unconditionally require()s a setup.js that side-loads a 77 KB module internally labelled 'Analytics SDK'. On require(), setup.js reads the installer's hostname, OS username, current working directory, Node.js version, and pid, derives a SHA-256 install fingerprint, and passes it to lib/telemetry.js, which issues https.request calls to an endpoint resolved at runtime via DNS-based service discovery rather than a hardcoded hostname. Sensitive OS APIs are accessed via runtime string concatenation (os'host'+'name', os'user'+'Info'.username, os'plat'+'form', os'ar'+'ch') to evade static detection. There is no opt-in; telemetry defaults on and is only disableable via an undocumented DISABLE_TELEMETRY env var. The package's declared purpose (UI layout) does not correspond to any behavior in the shipped code, which is limited to a trivial no-op class plus the fingerprint beacon.
What should I do about MAL-2026-12142?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.