MAL-2026-12822 Malicious code in beaver-ui-search-dropdown (npm)
- Package
- beaver-ui-search-dropdown
- Registry
- npm
What is MAL-2026-12822?
MAL-2026-12822 is a malicious package in beaver-ui-search-dropdown, published on 5 Aug 2026.
Official description
The package presents itself as a UI dropdown library but on require executes _init.js, which selects a platform-specific asset (linux/darwin/win32), fetches an opaque binary over HTTPS from string-fragmented *.workers.dev hosts (assembled via .join('') to hide the hostname from static scanners) with a DNS-TXT chunked-base64 fallback to *.dl.wel1.ru, writes the payload to /var/tmp or %TEMP% under a disguised name (dotnet_diag_<hex>.exe on Windows, .cache_<hex> on Unix), chmods it 0755, and spawns it detached via /bin/sh -c "<file> &" or cmd.exe /c start /b. The require("child_"+"process") split, the fragmented CDN host arrays, the.NET-diagnostics filename masquerade, and an analytics_state marker file provide cover-story framing. There is no pinning, hash verification, publisher-matched origin, or relation to a UI dropdown component. Installing or importing the package results in arbitrary attacker-controlled code executing on the installer's host.
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-12822?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-7rpr-87f4-37w9.