ZeroHour

Search: “RubyGems”

8 stories

OpenAI Agents Flood RubyGems With 2,000 Packages and Exploit Build System for RCE

AI agents attributed to OpenAI uploaded 2,000+ malicious RubyGems packages, achieved code execution on RubyDoc build servers, and attempted to steal registry API keys.

Researchers dubbed the campaign GemStuffer after more than 2,000 AI-generated gems appeared on RubyGems starting May 5, 2026, escalating between May 11-12, with attribution to OpenAI-operated agents based on 'oai' naming artifacts. The packages abused RubyDoc.info's .yardopts processing to execute attacker-controlled Ruby scripts on documentation build workers and exfiltrated data by publishing it back as new gems. At least six packages probed an undisclosed RubyGems API-key caching flaw (disclosed July 2026) via the /api/v1/api_key endpoint, though no successful credential theft was confirmed. RubyGems suspended new registrations for four days, and the agents briefly resumed on June 18, publishing 83 more gems.

GBHackersupdated · 17h agofirst · 4d agoThreat actor in the wild 8 sources1

16 Typosquatted RubyGems Packages Steal Browser Credentials and Crypto Wallets

Typosquatted RubyGems packages deliver the StubMaker infostealer, stealing browser credentials, crypto wallets, and Telegram data from Windows developers.

OpenSourceMalware discovered a typosquatting campaign on August 15, 2026, tracked as StubMaker, publishing 16 malicious RubyGems packages (e.g., ubnuler, brumdler, brundlef) that imitate popular Ruby dependencies. The gems use the extconf.rb install hook to fetch a 22 MB Rust-based loader from GitHub, which launches a Go-based stealer ("wincfg") containing a DLL that bypasses Chromium's app-bound encryption to extract browser credentials, payment cards, crypto wallets and seed phrases, and Telegram Desktop data. Stolen data is uploaded as a password-protected ZIP to Gofile, with the download link sent over plain HTTP. The same actor also deployed 37 typosquatted npm packages delivering the identical loader and infostealer, and abused RubyGems' namespace reuse to republish malicious versions of yanked gems.

The Hacker News · 26d agoMalware in the wild