rspec-candy (RubyGems) · Malicious Code
Affects rspec-candySource GCVE Database
Malicious package : remove rspec-candy and rotate any secrets on hosts that installed it.
Data as of 18 Jul 2026, 22:37 UTC
Malicious package
Published to RubyGems · OSV MAL-2024-7016
What to do
Remove rspec-candy 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 |
|---|---|---|
RubyGemsrspec-candypkg:gem/rspec-candyOther threats | 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 'rspec-candy' version 0.5.1 contains malicious code. This package is identified as a malicious package by the OpenSSF and is listed in the malicious packages database. There is no CVSS score or detailed technical exploit information available. No patch or remediation guidance is provided at this time.