CRITICAL npm Malware

Malicious code in beaver-ui-form-object (npm)

MAL-2026-12145 · GHSA-7f2m-rv2g-c7q2

Published · Modified

Dependency scanning

Check whether beaver-ui-form-object is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (b5b91edd276d95174766d639bab6981de8e07b4261e57668fc61f8e7dd96cc1e)

On require of the package, index.js loads _polyfill.js whose top-level bootstrap() fetches an opaque platform-specific binary over HTTPS from string-fragment-assembled hosts (reconstructing oob-worker.cf101-adf.workers.dev and sdk.dl.wel1.ru, with a DNS-TXT fallback for endpoint discovery), writes it to /var/tmp or %TEMP% under disguised names such as dotnet_diag_<hex>.exe and .cache_<hex>, chmods it 755, and spawns it detached via cp.spawn("/bin/sh", ["-c", fp+" &"], {detached:true}).unref() (with a cmd branch on Windows). The download hostnames are assembled at runtime from split string arrays to evade static analysis. A second bundled module, lib/telemetry.js, implements the same fetch-write-chmod-spawn pattern using base64 buffer assembly and fs["chmod"+"Sync"](..., 0o755). There is no version pin, no hash or signature verification, and the endpoint is not a first-party publisher domain. Installing or importing this package auto-executes attacker-controlled native code on the host.

Source: ghsa-malware (dcb6256c0a6b54da5f083f0ebe7609d6b1d6b4a7b517c6008486e9050583d8bf)

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes