bitcoin-rpc-lite (RubyGems) · Malicious Code
Affects bitcoin-rpc-liteSource GCVE Database
Malicious package : remove bitcoin-rpc-lite 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-17587
What to do
Remove bitcoin-rpc-lite 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 |
|---|---|---|
| RubyGemsbitcoin-rpc-lite | 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 bitcoin-rpc-lite RubyGem version 1.0.0 and 1.0.3 contains malicious code in its native extension build script extconf.rb. This script executes automatically during gem installation and, after evasion checks, opens a reverse shell to a hardcoded attacker IP address, allowing remote code execution. The malicious payload is concealed via Base64 encoding and delayed execution to evade detection in short-lived environments.