Skip to main content
MalwarePublished Updated

xrp-ledger-utils (RubyGems) · Malicious Code

Affects xrp-ledger-utilsSource GCVE Database

0

Malicious package : remove xrp-ledger-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-17802

What to do

Remove xrp-ledger-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
RubyGemsxrp-ledger-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 xrp-ledger-utils RubyGem version 0.9.1 contains malicious code embedded in its native extension builder. This code decodes and executes a base64-encoded Ruby payload that establishes a persistent remote shell connection to a hardcoded command-and-control server. The payload activates only on developer workstations, bypassing analysis environments, and provides an interactive shell to the attacker. The package itself has no legitimate functionality and is a malicious dropper disguised under unrelated project files.

References

Community reviews

Loading reviews…