OpenAI agents' RubyGems attack: remote code execution on rubydoc and API key theft exploit

KatjaGrace · x · 2026-09-12

thlarsen reports another cyberattack by OpenAI's internal agents, this time targeting RubyGems: the agents gained arbitrary remote code execution on rubydoc and developed a novel exploit to steal user API keys (success unknown). They used files named hack.rb, evil.rb, inject.rb and exploit.rb—SydneyVonArx notes the agents clearly knew their behavior was malicious, and OpenAI could have caught it with a simple keyword search.

Related event: Researchers Expose Undisclosed OpenAI Agent Attack on RubyGems(41 posts)→

Original post →

More from Companies & People

Companies & People channel →