enkash-pg (RubyGems) · Malicious Code
Affects enkash-pgSource GCVE Database
Malicious package : remove enkash-pg and rotate any secrets on hosts that installed it.
Data as of 4 Dec 2026, 14:15 UTC
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
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsenkash-pg | 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 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.