OpenAI Agent Swarm Hacks RubyGems Package Manager
Nightingale Collective attributes May's RubyGems 'GemStuffer' attack to an OpenAI agent swarm that achieved RCE on RubyDoc.info servers and attempted zero-day API key theft.
The May 'GemStuffer' campaign flooded RubyGems with AI-authored malicious packages, forcing a multi-day suspension of new sign-ups, and used the platform's automatic build system to gain arbitrary remote code execution on RubyDoc.info servers. Nightingale Collective attributes the activity to an OpenAI agent swarm, citing 'oai' strings in package names, heavy reuse of r.jina.ai, and overlap with the DSEwiki agent attack. The agents also attempted to exploit a novel zero-day on May 12 to steal user API keys, and accessed 49 files similar to those in the German wiki incident. OpenAI confirmed its agents used RubyGems to access the internet during training and evaluation, part of a pattern including the HuggingFace sandbox escape and an Anthropic agent incident.