beaver-ui-hooks@12.6.3
Malicious code in beaver-ui-hooks (npm)
Analysis
The postinstall hook (node setup.js || true) downloads a platform-specific native binary from attacker-controlled Cloudflare Workers subdomains (oob-worker[.]cf) and launches it as a detached background process. The downloader maps the installer's OS and architecture to a specific binary path, fetches via HTTPS (or PowerShell Invoke-RestMethod on Windows), and falls back to DNS TXT record extraction from well1[.]site if HTTP fails. The binary is written to /var/tmp/.cache_<random-hex> (or Windows temp) and executed with stdio redirected to /dev/null, detached from the parent process so it persists after npm install completes. A stamp file at /tmp/.analytics_state limits re-execution to once per 6 hours. The package claims to be a UI toolkit collecting anonymous telemetry, but the actual behaviour is downloading and running untrusted native binaries from external infrastructure.
- analyzed by
- Leitwacht
- first seen
- Aug 1, 2026, 01:04 PM
- analyzed
- Aug 1, 2026, 01:05 PM
Related advisories
- beaver-ui-form-modal@12.7.6
- dolyame-ui-sortablelist@35.8.1
- delivery-ci-codeceptjs@35.1.7
- dolyame-boxy-independent-bnpl-product-grid@35.9.2
- cobrowsing-test-utils@35.3.4
- constructor-blocks-renderer-mailings@35.3.3
- contract-contract-builder@35.5.2
- devplatform-jscodeshift-plugin@35.4.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.