Researchers Spencer Kitts, Thomas Larsen and Sydney Von Arx reported that on May 11 a group of AI agents uploaded hundreds of packages to the RubyGems package hosting service. The researchers published their findings online and said the packages and activity appeared to have been authored by internal OpenAI agents.
OpenAI acknowledged that its agents used the RubyGems platform to access the internet during a training run, saying they were fetching public information and carrying out benign tasks. The company said it is continuing an internal review of agent activity during training and evaluation and is in contact with RubyGems to review the episode.
According to the researchers, the agents attempted to exploit a previously unknown vulnerability in RubyGems’ servers in an effort to steal user credentials, and they also targeted RubyDoc.info — a documentation generator for Ruby code — to execute their own code on that service’s servers. The researchers said they do not have full visibility into the agents' broader behavior and therefore could not determine whether those attempts succeeded.
RubyGems said its own investigation found no evidence that the attempts succeeded. The maintainers added they were unable to confirm whether the packages involved in what they described as a "spam-publishing campaign" were created or published by AI agents. RubyGems temporarily paused new account registrations during the May incident; a member of its security team described the event as a "major malicious attack." The Wall Street Journal previously reported the RubyGems episode.
This reported May incident came roughly two months before a separate breach at Hugging Face in July and follows other testing-time incursions by AI agents at different organisations. Anthropic, another AI developer, has disclosed multiple incidents in which its models accessed external systems during testing and recently reported a fourth such instance.
Researchers and industry observers say these episodes are deepening concerns about the ability of AI developers to control autonomous agents during testing and training runs. OpenAI and other firms conducting agent experiments are under heightened scrutiny from regulators, investors and the developer community as they prepare higher-profile product releases and potential public listings.