eth-bridge
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-5hj6-99cc-g84q
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in eth-bridge (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0