Skip to main content

Malicious code in crypto-mnemonic-tools (RubyGems)

0
High
Published: 10/05/2026 (10/05/2026, 07:10:39 UTC)
Source: GCVE Database
Product: crypto-mnemonic-tools

Description

The RubyGems package 'crypto-mnemonic-tools' version 1.0.0 and 1.0.3 contains a malicious native extension script that executes during gem installation. The script performs environment checks to avoid CI and sandbox environments, then after a delay, opens a reverse shell to a remote IP address, providing an attacker interactive shell access on the victim's machine. The malicious behavior is hidden behind a decoy Ruby library and uses a double-forked daemon process to evade detection.

Affected software

RubyGemsghsa
crypto-mnemonic-tools
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:27 UTC

Technical Analysis

The 'crypto-mnemonic-tools' RubyGems package includes a native extension script 'ext/req_throttle_mini/extconf.rb' that runs during 'gem install'. This script performs anti-analysis checks to avoid execution in CI, sandbox, or ephemeral environments by inspecting environment variables, hostnames, usernames, working directories, system uptime, and presence of developer artifacts. If conditions are met, it decodes a Base64 Ruby payload, forks twice to create a detached daemon, sleeps for 20 to 40 minutes, and then opens a reverse shell connecting '/bin/sh' to TCP port 8090 on IP 45.138.12.177. The shell reconnects every 30 seconds to maintain access. The extension has no native C sources and exists solely as an execution vector. The package was published by the RubyGems account 'reqthrottle_3474' along with 41 other similarly malicious gems on 2026-10-05.

Potential Impact

Successful installation of this gem on a developer's machine can result in remote code execution via a reverse shell, allowing an attacker to gain interactive shell access. This compromises the confidentiality and integrity of the affected system. The attack is stealthy, evading CI and sandbox detection and delaying execution to bypass install-time monitoring.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the 'crypto-mnemonic-tools' gem versions 1.0.0 and 1.0.3. Remove any installations of this gem and related packages published by the 'reqthrottle_3474' account. Monitor for suspicious outbound connections to IP 45.138.12.177 on TCP port 8090. Check vendor advisories for updates or official guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

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-17595
Osv Schema Version
1.7.4
Ecosystems
["RubyGems"]

Threat ID: 6acc00a22cdf04f656fecafd

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

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

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

Views: 2

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