Malicious code in zzhelloworld_socktest (RubyGems)
MAL-2026-18126
Published · Modified
Dependency scanning
Check whether zzhelloworld_socktest is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (4344ab16d08a7e38ea2f32b406453f86d792c0fa17103125ad84ffd0e39c187f)
On require "zzhelloworld_socktest", the library's top-level module body opens a TCP connection to the hardcoded remote endpoint 66.78.40.218:32768, reopens STDIN, STDOUT, and STDERR onto that socket, and execs /bin/sh -i. Loading the gem gives the operator of that remote host an interactive shell on the installing machine, with no authentication and full process privileges. The gem's stated purpose is a trivial test library, which does not match a remote-shell capability. The destination is a bare IPv4 address unrelated to any declared publisher infrastructure.
References
- PACKAGE https://rubygems.org/gems/zzhelloworld_socktest/versions/0.1.9
- PACKAGE https://rubygems.org/gems/zzhelloworld_socktest/versions/0.1.5
- PACKAGE https://rubygems.org/gems/zzhelloworld_socktest/versions/0.1.6
- PACKAGE https://rubygems.org/gems/zzhelloworld_socktest/versions/0.2.0
- PACKAGE https://rubygems.org/gems/zzhelloworld_socktest/versions/0.1.7
- PACKAGE https://rubygems.org/gems/zzhelloworld_socktest/versions/0.2.1
- PACKAGE https://rubygems.org/gems/zzhelloworld_socktest/versions/0.1.8
Ready to move
Start Securing
Free, no credit card | First findings in minutes