{"id":"MAL-2026-20108","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.","modified":"2026-11-18T06:00:15.802108578Z","published":"2026-11-16T16:20:00Z","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"]},{"paths":["src/esm/index.js"],"digests":{"sha256":"2d8651488b6a4acb06e4896ae55faac3fa78084fb56e1e4c0875f53e5a40258d"}}],"urls":["https://api.telegram.org/bot8444411730","https://api.telegram.org/bot8040141601"]}},"references":[{"type":"WEB","url":"https://wormsign.io/portfolio/base128-x58-1/"}],"affected":[{"package":{"name":"base128-x58-1","ecosystem":"npm","purl":"pkg:npm/base128-x58-1"},"versions":["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"}}],"schema_version":"1.9.2","credits":[{"name":"wormsign","contact":["https://x.com/w0rmsign"],"type":"FINDER"}]}