btc-wallet-tools (RubyGems) · Malicious Code
Affects btc-wallet-toolsSource GCVE Database
Malicious package : remove btc-wallet-tools and rotate any secrets on hosts that installed it.
Data as of 11 Oct 2026, 21:42 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-17589
What to do
Remove btc-wallet-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
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsbtc-wallet-tools | 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 RubyGems package 'btc-wallet-tools' version 1.0.0 and 1.0.3 contains malicious code in its native extension script 'ext/req_throttle_mini/extconf.rb'. This script executes during gem installation and, after performing environment checks to evade analysis, decodes and runs a Base64-encoded Ruby payload that opens a reverse shell to a remote attacker. The reverse shell connects to IP 45.138.12.177 on TCP port 8090, providing the attacker with remote shell access to the host. The malicious behavior is concealed by delaying execution and checking for developer artifacts, making detection difficult during automated scans.