Skip to content
Malicious Ruby Gem Strutil-Core Steals Credentials and Deploys Backdoors

Malicious Ruby Gem Strutil-Core Steals Credentials and Deploys Backdoors

First seen 10 Nov 2026, 09:41 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 10, 2026 at 09:42 UTC
  • •The strutil-core Ruby gem runs a credential-stealing worm upon installation.
  • •It can delete user directories if a revoked GitHub token is detected.
  • •No confirmed victims have been reported, but the gem's capabilities pose a significant risk.

A malicious Ruby gem named strutil-core was published on RubyGems, masquerading as a harmless text helper. Upon installation, it executes a credential-stealing worm that collects various types of credentials and can install backdoors in AI coding tools. The worm is capable of deleting user directories if a stolen GitHub token is revoked. The gem was published by the account jamnajiea, with a clean version released just two hours before the malicious one. Socket's Threat Research Team identified the gem's payload as a new build of the testmetest worm, linked to the Shai-Hulud toolkit. The malicious gem was flagged by Socket's AI Scanner shortly after publication, and both versions were removed by RubyGems within hours. No confirmed victims have been reported yet, but the potential for widespread impact exists due to the gem's self-propagation capabilities.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Timeline

2026-11-01
Clean version of strutil-core published
The RubyGems account jamnajiea published a clean version 1.0.0 of the strutil-core gem.
Socket.Dev
2026-11-01
Malicious version of strutil-core released
Less than two hours after the clean version, the malicious version 1.0.1 was published.
Socket.Dev
2026-11-06
Malicious gem flagged and removed
Socket's AI Scanner flagged the malicious gem 70 seconds after publication, and RubyGems removed both versions five hours later.
Socket.Dev

More articles in this cluster (2)

Following this threat?

Track Miasma in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

What does the strutil-core gem do?
It runs a credential-stealing worm and can install backdoors in AI coding tools upon installation.
How quickly was the malicious gem detected?
The malicious version was flagged by Socket's AI Scanner just 70 seconds after publication.
Are there confirmed victims of this attack?
No confirmed victims have been reported at this time.