multichain-rpc (RubyGems) · Malicious Code
Affects multichain-rpcSource GCVE Database
Malicious package : remove multichain-rpc and rotate any secrets on hosts that installed it.
Data as of 11 Oct 2026, 21:44 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-17791
What to do
Remove multichain-rpc 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 |
|---|---|---|
| RubyGemsmultichain-rpc | 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 multichain-rpc RubyGem version 0.9.1 contains malicious code embedded in its extconf.rb file. This code executes during gem installation, launching a background process that connects to a remote host and provides an interactive shell to an attacker. The payload uses evasion techniques to avoid detection in developer and CI environments and delays execution by 20-40 minutes. The gem's visible code is a decoy, with stub methods and misleading documentation.