Skip to content
OpenAdvisories
Malicious MAL-2026-11461 GHSA-5hj6-99cc-g84q

eth-bridge

npm package · versions 1.0.1, 1.0.0

Reported Jul 31, 2026 · Updated Aug 5, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

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.