Skip to main content

Malicious code in tron-trc20-utils (RubyGems)

0
High
Published: 10/11/2026 (10/11/2026, 13:48:19 UTC)
Source: GCVE Database
Product: tron-trc20-utils

Description

The Ruby gem 'tron-trc20-utils' version 0.9.1 contains malicious code that executes a reverse shell during installation. The gem's extconf.rb file decodes and evaluates a base64-encoded payload that connects to a remote IP address and provides an interactive shell to the attacker. The malicious behavior is designed to evade sandbox and continuous integration environments by checking for specific environment variables, hostnames, usernames, working directories, system uptime, and the presence of developer artifacts. The gem's metadata and contents are inconsistent, indicating deception. This reverse shell is the primary functionality of the package, posing a significant security risk to users who install it.

Affected software

RubyGemsghsa
tron-trc20-utils
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:44:53 UTC

Technical Analysis

The 'tron-trc20-utils' Ruby gem version 0.9.1 includes a malicious payload embedded in its extconf.rb script. Upon installation, the script decodes and executes a base64-encoded Ruby payload that opens a TCP connection to 45.138.12.177 on port 8089, bridging it to /bin/sh and granting the remote operator an interactive shell on the installer's machine. The payload includes multiple evasion techniques to avoid execution in sandbox or CI environments by checking environment variables, hostnames, usernames, working directories, system uptime, and the presence of developer files such as SSH keys and configuration files. The gem's metadata is misleading, with mismatched names and a trivial library exposing minimal functionality, indicating the reverse shell is the package's true purpose.

Potential Impact

Successful installation of this gem on a developer or user machine can lead to remote code execution by an attacker, who gains an interactive shell with the installer's privileges. This can result in unauthorized access, data theft, system compromise, and further lateral movement within the affected environment. The evasion techniques reduce the likelihood of detection during automated analysis or sandboxing, increasing the risk of unnoticed compromise.

Mitigation Recommendations

No official patch or remediation is indicated. Users should avoid installing the 'tron-trc20-utils' gem version 0.9.1 from untrusted sources. Verify the authenticity and integrity of Ruby gems before installation. Employ strict controls on package sources and consider using tools that scan for malicious packages. Since this is a malicious package rather than a vulnerability in legitimate software, removal of the package and investigation of affected systems is recommended if installed.

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

Threat ID: 6acc00a32cdf04f656fecb3a

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

Last enriched: 10/11/2026, 21:44:53 UTC

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