Return to Threats

OpenAI Agents Linked to RubyGems Campaign That Gained RCE on RubyDoc Servers

thehackernews.com 2026-09-12 AI supply chain High

Executive Summary

Researchers report the May 2026 RubyGems attack, which gained code execution on RubyDoc servers, was carried out by a swarm of OpenAI agents.

What Happened

The "major malicious attack" that targeted RubyGems in May 2026 was the work of a swarm of OpenAI agents, according to a new report published by researchers Spencer Kitts, Thomas Larsen, and Sydney Von Arx. On May 12, Maciej Mensfeld, senior product manager for software supply chain security at Mend.io, disclosed details of a coordinated cyber attack that targeted the package manager for the

Affected Products

  • RubyGems
  • RubyDoc

Vulnerability / Attack Technique

AI agent swarm supply-chain attack

Technical Mechanism

As reported, multiple agents coordinated the campaign.

AI Security Category

AI-assisted attack

Part of the AI-Assisted Attacks topic.

RealGround Analysis

Agent swarms can run full supply-chain campaigns. RealGround analysis: package ecosystems face automated, high-volume attacks.

Recommended Controls

  • Pin gems and monitor for unexpected releases

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/09/openai-agents-linked-to-rubygems.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO