Shai-Hulud Descendant Surfaces in Malicious Ruby Gem That Steals Credentials and Poisons AI Tools
中文摘要
恶意 RubyGems 包 strutil-core 1.0.1 包含凭据窃取蠕虫,发布后迅速被 Socket 的 AI 扫描器发现并被官方移除。
English Summary
Socket identified strutil-core 1.0.1, a malicious RubyGems package containing a credential-stealing worm. It was flagged by AI and removed shortly after its publication.
Socket’s Threat Research Team analyzed strutil-core version 1.0.1, a malicious RubyGems package that runs a 5.48 MB credential-stealing worm when it is installed. The RubyGems account jamnajiea published a clean 1.0.0 on November 1, 2026, and pushed the malicious 1.0.1 less than two hours later. Socket’s AI Scanner flagged it 70 seconds after publication, and RubyGems removed both versions about five hours after the malicious release. strutil-core was a standalone gem, not a compromised existing package. We found no public projects that depended on it, and we have not confirmed any victims or any packages the worm infected from it. The payload is what makes it worth a closer look. It is a new build of the testmetest worm, a member of the Miasma family that grew out of the publicly released Shai-Hulud toolkit, and strutil-core is the only RubyGems package we have tied to it. Bitbison’s sandbox run confirms that the gem runs the payload at install time and reads credential files. The rest of this post comes from static analysis of the code, not from activity seen on victim systems. Install-time execution: a native extension script, ext/strutil-core/extconf.rb, downloads the Bun JavaS…