beaver-ui-date-range-picker
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-x5q8-8mg7-8jvg
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in beaver-ui-date-range-picker (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (744905f86e776fde6075a23e40274b0d4798bbb835114506926e0799430c24ba)
[email protected] declares a postinstall hook (node setup.js) and additionally triggers the same script from index.js via try { require('./setup'); } catch (_) {}, so the dropper fires both at npm install and when a consumer requires the package (bypassing --ignore-scripts). setup.js reconstructs a set of Cloudflare Worker hostnames at runtime by joining fragmented string arrays (e.g. oob-worker.cf99-9b3.workers.dev through oob-worker.cf103-070.workers.dev), selects a platform-specific payload path, downloads a binary via https.get, writes it to /tmp or %TEMP% under decoy names such as .cache_<hex> or dotnet_diag_<hex>.exe, chmods 0755 on POSIX, and launches it detached with .unref(). A DNS-TXT covert channel resolves numbered subdomains under *.dl.well1.site and reassembles a base64-encoded payload as an out-of-band fallback delivery path. On Windows the script invokes execSync('powershell...'). The cover story presents the behavior as analytics_state/telemetry, but the package's advertised purpose (a UI date-range picker) has no legitimate need to fetch and execute a native binary from obfuscated non-publisher hosts. Hostname obfuscation, unpinned mutable URLs, absent hash/signature verification, decoy filenames, detached background execution, and a DNS-TXT fallback channel are the fingerprint of a supply-chain dropper.
Source: ghsa-malware (2478c242068e826d05e3864e3901a1419a0a8552cd987c08999483acf3940df9)
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