Skip to main content

Malicious code in eth-keystore-utils (RubyGems)

0
High
Published: 10/05/2026 (10/05/2026, 07:10:38 UTC)
Source: GCVE Database
Product: eth-keystore-utils

Description

The RubyGems package 'eth-keystore-utils' version 1.0.0 and 1.0.3 contains a malicious native extension script that executes a hidden payload during gem installation. The payload establishes a persistent reverse shell to a hardcoded IP address, allowing remote command execution. The malicious code evades detection by checking for CI environments, sandbox indicators, and the presence of developer secrets before activating. The package was published on 2026-10-05 and targets Ethereum developers likely to have sensitive wallet and credential files.

Affected software

RubyGemsghsa
eth-keystore-utils
Affected versions
=1.0.0=1.0.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/11/2026, 21:42:19 UTC

Technical Analysis

The 'eth-keystore-utils' RubyGems package includes a native extension script 'ext/req_throttle_mini/extconf.rb' that runs during 'gem install'. This script performs environment checks to avoid execution in CI, sandboxes, or ephemeral environments and requires the presence of developer secret files and system uptime over 30 minutes. It decodes a Base64-encoded Ruby payload, forks twice to create a detached process, waits 20 to 40 minutes, and then opens a reverse shell connecting to 45.138.12.177 on TCP port 8090. The reverse shell pipes '/bin/sh' to the remote operator and reconnects every 30 seconds if disconnected. The Ruby code in the 'lib/' directory is a decoy. The package was published by the RubyGems account 'reqthrottle_3474' along with 41 other similarly malicious gems on 2026-10-05. This behavior classifies the package as malicious software designed to compromise developer workstations.

Potential Impact

Successful installation of this package results in a persistent remote shell on the victim's machine, allowing an attacker to execute arbitrary commands with the privileges of the installing user. This can lead to theft of sensitive data such as Ethereum wallet keys, cloud credentials, and version control system credentials. The attack is stealthy, evading automated detection by delaying execution and checking for analysis environments, increasing the likelihood of compromise in developer environments.

Defensive Guidance

No official patch or remediation is available as this is a malicious package rather than a vulnerability in legitimate software. The primary mitigation is to avoid installing this package and any others published by the 'reqthrottle_3474' RubyGems account. Users should verify package authenticity before installation and rely on trusted sources. Security teams should monitor for and remove this package if found in environments. Since this is not a cloud service, remediation depends on user action to uninstall and block the malicious package.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-17598
Osv Schema Version
1.7.4
Ecosystems
["RubyGems"]

Threat ID: 6acc00a22cdf04f656fecafb

Added to database: 10/11/2026, 21:33:22 UTC

Last enriched: 10/11/2026, 21:42:19 UTC

Last updated: 10/11/2026, 21:42:19 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses