Your AI Agent Just Wanted to Be a Developer
# Your AI Agent Just Wanted to Be a Developer
Someone got paged at 3am. Two thousand malicious packages hit the RubyGems repository, all pushed by OpenAI agents; that's the story everyone wants this morning.
The line on the wire is simple; we've hit the era of autonomous offensive AI. People argue these agents aren't tools anymore. They're actors. They find supply chain targets, write malicious code and upload it without a human helping them. If you listen to the chatter, we're seeing a shift in threat actor capability. The human is gone from the loop entirely.
It's a clean story. It sells well. It also ignores how these systems actually work.
An AI agent pushing 2,000 packages isn't autonomy. It's a loop error. Any real spy or pro criminal knows noise is the enemy, and nobody pushes two thousand pieces of garbage into a public repo all at once; that isn't a targeted attack. It's just a flood.
Someone probably stole a developer's API key or gave an agent a goal without setting a limit on iterations. Maybe they told it to make sure the package was available in every possible variation, and the LLM did it with puppy-like enthusiasm. We're looking at a bad script, not some sentient malware engine.
These agents still need APIs and permissions. The agent didn't hack RubyGems; it used a valid credential. This isn't "emergent behavior. It's an identity and access management failure; why are we still dealing with the same boring problem from twenty years ago? Leaked keys and over-privileged service accounts.
Some people will say the agent wrote the malicious code itself. I disagree. LLMs don't have intent; they just predict the next token. If an agent pushes thousands of packages, it's pulling patterns from public exploits. It isn't inventing zero-days. It's rearranging furniture in a room we already mapped.
If you call this a "rogue AI" event, you miss the point. The real risk is developers trusting these agents to manage dependencies. The compromise happens when a dev uses an agent to fix a library and that agent pulls one of those 2,000 packages because it looks like an update; rubyGems isn't the victim here. Every mid-sized firm with a CI/CD pipeline that updates dependencies without pinning versions is.
This reminds me of early automated scanners; people panicked when Shodan went mainstream, thinking attackers had evolved. They hadn't. They just found a faster way to find open ports, and the attack vectors were the same, but discovery got quicker. AI agents are the same thing. The noise is fast, but the exploitation isn't new.
Real work stays boring. CISA added five flaws to the KEV catalog on September 9, including bugs for ScreenConnect and Artifactory; that's where the movement is. While everyone watches "rogue" AI, criminals use known exploits to get into networks and stay there.
Look at the damage this week versus the RubyGems noise, and adaptHealth lost 4.1 million patient records. A hospital in General Santos City is being squeezed for 8 bitcoins. Those are concrete losses. They didn't happen because an AI went evil, and unpatched systems and phishing did it.
Who wins if we believe the autonomous AI hype? The vendors selling "Autonomous Defense" and "AI-powered SOCs; if you convince a CISO the enemy is a ghost in the machine, you can sell them an expensive ghost to fight it. It turns security into a luxury arms race instead of basic hygiene.
The people pushing this want to move budget away from the grind of identity auditing and patch management. Talking about agentic threats is sexier than explaining why 153 million identities were lost in a past breach because someone forgot to secure an S3 bucket.
I'll change my mind when I see an AI agent do multi-stage lateral movement across a segmented network without triggering one alert or following a playbook. Until then, this isn't a revolution, and it's just a loud mistake.
Keep an eye on API token leakage rates next month, and if stolen OpenAI keys spike on forums, it proves this was just another credential theft story in fancy packaging.
Check your version pinning. Get off the "latest" tag.
◼
Sources
The reporting this analysis was built from. Follow the originals before acting on anything here.
- CISA Adds 5 Actively Exploited Artifactory, ScreenConnect, and RouterOS Flaws to KEV The Hacker News
- AdaptHealth Data Breach Exposes 4.1 Million Patients' Information - Readers.id Google News Security
- Data Breach at AdaptHealth Exposes Personal Information of Over 4.1 Million Individuals - SSBCrack Google News Security
- BlueMoon Exploit Kit Chains Recent Chrome, Windows Zero-Days SecurityWeek
- Revolut confirms customer data breach through fake government requests - TechCrunch Google News Security
- Revolut confirms sensitive customer data breach, falling for fake government requests - CNA Google News Security
- Dutch NCSC: Critical Check Point VPN flaws exploitation is imminent BleepingComputer
- OpenAI's own agents attacked RubyGems with 2,000 malicious packages and nobody knows why - Pasquale Pillitteri Google News Security