MAL-2026-20108

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/base128-x58-1/MAL-2026-20108.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20108
Published
2026-11-16T16:20:00Z
Modified
2026-11-18T06:00:15Z
Summary
Malicious code in base128-x58-1 (npm)
Details

Malicious package. Impersonates the base-x encoding library (homepage pointing at cryptocoinjs/base-x, identical layout). The exported decode(string) in both src/esm/index.js and src/cjs/index.cjs is patched with obfuscator.io-style code that POSTs every caller-supplied input, typically a base58-encoded private key or address, to a hardcoded Telegram bot (sendMessage with {chat_id, text: string}): bot 8444411730 in early versions and bot 8040141601 in 0.0.4. Same technique as base62-86x (MAL-2026-6446). Versions 0.0.1 to 0.0.4 were verified from their source; a 0.0.5 was also published on 2025-08-04. Unpublished from npm on 2025-09-11.

Database specific
{
    "iocs":  {
        "files":  [
            {
                "digests":  {
                    "sha256":  "152bfee28e387d059d0e4de58268da64b9c9a50ce35e5d23ce94003c752dd27a"
                },
                "paths":  [
                    "src/esm/index.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "46361206fc696ae5e8517dd9d21804f2e46750b07477cb92d5d1abc59294d0ed"
                },
                "paths":  [
                    "src/esm/index.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "63d719c82d6c192dd504f50604f3f928959a7d365e07b1e2474158bb0e5a7bbc"
                },
                "paths":  [
                    "src/esm/index.js"
                ]
            },
            {
                "digests":  {
                    "sha256":  "2d8651488b6a4acb06e4896ae55faac3fa78084fb56e1e4c0875f53e5a40258d"
                },
                "paths":  [
                    "src/esm/index.js"
                ]
            }
        ],
        "urls":  [
            "https://api.telegram.org/bot8444411730",
            "https://api.telegram.org/bot8040141601"
        ]
    }
}
References
Credits

Affected packages

npm / base128-x58-1

Package

Name
base128-x58-1
View open source insights on deps.dev
Purl
pkg:npm/base128-x58-1

Affected ranges

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/base128-x58-1/MAL-2026-20108.json"