Skip to content

MAL-2026-21132 Malicious code in enkash-pg (RubyGems)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (9d1650b5e956f4d968ddf2af7f95f9d8e476d6e3fa310ff1e1fdce237b4d0ec0)

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
rubygems enkash-pg(RubyGems) = 1.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems enkash-pg(RubyGems) = 1.0.0 No fix listed

References