MAL-2026-20422

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sbbank/MAL-2026-20422.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20422
Published
2026-11-21T22:02:58Z
Modified
2026-11-24T06:30:06Z
Summary
Malicious code in sbbank (npm)
Details

sbbank is a dependency-confusion package: its description is "Compatibility shim." and its README calls it an "authorized dependency-confusion test" by "Kero (@0xWise)". Each listed version has a postinstall script that runs node beacon.cjs on npm install, and index.js runs the same code when the package is imported; it POSTs the hostname, install path and current working directory to https://vmi3699893.contaboserver.net:8787/_ah/dc with TLS certificate checks turned off, and index.js exports a Proxy of no-op functions so builds that import the real package keep running. The npm account ppblpp1 published sbbank and 7 other packages with the same beacon on 2026-11-21 between 21:34 and 22:09 UTC.

Database specific
{
    "iocs":  {
        "domains":  [
            "vmi3699893.contaboserver.net"
        ],
        "files":  [
            {
                "digests":  {
                    "sha256":  "a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d"
                },
                "note":  "Main entry point; calls beacon.cjs fire() on import and exports a no-op Proxy. Identical in all 38 listed versions of the 8 packages.",
                "paths":  [
                    "index.js"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "9761affe1730d462391816a32e43c628e6f517ed1b42d00b3ae3774d09e1b107"
                },
                "note":  "postinstall script runs `node beacon.cjs`, which POSTs hostname, install path and cwd to https://vmi3699893.contaboserver.net:8787/_ah/dc (sbbank@0.0.1).",
                "paths":  [
                    "package.json"
                ],
                "source":  "PACKAGE_ARCHIVE"
            },
            {
                "digests":  {
                    "sha256":  "8a549d47f2f56039ac8930697d9c8df9bd3da7ab6982eaabf1f3d7efeab1a360"
                },
                "note":  "Executed by the postinstall script of sbbank@0.0.1.",
                "paths":  [
                    "beacon.cjs"
                ],
                "source":  "PACKAGE_ARCHIVE"
            }
        ],
        "urls":  [
            "https://vmi3699893.contaboserver.net:8787/_ah/dc"
        ]
    }
}
Credits

Affected packages

npm / sbbank

Package

Affected ranges

Affected versions

0.*
0.0.1

Database specific

cwes
[
    {
        "cweId":  "CWE-506",
        "description":  "The product contains code that appears to be malicious in nature.",
        "name":  "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sbbank/MAL-2026-20422.json"