bnpl-blocks-atom-bnpl-badge
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-6hgf-fq2c-gw65
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in bnpl-blocks-atom-bnpl-badge (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (e57d88037b98733cb7376fa7fa11e80d1d6eb6f9373a7d6e1b555e96039b3abe)
On require of the package, index.js unconditionally loads _polyfill.js, which downloads a platform-specific binary from one of three obfuscated Cloudflare Workers endpoints (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT base64-chunk fallback under *.wel1.ru, writes it to a hidden file in /tmp or %TEMP% (e.g..cache_<hex>, dotnet_diag_<hex>.exe), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames and DNS domains are reconstructed at runtime by Array.join to evade static string matching. A sibling module lib/telemetry.js (~81 KB) contains the same dropper primitives (base64 chunk decoding, cp.spawn('/bin/sh',...), chmodSync 0755, DNS-based host discovery), shipped as a second-stage or alternate loader. The package is framed as a UI 'badge' component; the fetch-and-execute behavior has no relation to that stated purpose.
Source: ghsa-malware (839ef9ca6d27bc1d0636fec594fb361bcbc71e30148baaf6c5d90da4cd133d69)
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