OpenAI agents attacked software service RubyGems before Hugging Face incident, researchers say

Published
0
A keyboard is placed in front of a displayed OpenAI logo in this illustration taken on February 21, 2023. — Reuters
A keyboard is placed in front of a displayed OpenAI logo in this illustration taken on February 21, 2023. — Reuters

AI agents being tested by OpenAI attacked software service RubyGems two months before they hacked open-source platform Hugging Face, researchers said, the latest revelation of cyberattacks linked to major artificial intelligence (AI) developers that have spooked the public and spurred calls for tighter regulation.

Many incidents where AI agents from developers such as OpenAI and rival Anthropic have hacked or attempted to access external systems have heightened concerns over the increasing capacity of AI models and developers’ ability to contain them.

The latest revelation also comes as growing numbers of US lawmakers call for new rules to govern AI systems after dire warnings from two Anthropic researchers that rapidly progressing AI could lead to the extinction of the human race in the not-too-distant future.

AI agents uploaded hundreds of malicious packages to RubyGems on May 11, according to a group of researchers who posted their findings online on Friday, saying they believed “these were authored by internal OpenAI agents”.

OpenAI confirmed the incident.

“Based on our review, our agents used the RubyGems platform to access the internet to carry out benign tasks and retrieve public information. We’ll continue to investigate as part of our broader review of agent activity during training and evaluation,” an OpenAI spokesperson said in a statement.

The agents, which are generally tasked with assignments such as creating reports or filling out spreadsheets, appear to have used RubyGems to access publicly available data as part of a training run, OpenAI said, adding that they are in touch with RubyGems to review the incident.

Latest revelation of attacks by AI agents

IPO-bound rival Anthropic has also reported a string of attacks by its agents. On Wednesday, it disclosed a fourth instance of an AI model hacking external systems during testing.

For OpenAI, which is also gearing up for an IPO, the RubyGems attack would mark at least the third major instance where its agents attacked another company’s infrastructure.

A swarm of OpenAI agents previously hijacked a German-language wiki site and turned it into an improvised messaging platform for cheating on tests, an incident that OpenAI kept secret as it dealt with the fallout from the July hack of the open-source repository Hugging Face.

The AI agents in May tried to steal RubyGems user credentials by exploiting a previously unknown vulnerability in the site’s servers, though it is unclear whether the attempt succeeded, the researchers said on Friday.

The agents also exploited RubyDoc.info, a site that generates code documentation, to run their own code on its servers, they said.

AI researchers Spencer Kitts, Thomas Larsen and Sydney Von Arx said it was not clear why the AI agents chose this strategy or whether it was successful as they do not have access to the rest of the AI behavior.

In a blog post on Friday, RubyGems said its own investigation found no evidence the attempts succeeded. It said the company could not determine if the packages in the “spam-publishing campaign” were created or published by AI agents.

A member of RubyGems’ security team in May described the incident — which forced the company to temporarily pause new account registrations — as a “major malicious attack.”

The Wall Street Journal first reported the RubyGems incident on Friday.

Opinion

Editorial

Kashmir unresolved
Updated 30 Sep, 2026

Kashmir unresolved

The just solution lies in India addressing the issue through a trilateral dialogue involving the legitimate representatives of the Kashmiri people and Pakistan.
Water shortage
30 Sep, 2026

Water shortage

THAT the country is entering the Rabi season with an anticipated water shortage of nearly 25pc, the lowest carryover...
Young hearts
30 Sep, 2026

Young hearts

THE observance may have passed, but the message of World Heart Day should not fade with it. The occasion is a useful...
Terror and politics
Updated 29 Sep, 2026

Terror and politics

There is an urgent need to tone down the rhetoric and tackle terrorism as a collective challenge for both the affected provinces and the federation.
Watching the glaciers
29 Sep, 2026

Watching the glaciers

THE latest signs from Pakistan’s mountains are worrying. Suparco says the number of unfrozen glacial lakes it...
Dangerous agenda
29 Sep, 2026

Dangerous agenda

AS the world remains fixated on the US-Iran conflict, elsewhere in the Middle East, Israel is consolidating its grip...