Skip to main content
MalwarePublished Updated

ton-jetton-tools (RubyGems) · Malicious Code

Affects ton-jetton-toolsSource GCVE Database

0

Malicious package : remove ton-jetton-tools 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-17797

What to do

Remove ton-jetton-tools 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
RubyGemston-jetton-toolsAffected
  • =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 RubyGem 'ton-jetton-tools' version 0.9.1 contains malicious code in its native-extension build script (extconf.rb). This code decodes and executes a payload during gem installation that establishes a reverse shell connection to a remote IP, allowing remote command execution on the installer's host. The payload includes anti-analysis checks to evade detection in CI or sandbox environments and only activates if certain developer artifacts are present. The gem's metadata is inconsistent with its README, indicating an attempt to disguise its malicious intent.

References

Community reviews

Loading reviews…