MAL-2026-14276

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node_cryptography/MAL-2026-14276.json
JSON Data
https://api.test.osv.dev/v1/vulns/MAL-2026-14276
Published
2026-08-19T07:43:47Z
Modified
2026-08-19T08:00:10.823306342Z
Summary
Malicious code in node_cryptography (npm)
Details

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

Source: amazon-inspector (1e10a704c94a9f7a4f6344a67e3867cd87b21be574e81bbdccdc6b5ca48f65a2)

The package presents itself as a Node.js cryptography helper and depends on ethers, encouraging callers to pass cryptographic or wallet material to its sole exported async function. That function forwards the caller's argument via axios to an APIBASEURL assembled at runtime from ~13 fragments produced by an obfuscator.io RC4 string-array decoder. The entire ~30 KB index.js is wrapped in the standard obfuscator.io scheme (RC4+base64 string array, hex-escaped literals, wrapped index accessors, array-rotation IIFE, and a self-defending RegExp function-body anti-tamper check) whose only purpose here is to hide the destination URL. The caller does not configure this destination and is not informed of it; normal use of the advertised API silently leaks the caller's cryptographic inputs to an author-controlled host.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-018392",
            "versions": [
                "1.0.0"
            ],
            "source": "amazon-inspector",
            "sha256": "1e10a704c94a9f7a4f6344a67e3867cd87b21be574e81bbdccdc6b5ca48f65a2",
            "import_time": "2026-08-19T07:48:47.167746333Z",
            "modified_time": "2026-08-19T07:43:47Z"
        }
    ]
}
References
Credits

Affected packages

npm / node_cryptography

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "node_cryptography-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-pRjmUqCzqJlKesFI0rZ3a0+O49w0Z3FVlC00owFtwcinCeSI54yh2Q3XVwwfbQgASigc50cA2uRHM4X8HsxDqA==",
                "sha1": "7fea3288b57dcbb6c6fe48e5268001fbcfc716a2"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "36818f21afa90fc408d190517e8aea61f86bd13f1b5b6523b1300879695ee689",
            "path": "index.js",
            "tlsh": "76d2abd077d0e803568f4b63bf16b9e8e42a98ba34d8994bd150b98cb4bd507c5b4ef0"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/node_cryptography/MAL-2026-14276.json"
cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]