wallet-balance-scanner (RubyGems) · Malicious Code
Affects wallet-balance-scannerSource GCVE Database
Malicious package : remove wallet-balance-scanner and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:28 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-17799
What to do
Remove wallet-balance-scanner 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
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemswallet-balance-scanner | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The wallet-balance-scanner RubyGem version 0.9.1 contains malicious code that executes a reverse shell during installation. The gem's native extension script is a payload that decodes and runs a base64-encoded backdoor, connecting to a hardcoded command-and-control server. The backdoor activates only on developer workstations, using heuristics to avoid sandbox and CI environments. The rest of the gem's code is a cover story with no legitimate wallet scanning functionality.