Skip to main content
MalwarePublished Updated

tron-trc20-utils (RubyGems) · Malicious Code

Affects tron-trc20-utilsSource GCVE Database

0

Malicious package : remove tron-trc20-utils and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:28 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-17798

What to do

Remove tron-trc20-utils from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
RubyGemstron-trc20-utilsAffected
  • =0.9.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…