MAL-2026-13215 Malicious code in @zzzcrypto/xrp-lib (npm)
Malicious package
Published
MAL-2026-13215 is a malicious package: @zzzcrypto/xrp-lib (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-13215/ (Markdown: https://insights.sbomify.com/MAL-2026-13215/index.md)
- Package
- @zzzcrypto/xrp-lib
- Registry
- npm
What is MAL-2026-13215?
MAL-2026-13215 is a malicious package in @zzzcrypto/xrp-lib, published on 5 Aug 2026.
Official description
Package impersonates the legitimate xrpl library (README: 'Drop-in replacement for xrpl'; author field 'XRPLF'; repo points to a non-existent XRPLF/xrp-lib). On require, index.js collects hostname, username, home directory, current working directory, and the entire process.env, JSON-serializes and base64-encodes the payload, then transmits it as a GET query parameter to a hardcoded Telegram Bot API endpoint (api.telegram.org, bot id 7231970337, chat_id 8969499041). A temp-file flag suppresses repeat sends. The embedded payload references
@wethenorth12/xrp-lib while this package is @zzzcrypto/xrp-lib, indicating the same code has been republished under multiple scopes. process.env in developer and CI environments routinely holds cloud tokens, npm publish tokens, database URLs, and API keys, which are captured wholesale by this transmission.What should I do about MAL-2026-13215?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.