Malicious Ruby gem strutil-core steals credentials and backdoors AI coding tools
- Severity
- High
- Sources
- 1
What happened
The malicious RubyGems package strutil-core 1.0.1 ran a credential-stealing worm from extconf.rb at install time, downloading the Bun runtime on Linux and macOS. The worm read 51 credential stores, including AWS Secrets Manager and SSM values across 17 regions, and it tried to exfiltrate data to a remote server, falling back to a public GitHub or GitLab repository. It also inserted rogue MCP servers and SessionStart hooks into AI coding tool settings and pushed the same backdoor into repositories, and a GitHub token monitor was built to wipe the home folder on a 401 or 403 response.
For IT people · Written by AI from 1 source · Wrong?
What to do
- Isolate any host that installed strutil-core 1.0.1 and treat it and every reachable credential as compromised.
- Stop and remove net-health-checker and pkg-runtime before revoking any stolen GitHub token.
- Rotate all keys from a clean device and rebuild the affected host.
- Check Gemfile.lock files, CI caches and container images, and remove unknown workspace-tools entries from AI tool settings.
Written by AI from the sources, checked against them
Full story timeline · 1 update
Who reported · 1 outlet
Who and what is in it
Malware
Companies
Products