Skip to content

Malicious code in beaver-ui-form-modal (npm)

Malware Published Aug 5, 2026 to the GitHub Advisory Database • Updated Aug 5, 2026

Package

npm beaver-ui-form-modal (npm)

Affected versions

= 34.6.3
= 12.7.6

Patched versions

None

Description

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.


Credit: OpenSSF (source)

References

Published to the GitHub Advisory Database Aug 5, 2026
Reviewed Aug 5, 2026
Last updated Aug 5, 2026

EPSS score

Weaknesses

Embedded Malicious Code

The product contains code that appears to be malicious in nature. Learn more on MITRE.

GHSA ID

GHSA-694p-cpwm-9w6r

Source code

No known source code
Improvements are not currently accepted on this advisory because this package is malware and has no patched versions. If there is something to change, please open an issue at https://github.com/github/advisory-database/issues.