MAL-2026-20108: Malicious code in base128-x58-1 (npm)

Published Nov 16, 2026
·
Updated

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 {chatid, 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.

Affected Software

1 affected component
npm/base128-x58-1=0.0.1, =0.0.2, =0.0.3, =0.0.4

Event History

Nov 16, 2026
Advisory Published
via OSV·04:20 PM
Data Sourced
via OSV·04:20 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which applications are most at risk of data exposure?

Applications that installed the package and call its decode(string) export are exposed. The captured input is typically a base58-encoded private key or address.

2

What conditions are required for exploitation?

The malicious behavior runs when application code calls decode(string) from either the ESM or CommonJS entry point. The supplied string is then POSTed to a hardcoded Telegram bot.

3

How can I determine whether my deployment was affected?

Versions 0.0.1 through 0.0.4 were verified to contain the modified decode implementation. Review installed dependency versions and inspect src/esm/index.js and src/cjs/index.cjs for obfuscator.io-style code that sends the input string through Telegram sendMessage.

4

Does the package remain available from npm?

The package was unpublished from npm on 2025-09-11. A version 0.0.5 was published on 2025-08-04, but the provided data does not verify its source.

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