beaver-ui-layout
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-w259-8g6c-8ppr
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in beaver-ui-layout (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (465b05640a3068a007c565655d946564a39211eeca92f8637b7c3b4fe9c9dece)
The package is advertised as a React UI layout library but on require('beaver-ui-layout') loads _bridge.js, which reconstructs hostnames from array-joined string fragments to build Cloudflare Workers URLs (oob-worker.cf100/cf101/cf102-*.workers.dev) and a DNS-TXT covert-channel fallback under *.dl.wel1.ru, downloads a platform-specific binary, writes it to /var/tmp or the Windows TEMP directory under disguised names such as dotnet_diag_*.exe and.cache_*, chmods it 0755, and spawns it detached via cp.spawn('/bin/sh', ['-c', fp+' &']) or spawn('cmd',...). A marker file (analytics_state/.analytics_state) is used to gate re-execution, and DISABLE_TELEMETRY/DO_NOT_TRACK environment variables are checked as a cover story. lib/telemetry.js bundles the same dropper primitives (base64 chunk buffer, chmod 755, /bin/sh spawn, require('child_'+'process') split-string obfuscation) as an alternate variant. Importing this package results in arbitrary attacker-controlled code executing on the installer's host.
Source: ghsa-malware (9811e6fb160c26593c5a92c4d8612648740b6240c20d300daa0bca6784a579e7)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0