MAL-2026-4495

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/banana-stand/MAL-2026-4495.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4495
Aliases
  • GHSA-m27g-5q57-x86r
  • GHSA-x4gx-rrjg-5rrh
Published
2026-05-20T13:15:42Z
Modified
2026-09-01T11:40:23Z
Summary
Malicious code in banana-stand (npm)
Details

-= 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-003541",
            "import_time": "2026-05-26T05:50:49.406932276Z",
            "modified_time": "2026-05-20T13:15:43Z",
            "sha256": "6557254afd81880fdee5e96ba7839759a16db9c60dbc25efc39be957f488a9a2",
            "source": "amazon-inspector",
            "versions": [
                "9.9.11"
            ]
        },
        {
            "id": "IN-MAL-2026-003540",
            "import_time": "2026-05-26T05:50:49.298276454Z",
            "modified_time": "2026-05-20T13:15:42Z",
            "sha256": "ab14273a518e66f357d229806e82cb2f4ce211cae4bc5de0f2d15eeab67fb720",
            "source": "amazon-inspector",
            "versions": [
                "9.9.11"
            ]
        },
        {
            "id": "GHSA-m27g-5q57-x86r",
            "import_time": "2026-08-18T00:20:04.635233553Z",
            "modified_time": "2026-08-17T14:22:00Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "902b356a065dc04d1ff168e0c0b9b8dc31ca04a33c1ed4c3ca4eaa197a644a77",
            "source": "ghsa-malware"
        },
        {
            "id": "RLMA-2026-06083",
            "import_time": "2026-09-01T11:17:27.109027203Z",
            "modified_time": "2026-08-24T16:41:00Z",
            "sha256": "373d4611af42c4e79e45d732bfd4cb5caa69899a2b0a2637ac6a83d38f9fae35",
            "source": "reversing-labs",
            "versions": [
                "9.9.11"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / banana-stand

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

9.*
9.9.11

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "domains": [
        "lwbanana.scan.scandc596b761e5.bananastand.1779282910.oob.sl4x0.xyz"
    ],
    "evidence_files": [
        {
            "path": "lib/core.js",
            "sha256": "397d1435e7291ed6b02b8627033a110124d250a54290b3a8f9f248573fd6a2d4",
            "tlsh": "38014929a393c08f97e096d0361a03d18499c380e7ce80a5fa7c4a87904e7d1cac5a96"
        },
        {
            "path": "lib/b02e30.js",
            "sha256": "15afa1966ef07bd0c2f3c79a45e095a96999f6fc852c819de819ae9a55e2ee99",
            "tlsh": "26e068173313c94fa1c80bf7790050a0aa0d8f58a11dc0dab91c678600af447d0c0272"
        }
    ],
    "package_integrity": [
        {
            "filename": "banana-stand-9.9.11.tgz",
            "hashes": {
                "sha1": "4c7da9e76a5d521d5074b6371609ac04c08736ea",
                "sha512_sri": "sha512-yNZFhbTvNdir8kMquCAPN0USOCYCA1ZC6DqMoJ4cCX0/fiKrjO+C7UPlInbz00IhkELZXfFLq+CXtL0dIQP+vA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/banana-stand/MAL-2026-4495.json"