Skip to main content
MalwarePublished Updated

hgpathr2 (RubyGems) · Malicious Code

Affects hgpathr2Source GCVE Database

0

Malicious package : remove hgpathr2 and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:07 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-7735

What to do

Remove hgpathr2 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

ProductAffectedFixed in
RubyGemshgpathr2pkg:gem/hgpathr2Other threatsAffected
  • =0.0.1
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 'hgpathr2' version 0.0.1 has been identified as containing malicious code. This package is flagged as a malicious package by the OpenSSF and is listed in their malicious packages database. No specific technical details about the nature of the malicious code or its impact are provided.

References

Community reviews

Loading reviews…