banana-stand
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-m27g-5q57-x86r, GHSA-x4gx-rrjg-5rrh
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in banana-stand (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (ab14273a518e66f357d229806e82cb2f4ce211cae4bc5de0f2d15eeab67fb720)
On npm install, the package's install lifecycle hook runs node index.js, which loads lib/core.js. That module reads os.userInfo().username, os.hostname(), and the basename of process.cwd(), then issues a dns.resolve4 lookup for lwbanana.<username>.<hostname>.<cwd>.<unixtime>.oob.sl4x0.xyz, smuggling host identifiers out-of-band via DNS to an author-controlled domain. The same path also fires on require('banana-stand') because main points at the same entry. Strings used to construct the exfil (os, dns, userInfo, hostname, cwd, resolve4, and the destination domain oob.sl4x0.xyz) are concealed as String.fromCharCode byte arrays in lib/6ad264.js and lib/b02e30.js and decoded at runtime, indicating intentional concealment of the exfiltration channel.
Source: ghsa-malware (902b356a065dc04d1ff168e0c0b9b8dc31ca04a33c1ed4c3ca4eaa197a644a77)
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