MAL-2026-11461

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eth-bridge/MAL-2026-11461.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-11461
Aliases
  • GHSA-5hj6-99cc-g84q
Published
2026-07-31T17:05:05Z
Modified
2026-08-05T07:21:11.319662538Z
Summary
Malicious code in eth-bridge (npm)
Details

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

Source: amazon-inspector (8d7fbf15a08eb3568d462e06fa345cfdb59afe88bf38b63e47ecea29ea92c009)

The package presents itself as an Ethereum bridge library but its index.js is a verbatim copy of the well-known eth-sig-util signature utility (retaining internal error strings such as "eth-sig-util.normalize() requires hex string or integer input." and attributing authorship to Dan Finlay) with an additional ~47KB obfuscated payload appended at module top level. The payload is invoked immediately via a Function("BdyPFg", "...") constructor call using a custom PRNG-driven string decoder and numeric dispatch table, meaning arbitrary attacker-controlled code executes on every require('eth-bridge'). The name/description/author mismatch combined with an opaque import-time dynamic-code-execution payload is the typosquat-with-loader shape; the legitimate eth-sig-util code serves as cover for the loader.

Source: ghsa-malware (92412016c9d8c246f1f14cbe2b5efbba127ebdc30014f874baf5521f115663cf)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-02T22:41:04.784573Z",
            "modified_time": "2026-07-31T17:05:05Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-5hj6-99cc-g84q",
            "sha256": "92412016c9d8c246f1f14cbe2b5efbba127ebdc30014f874baf5521f115663cf",
            "source": "ghsa-malware"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-04T21:39:50Z",
            "sha256": "8d7fbf15a08eb3568d462e06fa345cfdb59afe88bf38b63e47ecea29ea92c009",
            "id": "IN-MAL-2026-011151",
            "versions": [
                "1.0.1"
            ],
            "import_time": "2026-08-04T22:30:01.992181447Z"
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T06:00:51Z",
            "sha256": "b1a84a21abd044ce5a70a074c7deb0e75e5f9708790742b670ab7aaf4cba230b",
            "id": "IN-MAL-2026-013283",
            "versions": [
                "1.0.0"
            ],
            "import_time": "2026-08-05T07:06:39.517235408Z"
        }
    ]
}
References
Credits

Affected packages

npm / eth-bridge

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0
1.0.1

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "2f36beaefa282ea41f05bf884296b320ca89b2c1fa7dd2528cb0e3413648307c",
            "tlsh": "e23385e429cfe9458e43d184ba6dcf8ebbf9f53546400c0a6d3a6327e45d6c0e7e1688"
        },
        {
            "path": "package.json",
            "sha256": "02df72101e8904204fcc399ce290daf3c5e4346029540d519525e40d685317b7",
            "tlsh": "6401d724ee3199a30ac82872182946a373229d4b8098bc0df39b815c4b8f46f22bd5dd"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eth-bridge/MAL-2026-11461.json"