MAL-2026-20036: Malicious code in base64-x58 (npm)

Published Nov 14, 2026
·
Updated

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.

Affected Software

1 affected component
npm/base64-x58*

Event History

Nov 14, 2026
Advisory Published
via OSV·03:13 PM
Data Sourced
via OSV·03:13 PM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203