Malicious code in beaver-ui-form-modal (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12034
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (37c4d60b5b32e6639dcecb7661afe72c6f5bb9ce486e53a398e81e11932f7379) On require('beaver-ui-form-modal'), index.js loads _shim.js which downloads a platform-specific binary from string-array-obfuscated Cloudflare Worker subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT chunked-base64 fallback to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The downloaded bytes are written to a hidden temp path with names mimicking 'dotnet_diag' / '.cache_', chmodded 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true, stdio:'ignore'}) (with a cmd variant for Windows). Hostnames and API identifiers are assembled at runtime via array.join('') to conceal the destinations from static scanners. The fetched binary is unpinned, unverified, and unrelated to any UI-form-modal functionality. lib/telemetry.js additionally carries a dormant sibling dropper (cp.spawn '/bin/sh' + chmodSync 0755, framed as an 'analytics SDK') not reached from the current main entry.
- Source published
- 5 Aug 2026 01:33:41 UTC
- Source modified
- 5 Aug 2026 01:49:46 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.