MAL-2026-13215

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzcrypto/xrp-lib/MAL-2026-13215.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13215
Published
2026-08-05T15:32:31Z
Modified
2026-08-05T16:49:56Z
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-015738",
            "import_time": "2026-08-05T16:13:38.52823867Z",
            "modified_time": "2026-08-05T15:32:31Z",
            "sha256": "781049b09ea0edc63ede63c8c559e3e9a08255982bbe6d18c2e4c0823b4fdf0c",
            "source": "amazon-inspector",
            "versions": [
                "2.14.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @zzzcrypto/xrp-lib

Package

Name
@zzzcrypto/xrp-lib
View open source insights on deps.dev
Purl
pkg:npm/%40zzzcrypto/xrp-lib

Affected ranges

Affected versions

2.*
2.14.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "8b48deaa68b235ef41d8029c4fbcc69a1aaf5764ce659b4ac32436c0ed72d505",
            "tlsh": "9421668827f1f94d31736192552fe50eb27bc9e258c8f661d564d4c36f701cc4a55398"
        }
    ],
    "package_integrity": [
        {
            "filename": "xrp-lib-2.14.0.tgz",
            "hashes": {
                "sha1": "23ecd13c72e027f7f3bc681bbe16757db98d46da",
                "sha512_sri": "sha512-essY6U0LiDIr4v712W0DjLjXuEr7ROBjt0cUuyNFaguwMo/dR6AJMmVwFaXdOnaERQ++QGOm5464MyN9+U0bWg=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zzzcrypto/xrp-lib/MAL-2026-13215.json"