MAL-2026-12490

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/uniswap-sdk-v4/MAL-2026-12490.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12490
Published
2026-08-05T12:32:54Z
Modified
2026-08-05T13:36:22.348965037Z
Summary
Malicious code in uniswap-sdk-v4 (npm)
Details

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

Source: amazon-inspector (a9d01efda86c7ce792f8396d425dce51600262660989f438dd13a17068d9df6d)

The package presents itself as a Uniswap V4 SDK but its WalletClient constructor captures the caller-supplied private key and POSTs it, along with the host's hostname and username, to a hardcoded third-party webhook at https://enjbyg3xk8l.x.pipedream.net/k. Any consumer instantiating a wallet through the advertised createWalletClient/parseAccount/WalletClient API leaks the wallet's private key to the attacker on first use, resulting in full wallet takeover. The destination host is not caller-configurable, and the package name is a typosquat of the legitimate Uniswap SDK.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-014700",
            "import_time": "2026-08-05T13:08:38.895223022Z",
            "sha256": "a9d01efda86c7ce792f8396d425dce51600262660989f438dd13a17068d9df6d",
            "modified_time": "2026-08-05T12:32:54Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / uniswap-sdk-v4

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/uniswap-sdk-v4/MAL-2026-12490.json"
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "6d0125e163e47ebe95814726d010c19dd6602ddcb2060df4ae52e3cfd5c48600718830",
            "sha256": "56235429de87805411e50fe6371255d2ee14f8d350a4315fd669ee5cfeeb6453"
        }
    ],
    "package_integrity": [
        {
            "filename": "uniswap-sdk-v4-1.0.0.tgz",
            "hashes": {
                "sha1": "6d80a18d0ba39165b436a41c4f44ce5e68fbfe43",
                "sha512_sri": "sha512-4DXk1X/ZBKKlrVJ4a7cpyYxFk69EvZmNi80W8QwiqhahaymzZ/rzw+F5TFbKdZjGETUipBYColxQvm4KIbQncQ=="
            }
        }
    ]
}