beaver-ui-icon-lock@12.2.3
Malicious code in beaver-ui-icon-lock (npm)
Analysis
The postinstall hook runs setup.js, which downloads and executes a platform-specific binary. It detects the OS and architecture, then fetches a binary from Cloudflare Workers subdomains (oob-worker[.]cf paths: /pkg/package, /pkg/package-arm64, /pkg/loader_mac, /pkg/package.exe) with a DNS TXT fallback via well1[.]site. The downloaded binary is written to /var/tmp/.cache_* (Linux/macOS) or %TEMP%\dotnet_diag_*.exe (Windows) and launched as a detached background process. On Windows, the download uses powershell Invoke-RestMethod. A 6-hour timestamp file prevents repeated downloads. The package also requires("./setup") on module load via index.js.
- analyzed by
- Leitwacht
- first seen
- Aug 1, 2026, 01:04 PM
- analyzed
- Aug 1, 2026, 01:06 PM
Related advisories
- mcp-dev-toolkit@1.5.0
- node-sysmon-native@1.0.0
- zenith-utils@12.0.14
- node-fetch-utils@1.2.1
- sync-external@1.6.0
- anthropic-claude-latest@4.7.1
- kisama-js@0.1.8
- @resolvx/core@2.4.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.