MAL-2026-20036

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/base64-x58/MAL-2026-20036.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20036
Published
2026-11-14T15:13:52Z
Modified
2026-11-17T05:15:11Z
Summary
Malicious code in base64-x58 (npm)
Details

base64-x58 is a copy of the base-x encoding library (package.json still points at the cryptocoinjs/base-x repository) with one obfuscated statement injected at the start of decode() (src/cjs/index.cjs, src/esm/index.js). Every call to decode() POSTs the input string to a hardcoded Telegram bot (bot8177895028, chat 7631491367). Base58 decode() input is typically a wallet private key. The same bot is hardcoded in node-bs58.js 4.0.2-4.0.6; imported by node-bs58.js 6.0.0 and npm-bs58.js 6.0.0.

Database specific
{
    "iocs":  {
        "urls":  [
            "https://api.telegram.org/bot8177895028/sendMessage"
        ]
    }
}
References
Credits

Affected packages

npm / base64-x58

Package

Affected ranges

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

Affected versions

0.*
0.0.1
0.0.5

Database specific

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