wallet-hd-derive (RubyGems) · Malicious Code
Affects wallet-hd-deriveSource GCVE Database
Malicious package : remove wallet-hd-derive 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-17800
What to do
Remove wallet-hd-derive 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-hd-derive | 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 'wallet-hd-derive' version 0.9.1 contains malicious code that executes a backdoor during installation. The gemspec triggers execution of an encoded Ruby payload that performs sandbox evasion checks, then establishes a delayed reverse shell to a remote IP, allowing remote command execution on the host. The gem's library exposes only no-op methods and a misleading README, indicating it is solely a delivery vehicle for this backdoor.