beaver-ui-items-with-more@12.2.6
Malicious code in beaver-ui-items-with-more (npm)
Analysis
The package runs a postinstall hook (node setup.js) that downloads and executes platform-specific binaries from attacker-controlled infrastructure. It detects the OS and architecture, then fetches a binary from Cloudflare Workers hosts (oob-worker[.]cf subdomains with paths /pkg/package, /pkg/package-arm64, /pkg/loader_mac, /pkg/package.exe) with fallback DNS TXT-based retrieval from tin[.]dl[.]well1[.]site, tina[.]dl[.]well1[.]site, ldr[.]dl[.]well1[.]site, and win[.]dl[.]well1[.]site. The downloaded binary is written to /var/tmp/.cache_<random-hex> (Linux/macOS) or %TEMP%\dotnet_diag_<hex>.exe (Windows) and launched as a detached background process with stdout/stderr discarded. A 6-hour timestamp file prevents repeated downloads. The package also attempts to load setup.js at require-time via index.js. The lib/telemetry.js file is a decoy analytics SDK to disguise the payload.
- analyzed by
- Leitwacht
- first seen
- Aug 1, 2026, 01:04 PM
- analyzed
- Aug 1, 2026, 01:06 PM
Related advisories
- 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
- afisha-storybook-default@9.7.10
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.