beaver-ui-form-object@12.1.7
Malicious code in beaver-ui-form-object (npm)
Analysis
The package beaver-ui-form-object is a combosquat of a UI form library. On install, the postinstall hook runs setup.js which fingerprints the operating system and CPU architecture, then downloads a platform-specific binary payload from a shuffled list of Cloudflare Workers subdomains (oob-worker[.]cf/*.workers[.]dev). If the HTTP download fails, it falls back to DNS TXT-record resolution on wel1[.]site subdomains to retrieve the payload via base64-encoded TXT records. The downloaded binary is written to /var/tmp/.cache_<hex> (Linux/macOS) or %TEMP%\dotnet_diag_<hex>.exe (Windows), made executable, and launched as a detached background process with stdout/stderr redirected to /dev/null. The package also attempts to load setup.js on require() via index.js. The README falsely describes this as "anonymous usage metrics" telemetry.
- analyzed by
- Leitwacht
- first seen
- Aug 1, 2026, 01:04 PM
- analyzed
- Aug 1, 2026, 01:06 PM
Related advisories
- beaver-ui-items-with-more@12.2.6
- beaver-ui-hooks@12.6.3
- beaver-ui-form@12.6.1
- beaver-ui-form-modal@12.7.6
- beaver-ui-header@12.3.9
- beaver-ui-grid@12.7.3
- beaver-ui-layout@12.9.6
- arbocrate-sla-prober-arbocrate-sla-prober-core@7.5.8
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.