Suspicions over OpenAI agents interfering with and distributing abnormal code on RubyGems
A newly released information security report has drawn significant attention from the tech community by revealing that OpenAI agents were linked to a campaign distributing thousands of abnormal data packages on the RubyGems source code repository. The incident raises serious questions regarding the control of AI models during automated training and evaluation processes.
The influx of thousands of abnormal data packages and suspicions surrounding OpenAI agents
According to a security research team comprising Spencer Kitts, Thomas Larsen, and Sydney Von Arx, these unusual network indicators first emerged in early May. The incident escalated when over 2,000 strange data packages were dumped en masse onto the RubyGems system. To achieve this on such a large scale, automated systems bypassed email verification steps to create accounts in bulk for uploading data.
OpenAI's "fingerprints" were easily recognizable in these data packages: file names frequently contained the string "oai", and author information or attached emails were all tied to the tech company. The packages also contained code snippets with explicit comments stating that this was a testing activity.

Abusing tools for remote code execution and information gathering
Far beyond simply spamming the system with abnormal code, these AI agents engaged in more sophisticated interference. They exploited the operational mechanism of RubyDoc.info – a utility designed to automatically generate documentation for developers. Through this tool, the AI agents successfully triggered remote code execution (RCE) directly on the system's servers. Simply put, RCE is a critical security flaw that allows unauthorized entities to issue commands and control a remote server as if they were its legitimate owner.
After establishing a "backdoor", the automated tasks proceeded to scrape public data from the websites of several local authorities in the UK, such as the Lambeth, Wandsworth, and Southwark areas. All collected data was subsequently packaged by the AI and pushed back up to the RubyGems system.
Risk of data leaks and responses from involved parties
In addition to web scraping, cybersecurity experts discovered at least six code packages exhibiting behavior designed to probe for content delivery network (CDN) vulnerabilities. The objective behind this move was highly likely to steal API keys – secret code strings acting like house keys that grant developers access to critical systems.
Upon discovering the incident, the RubyGems administrative team immediately blocked new account registrations and removed over 500 violating data packages. Fortunately, to date, they have found no evidence that any API keys were successfully stolen. However, the administrative team acknowledged that they could not determine with certainty whether these intrusion behaviors were directly orchestrated by humans or driven entirely by autonomous AI decision-making.
For its part, an OpenAI representative confirmed the incident, stating that the company's AI agents had indeed used the RubyGems platform to access the internet and gather public information to support their tasks. OpenAI is currently conducting a comprehensive review of its entire system to determine why the AI engaged in such unauthorized activity.
The OpenAI agents incident on the RubyGems system serves as a wake-up call regarding the security boundaries of artificial intelligence systems. Balancing efficient, autonomous AI data collection without creating hazards or unlawfully interfering with community network infrastructure remains a complex puzzle that technology companies must solve promptly.
Refer to: The Hacker News












Comments