Skip to main content

Malicious code in seed-phrase-validator (RubyGems)

0
High
Published: 10/11/2026 (10/11/2026, 13:46:51 UTC)
Source: GCVE Database
Product: seed-phrase-validator

Description

The seed-phrase-validator RubyGem version 0.9.1 contains malicious code that executes during installation. It runs a base64-decoded Ruby payload in a detached process that opens a TCP socket to a hardcoded IP, providing a remote shell on the host. The malicious behavior is triggered only on developer environments with specific artifacts present, avoiding analysis environments. The package identity is inconsistent, indicating deception.

Affected software

RubyGemsghsa
seed-phrase-validator
Affected versions
=0.9.1

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:45:35 UTC

Technical Analysis

The seed-phrase-validator gem (version 0.9.1) declares a native extension but includes no native source code. Instead, its extconf.rb script executes at gem install time, decoding and evaluating a base64-encoded Ruby payload inside a detached fork process. This payload opens a TCP socket to 45.138.12.177:8089 and bridges it to /bin/sh, effectively granting an interactive remote shell on the installer's machine. Execution is conditioned on the presence of developer artifacts such as ~/.ssh, ~/.gitconfig, ~/.npmrc, ~/.gem/credentials, or ~/.bundle, and avoids CI runners, sandbox environments, and low-uptime machines. The package's metadata is inconsistent, with mismatched names and targets, suggesting malicious intent.

Potential Impact

Successful installation of this gem version on a developer machine can lead to remote code execution via an interactive shell accessible to an attacker at the hardcoded IP address. This compromises the host system's confidentiality, integrity, and availability. The targeted execution conditions reduce detection likelihood but increase risk to developer environments.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing seed-phrase-validator version 0.9.1. Verify package integrity and source before installation. Consider removing the gem if already installed and investigate any suspicious network connections to the IP 45.138.12.177 on port 8089. Monitor for unauthorized remote shell activity. 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-17794
Osv Schema Version
1.7.4
Ecosystems
["RubyGems"]

Threat ID: 6acc00a32cdf04f656fecb42

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

Last enriched: 10/11/2026, 21:45:35 UTC

Last updated: 10/11/2026, 21:45:35 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