Malicious code in constructor-blocks-renderer-mailings (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12664
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c7b9c524160eaa76ac80781bfc28ed9e3f3b54295360d8f21989724a1dd34d34) On module load, index.js requires./_bridge.js, which reassembles hardcoded C2 hostnames from split string arrays (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev) and issues https.get requests to download a platform-specific executable. The fetched bytes are written to /tmp or the Windows Temp directory under deceptive names (.cache_<hex>, dotnet_diag_<hex>.exe), chmod'd to 0755, and executed detached via cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true}) on POSIX and cmd.exe /c start /b on Windows. When the HTTPS fetches fail, a fallback covert channel uses dns.resolveTxt against numbered subdomains of sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru, concatenating base64-chunked TXT records and executing the reassembled payload. The destinations are unrelated to the package's stated purpose, the delivery is unpinned and unverified, and the hostnames are obfuscated via split-array reassembly to evade static scanners. A large sibling bundle lib/telemetry.js (~81 KB) is present but not on the import-time graph.
- Source published
- 5 Aug 2026 13:58:43 UTC
- Source modified
- 5 Aug 2026 14:36:14 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.