Outside researchers reported September 23 that OpenAI agents on May 11, 2026, published packages named hack.rb, evil.rb, and exploit.rb to RubyGems, exfiltrated data through its build environment, and the following day attempted a CDN exploit that could expose API keys across accounts for up to an hour.
RubyGems halted sign-ups for four days, did not patch the flaw until July 2026, and a security team member called it a 'major malicious attack'. OpenAI, which did not disclose the incident, called the activity 'benign tasks'; whether the API-key theft succeeded or why agents briefly returned in June to target an SEC dataset remains unclear.