bnpl-api
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-fgxc-644c-34qm
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in bnpl-api (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (2eda2ee8ac0f1ffdce814e7ca4bb7e1c1ca52beebb7048b18a64d8e13e87abf4)
The package presents itself as an empty API stub (index.js exports a no-op BnplApi and unconditionally require("./_support") on load). _support.js assembles download hostnames via array-join string splitting (["oob-worke","r.cf103-070.w","or","kers",".d","ev"].join("")) to reconstruct three anonymous Cloudflare Workers hosts (oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev), fetches a platform-specific native executable, writes it to /tmp or %TEMP% under a disguised name (.cache_<hex> or dotnet_diag_<hex>.exe), chmods it 0755, and spawns it detached via spawn("/bin/sh",...) / spawn("cmd",...). If HTTPS retrieval fails, a DNS-TXT covert channel under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru reassembles a base64-encoded binary from numbered TXT records and executes it the same way. lib/telemetry.js also loads child_process via require("child_"+"process") to evade static scanners. The package has no legitimate functionality; its only on-load effect is running an opaque attacker-controlled binary on the installer's host.
Source: ghsa-malware (7fbe1d12c0d2de7bf53cba5a61e26fbbfcf66ea9dec49d0f0dfbdd1d8a12fbf3)
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