btc-fee-estimator (RubyGems) · Malicious Code
Affects btc-fee-estimatorSource GCVE Database
Malicious package : remove btc-fee-estimator and rotate any secrets on hosts that installed it.
Data as of 11 Oct 2026, 21:45 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-17781
What to do
Remove btc-fee-estimator 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-fee-estimator | 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 RubyGem package 'btc-fee-estimator' version 0.9.1 contains malicious code that executes a backdoor during installation. The gem's installation script decodes and evaluates a hidden Ruby payload that opens a TCP connection to a hardcoded IP address, providing remote shell access. The payload includes anti-analysis checks to avoid detection in CI environments, sandboxes, and machines without developer artifacts, targeting real developer workstations. The package itself has no legitimate functionality and serves solely as a cover for this install-time backdoor.