Cybersecurity news

Jessica Doner

Back to the list

Shai-Hulud Descendant Hides in Malicious Ruby Gem to Steal Developer Secrets and Poison AI Coding Tools

GBHackers,

A malicious Ruby gem installed by developers stole secrets and poisoned AI coding tools, according to a report on a new worm variant.

AI and security

Overview

A malicious RubyGems package named strutil-core contained a 5.48 MB credential-stealingStealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user worm that executed immediately when developers installed it. This package was a new build of the testmetest worm, which belongs to the Miasma family that originated from the publicly released Shai-Hulud toolkit. The account jamnajiea published a clean 1.0.0 on November 1, 2026, and then pushed the malicious 1.0.1 less than two hours later. The gem disguised itself as a string helper, but its native extensionA small add-on program installed inside a web browser to add features like ad blocking scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application, extconf.rb, contained no build logic and instead downloaded the Bun JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers runtimeThe environment in which a program executes, or the period of time while the program is actively running to run the bundled index.js during installation. This attack targets cloud, CI, registryA central database of system settings on a computer or a public catalog that hosts software packages, SSHAn encrypted network protocol that administrators and developers use to log in to remote servers and run commands, walletA software app or hardware device that stores the private keys needed to spend cryptocurrency and AI coding tool credentialsThe login details, such as a username and password or key, that prove who an account belongs to, and it also attempts to poison AI coding tools by writing malicious configuration files into local environments. Socket confirmed that no victims were found, but the threat remains relevant because the installer is identical to the output of the worm's own RubyGems injection module.

Terms in this story

credential-stealing
Stealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user. Attackers use phishing pages, keyloggers, and memory dumps for credential theft because logging in with a real employee's password triggers fewer alarms than a noisy software exploit. Security+ objective 2.4 lists the term
extension
A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.
script
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
runtime
The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
registry
A central database of system settings on a computer or a public catalog that hosts software packages. In security news, the registry means either the operating system settings database where malware adds startup entries or a public package registry where developers download code libraries.
SSH
An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.
wallet
A software app or hardware device that stores the private keys needed to spend cryptocurrency. If an infostealer copies the secret seed phrase or key file from a victim's cryptocurrency wallet, the attacker can drain the funds irreversibly in seconds.
credentials
The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
Secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
payload
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
Scanner
Using automated tools to probe computers, networks, or code for known security flaws and missing patches. Both defenders and attackers run vulnerability scanning across internet-facing servers to find out which machines are still running outdated software versions. Security+ objective 4.3 lists the term

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related