Skip to main content
MalwarePublished

enkash-pg (RubyGems) · Malicious Code

Affects enkash-pgSource GCVE Database

0

Malicious package : remove enkash-pg and rotate any secrets on hosts that installed it.

Data as of 4 Dec 2026, 14:15 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-21132

What to do

Remove enkash-pg 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
RubyGemsenkash-pgAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The enkash-pg RubyGem version 1.0.0 contains malicious code that executes during installation and runtime. It declares a native extension without any native source code, using the install process to perform an undisclosed HTTPS callback to a third-party domain unrelated to the legitimate publisher. This callback occurs both at install time and when the library is loaded, enabling out-of-band code execution and host reachability to an attacker-controlled server.

References

Community reviews

Loading reviews…