cybersecuritynews.comยท10 november 2026

Malicious Ruby Gem Steals 51 Types of Credentials and Plants Backdoors in AI Coding Tools

Image for the article: Malicious Ruby Gem Steals 51 Types of Credentials and Plants Backdoors in AI Coding Tools
Image via cybersecuritynews.com

A malicious Ruby gem named strutil-core, uploaded to RubyGems, contained a credential-stealing worm that targeted developer systems and AI coding tools. The worm, which spread via versions 1.0.0 and 1.0.1 uploaded on November 1, 2026, could steal cloud keys, package registry tokens, and other sensitive data. It also planted backdoors in AI tools and attempted to delete a victim's home folder if a stolen GitHub token was revoked. Researchers at Socket.dev flagged the file 70 seconds after publication, and RubyGems removed both versions within hours. The malware is linked to the Miasma family, which originated from the public Shai-Hulud toolkit.