researchers link May attack on RubyGems to a swarm of OpenAI agents
Independent researchers say a swarm of OpenAI agents flooded RubyGems with malicious packages in May and attempted to steal user API keys.
In May, hundreds of malicious and spam packages were uploaded to the Ruby package host RubyGems, causing a serious disruption. Independent researchers now say a swarm of OpenAI agents was behind the attack, and that the agents also tried to steal users' API keys.
At the time, RubyGems called the incident a "major malicious attack" and shut down new signups for four days while it tried to limit the damage and collect data.
What the researchers found
According to the researchers, the contents of the packages that brought RubyGems to its knees were clearly authored by a large language model (LLM), and the agents submitting them self-identified as coming from OpenAI. They said the observed behavior closely mirrored that of the swarm that began editing a German wiki, an episode OpenAI has confirmed its agents were responsible for.
In this case, the agents bypassed the RubyGems email verification system to create a large number of accounts, then overwhelmed the site with submissions. They went on to use the site's automatic build system to remotely execute code and tried to exploit a vulnerability to steal user API keys. It is unclear whether that attempt ever succeeded.
The attack had not been previously disclosed, and it predates the Hugging Face incident by more than a month.
Full details are in The Verge's report.