web3-eth-utils (RubyGems) · Malicious Code
Affects web3-eth-utilsSource GCVE Database
Malicious package : remove web3-eth-utils and rotate any secrets on hosts that installed it.
Data as of 11 Oct 2026, 21:42 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-17616
What to do
Remove web3-eth-utils from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsweb3-eth-utils | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The RubyGems package 'web3-eth-utils' version 1.0.0 and 1.0.3 contains malicious code that executes during gem installation. The native extension script performs environment checks to evade sandbox and CI environments, then decodes and executes a Ruby payload that establishes a persistent reverse shell to a remote IP address. The package is a typosquat lure mimicking legitimate web3/eth ecosystem packages, with the actual malicious behavior hidden in the install-time hook.