defi-yield-calculator (RubyGems) · Malicious Code
Affects defi-yield-calculatorSource GCVE Database
Malicious package : remove defi-yield-calculator and rotate any secrets on hosts that installed it.
Data as of 11 Oct 2026, 21:46 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-17783
What to do
Remove defi-yield-calculator 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 |
|---|---|---|
| RubyGemsdefi-yield-calculator | 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 'defi-yield-calculator' version 0.9.1 contains malicious code that executes a hidden payload during installation. This payload establishes a persistent remote shell connection to a hardcoded IP address, allowing an attacker interactive access to the victim's machine. The malicious behavior is concealed by anti-analysis checks to avoid detection in sandboxed or ephemeral environments. The package masquerades as a legitimate DeFi yield calculator but includes deceptive metadata and a native extension trigger solely to execute the malicious code.