NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

enkash-pgRubyGems

Advisory published Updated

enkash-pg is a confirmed malicious RubyGems package (MAL-2026-21132) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in enkash-pg (RubyGems)

MAL-2026-21132
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
gem uninstall enkash-pg

What this malware does

enkash-pg 1.0.0 ships no payment-SDK functionality; its lib/enkash_pg.rb is an inert stub. The gemspec declares a native extension (extensions: - ext/extconf.rb) while the package contains no C/C++/Rust sources. ext/extconf.rb, which runs automatically during gem install, performs an unconditional HTTPS GET to the hardcoded host https://workinc.top/oob/o1-76e3ec8d88e33838b1370c650492580e29872b90 with pkg=enkash-pg-rubygems&phase=install, falls back to a curl subprocess if the Ruby HTTP call fails, and then writes a no-op Makefile (all:\n\ttrue) so the build appears to succeed. lib/enkash_pg.rb repeats the same callback with phase=require when the library is loaded. The destination domain is unrelated to the claimed publisher's documented domain and the callback is undisclosed, confirming out-of-band code execution and host reachability on the installing machine to a third party. The extension declaration with no native code exists solely to obtain install-time execution.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

9d1650b5e956f4d968ddf2af7f95f9d8e476d6e3fa310ff1e1fdce237b4d0ec0

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for enkash-pg (version 1.0.0).

  2. If you installed it — respond

    Remove enkash-pg from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If enkash-pg was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. enkash-pg on RubyGems has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023233

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks enkash-pg-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

enkash-pg (RubyGems) malicious package — MAL-2026-21132 | O3 Security