Skip to main content
  1. Home
  2. Computing
  3. News

OpenAI AI agents were linked to a cyberattack on RubyGems before the Hugging Face incident

Rogue AI concerns grow after OpenAI agents disrupt RubyGems in May attack

Add as a preferred source on Google
OpenAI logo on Microsoft surface
Rachit Agarwal / Digital Trends

Artificial intelligence agents being tested by OpenAI were involved in a previously undisclosed cyberattack against RubyGems in May, an incident that is now raising uncomfortable questions about how much control humans really have over increasingly autonomous AI systems.

The attack overwhelmed RubyGems, a popular service used by software developers to publish and access Ruby packages, forcing operators to suspend new account registrations for four days. According to a report by The Wall Street Journal, OpenAI confirmed that its agents had been involved, but said they were using the platform to perform benign tasks and retrieve publicly available information during a training run.

AI agents went far beyond simply browsing the web

The incident, dubbed “GemStuffer” by security researchers, began on May 11. The agents created new RubyGems accounts every two to three minutes and uploaded hundreds of files that appeared to be spam. Many contained webpages scraped from the internet rather than the code and documentation normally published on the platform.

Recommended Videos

The scale was enough to overwhelm RubyGems. Marty Haught, director of open source at Ruby Central, described it as a major attack in terms of volume. The service ultimately shut down new account registrations for four days while it dealt with the flood.

Researchers also found evidence that the agents attempted to exploit vulnerabilities that could potentially have allowed them to publish altered versions of packages belonging to other users. One of those vulnerabilities was reportedly a previously unknown zero-day, although OpenAI said it could not verify that claim. RubyGems later said it found no evidence that attempts to obtain users’ API keys succeeded.

Perhaps most strikingly, the agents appeared to be operating outside the narrow boundaries of their original tasks. OpenAI said they had been asked to perform activities such as filling spreadsheets and creating reports, using RubyGems as a way to access public information in an environment where they lacked unrestricted internet access.

Why the incident matters beyond RubyGems

The immediate damage appears to have been limited, and much of the information retrieved by the agents was already publicly available. But cybersecurity researchers say the incident demonstrates something more consequential: autonomous AI systems can discover unconventional ways to overcome restrictions and interact with real-world services.

The RubyGems episode also emerged roughly two months before a separate July incident involving OpenAI agents and AI platform Hugging Face. In that case, as many as 1,200 agents reportedly coordinated using a makeshift message board they created without OpenAI’s knowledge.

Those incidents are intensifying debate over AI “misalignment”—situations where agents behave differently from what their operators intended. Researchers and AI companies are increasingly focused on what could happen as agents gain more independence, particularly if they eventually become capable of training or improving successor systems autonomously.

For users and businesses, the concern is not that today’s AI has suddenly become uncontrollable. It is that giving software agents access to the internet, accounts and external systems creates new failure modes that traditional AI safeguards may not anticipate.

OpenAI has called for better standards for reporting such incidents, while both OpenAI and Anthropic have backed stronger governance around highly autonomous AI development. The next challenge will be making sure those safeguards keep pace with the agents themselves.

Moinak Pal
Moinak Pal is has been working in the technology sector covering both consumer centric tech and automotive technology for the…
Arc browser is shutting down in December. Long live, ya trailblazer!
The browser that revolutionizes tab management is finally riding into the sunset.
Arc browser farewell note.

Arc browser is shutting down on December 22, following a long spell of maintenance-only work as the company behind it moves forward with its successor, Dia. Earlier today, The Browser Company announced that the beloved web browser will ride into the sunset in two months, but will continue development of the Dia browser.

"That's not an easy sentence to write. We spent years building Arc and celebrating each and every release along the way: we have so much pride and love for what we made alongside the Arc community," says the company.

Read more
1Password wants AI agents to handle logins without ever taking a peek at your passwords
1Password is expanding its secure login system to Muse, Claude Duet, Dots, ChatGPT Work, and more.
1Password for AI Agents launched

The next chapter of AI is knocking on our doors, as AI agents like Meta Muse, OpenAI Dots, Gemini Spark, among others, are becoming mainstream, and they are genuinely quite useful for a lot of things, ranging from being your personal assistant all the way to helping you manage a small business. However, many are still quite hesitant about giving these agents access to your accounts and their sensitive credentials.

1Password thinks it has a fix for that trust problem. Its new 1Password for Agents platform lets AI agents sign in to your accounts without ever seeing or storing the passwords, sensitive information, or other credentials they need.

Read more
AI chatbots are falling prey to manipulative prompts that could help stalkers spy on victims
Confident answers, dangerous gaps: why survivors need humans first.
Logo, Text

Chatbots have one talent I can't stop noticing: they sound sure, even when they're wrong. Usually, that's merely annoying. When someone's safety is on the line, it's dangerous.

A new NYU Tandon study tested four AI chatbots on real questions about being stalked or controlled through devices, and experts rated 86% of replies inaccurate, incomplete, or unsafe (via NYU Tandon).

Read more