crypto-mnemonic-tools (RubyGems) · Malicious Code
Affects crypto-mnemonic-toolsSource GCVE Database
Malicious package : remove crypto-mnemonic-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-17595
What to do
Remove crypto-mnemonic-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 |
|---|---|---|
| RubyGemscrypto-mnemonic-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 'crypto-mnemonic-tools' version 1.0.0 and 1.0.3 contains a malicious native extension script that executes during gem installation. The script performs environment checks to avoid CI and sandbox environments, then after a delay, opens a reverse shell to a remote IP address, providing an attacker interactive shell access on the victim's machine. The malicious behavior is hidden behind a decoy Ruby library and uses a double-forked daemon process to evade detection.