constructor-blocks-common@35.5.6
Malicious code in constructor-blocks-common (npm)
Analysis
On require, the package runs a bootstrap routine that fingerprints the host platform/arch and downloads a second-stage binary over HTTPS from Cloudflare Workers hosts (oob-worker[.]cf99-9b3[.]workers[.]dev, oob-worker[.]cf102-baf[.]workers[.]dev, oob-worker[.]cf101-adf[.]workers[.]dev, path /pkg/package, /pkg/package-arm64, /pkg/loader_mac, /pkg/package.exe). If the HTTPS download fails it reconstructs the payload from DNS TXT records under the wel1[.]ru domain (c[.]sdk[.]dl[.]wel1[.]ru, ext[.]dl[.]wel1[.]ru, pkg[.]dl[.]wel1[.]ru, net[.]dl[.]wel1[.]ru). The downloaded binary is written to /var/tmp/.cache_<hex> (or dotnet_diag_<hex>.exe under %TEMP% on Windows), chmod 755, and executed as a detached background process via cmd.exe /c start /b or /bin/sh -c. The package's declared purpose (shared primitives) does not involve downloading or executing remote binaries.
- analyzed by
- Leitwacht
- first seen
- Aug 5, 2026, 06:55 PM
- analyzed
- Aug 5, 2026, 06:56 PM
Related advisories
- constructor-blocks-landings@35.5.7
- constructor-blocks-mailings@35.5.7
- constructor-blocks-renderer-landings@35.2.5
- constructor-blocks-renderer-mailings@35.3.3
- contract-contract-builder@35.5.2
- csc-csc-core@35.8.6
- dc-dc-core@35.3.3
- ded-aa-liza-ded-aa-liza-core@35.2.5
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.