hrab2 (RubyGems) · Malicious Code
Affects hrab2Source GCVE Database
Malicious package : remove hrab2 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-7759
What to do
Remove hrab2 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 |
|---|---|---|
RubyGemshrab2pkg:gem/hrab2Other 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 hrab2 RubyGem version 0.0.1 contains malicious code as identified by the OpenSSF malicious packages project. This is a security threat involving a malicious package in the RubyGems ecosystem. No CVSS score or detailed technical exploitation information is provided.