hraq2 (RubyGems) · Malicious Code
Affects hraq2Source GCVE Database
Malicious package : remove hraq2 and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:07 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-7764
What to do
Remove hraq2 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 |
|---|---|---|
RubyGemshraq2pkg:gem/hraq2Other 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 RubyGem 'hraq2' version 0.0.1 contains malicious code. This package is identified as a malicious package by the OpenSSF and is flagged in the RubyGems ecosystem. There is no CVSS score or detailed technical vulnerability description available. No official patch or remediation guidance is provided, and no known exploits in the wild have been reported.