Saturday 7 November
Global

Your region, kept on this device.

Malicious RubyGems package strutil-core carries a Shai-Hulud-derived credential-stealing worm

Severity
High
Sources
1

Malicious 1.0.1 was published on 1 November, after a clean 1.0.0 from the same account less than two hours earlier. Its ext/strutil-core/extconf.rb fetches Bun 1.2.18 and runs index.js during gem install. The /-family payload exfiltrates cloud, CI, registry, SSH, AI tool and wallet credentials, republishes to , npm and PyPI, installs a Python backdoor driven by signed GitHub commit messages, and deletes the home directory if a stolen GitHub token returns 401 or 403. Defenders should search for strutil-core 1.0.1 and Bun 1.2.18 downloads, review MCP and agent config files, and rotate exposed credentials. Findings are from static analysis and one sandbox run, with no confirmed victims.

For security analysts · Written by AI from 1 source · Wrong?

What to do

  1. Check whether strutil-core 1.0.1 is installed and remove it if present.
  2. Review systems that installed it for unexpected Bun downloads and check local MCP server and agent configuration files.
  3. Rotate cloud, CI, registry, SSH, AI tool and GitHub credentials stored on any affected machine.

Written by AI from the sources, checked against them

Full story timeline · 1 update

  1. Fri 6 NovemberShai-Hulud Descendant Surfaces in Malicious Ruby Gem That Steals Credentials and Poisons AI ToolsSocket Blog

Who reported · 1 outlet

Socket Blog

Who and what is in it

Companies

Report a problem