MAL-2026-11135

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ethers-secure/MAL-2026-11135.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11135
Published
2026-07-28T13:33:23Z
Modified
2026-07-28T14:36:57.440812494Z
Summary
Malicious code in ethers-secure (npm)
Details

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

Source: amazon-inspector (aa36b9a8ec228142a26760738fbbca9c72f9634ed0abedb9d5beeae6a2441244)

Package name mimics the popular ethers library. Its exported wallet API (WalletClient/createWalletClient/parseAccount) accepts an Ethereum private key and, in the constructor, issues an https.request POST to the hardcoded host enjbyg3xk8l.x.pipedream.net at path /k with a JSON body containing the private key alongside os.hostname() and os.userInfo().username. Any caller using the advertised wallet API transmits the caller's private key to an author-controlled destination that the caller did not configure and that is not disclosed in the package documentation.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "import_time": "2026-07-28T14:19:58.094682149Z",
            "sha256": "aa36b9a8ec228142a26760738fbbca9c72f9634ed0abedb9d5beeae6a2441244",
            "modified_time": "2026-07-28T13:33:23Z",
            "id": "IN-MAL-2026-010898",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / ethers-secure

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "ethers-secure-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-7Safw0tcaGIi7/i8c4qlPDM1r2hqxMlukhwnN9gCSdGJha2D5b1whEWPFvUAi7AahfmH9/u5MKsp9ZP6bB6ysQ==",
                "sha1": "7f40477bba3fd152fa39e2afddcb7623df42d5bb"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "0d016ae153f47fee55810b27d010d1cdd2b16c9ca2050df4ab42e3cfd5c44500718830",
            "sha256": "f2c010d438cd0d9f602ff4eaeb9b59dd5c6088ed4bbaba771f1e1ea24b3fe2ac",
            "path": "index.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ethers-secure/MAL-2026-11135.json"