Malicious code in sol-mint-utils (RubyGems)
Description
The sol-mint-utils RubyGem version 0.9.1 contains malicious code that executes during installation. It runs a base64-decoded Ruby payload in a forked process, which opens a reverse shell to a hardcoded IP address, allowing remote command execution. The payload includes anti-analysis checks to avoid detection in CI environments, sandboxes, or short uptime systems, and only activates if developer artifacts are present on the host.
Affected software
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
Technical Analysis
The sol-mint-utils gem (version 0.9.1) includes a native-extension stub (extconf.rb) that executes automatically on gem installation. This stub decodes and evaluates a Ruby payload that establishes a reverse shell connection to 45.138.12.177:8089 by bridging a /bin/sh session over a TCP socket. The payload employs anti-analysis techniques by checking environment variables, hostnames, usernames, working directories, and system uptime to evade detection. It activates only if developer-specific files such as ~/.ssh, ~/.gitconfig, and ~/.gem/credentials exist, indicating a developer environment. The gem's README misleadingly references an unrelated package, bitcoin-rpc-lite, suggesting the gem's declared purpose is a cover for malicious activity.
Potential Impact
Successful installation of this gem on a developer machine can lead to remote code execution via an interactive reverse shell, potentially allowing an attacker full control over the affected system. The anti-analysis checks reduce the likelihood of detection during automated or sandboxed environments, increasing the risk of stealthy compromise on developer workstations.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing the sol-mint-utils gem version 0.9.1. Verify gem sources and integrity before installation, and monitor for suspicious network connections to the IP 45.138.12.177 on port 8089. Check for presence of this gem in development environments and remove it if found. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17795
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["RubyGems"]
Threat ID: 6acc00a32cdf04f656fecb32
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:44:20 UTC
Last updated: 10/11/2026, 21:44:20 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.