hack-cards (RubyGems) · Malicious Code
Affects hack-cardsSource GCVE Database
Malicious package : remove hack-cards and rotate any secrets on hosts that installed it.
Data as of 19 Jul 2026, 00:05 UTC
Malicious package
Published to RubyGems · OSV MAL-2024-6938
What to do
Remove hack-cards 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 |
|---|---|---|
RubyGemshack-cardspkg:gem/hack-cardsOther 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 'hack-cards' version 0.0.4 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 known exploits in the wild have been reported.