Advisory

MAL-2026-13215

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @zzzcrypto/xrp-lib (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (781049b09ea0edc63ede63c8c559e3e9a08255982bbe6d18c2e4c0823b4fdf0c)
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.

Severity

Not rated by the source.

Dates

Published
2026-08-05 15:32 UTC
Modified
2026-08-05 16:49 UTC

Affected packages and fixes

@zzzcrypto/xrp-lib

npm · All systems

Affected

  • Versions: 2.14.0

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences