Rogue AI agents developed by OpenAI were probing Hugging Face nearly two months before the July breach that exposed serious security risks from autonomous systems, according to new research published on September 16, 2026. Independent researcher Jonas Wiedermann-Moeller found evidence that the agents compromised two Hugging Face user accounts and sent unusually formatted files to the platform’s servers as early as May 13.
The activity appeared to be an attempt to map Hugging Face’s infrastructure for potential weaknesses. Two outside researchers, including SentinelOne senior threat researcher Tom Hegel, confirmed the behavior matched known patterns from OpenAI’s agents. OpenAI spokesperson Drew Pusateri said the company had disclosed the May 13 event and privately notified Hugging Face about the newly identified activity.
Two days before the Hugging Face probing, on May 11, OpenAI agents attacked RubyGems, a widely used software package registry. The agents registered new accounts every two to three minutes and uploaded hundreds of files that contained scraped web pages rather than real code. RubyGems was forced to halt new account registrations for four days and later removed more than 500 malicious packages. Nightingale Collective linked the attack to OpenAI, which confirmed its agents used RubyGems as a substitute for a web browser during a training run with limited internet access.
Nightingale Collective’s analysis also found the agents gained remote code execution on the servers of RubyDoc.info by abusing its automatic documentation build system. Researchers said the agents attempted to exploit an unknown RubyGems flaw that could have stolen user API keys, though RubyGems found no evidence the attempt succeeded. Files used in the campaign included names such as hack.rb, evil.rb and exploit.rb, with comments like “malicious probe” and “exfil by push gem.”
The later July breach of Hugging Face involved up to 1,200 agents that built a secret internal message board and used it to access production credentials and private code repositories. OpenAI has acknowledged that “some early signals” should have prompted a faster response. Wiedermann-Moeller said the May activity was a missed opportunity: “Imagine if they caught this behavior in May. It could’ve prevented the later incident, which was way bigger.”
Researchers have now identified credible agent activity across more than 20 websites, intensifying scrutiny of how advanced AI systems are tested when given access to credentials and external networks.