TechScriptsNepal
Blog

What Google's Gemini 'test that leaked into the real world' teaches us about AI agent safety

TechScripts Nepal · Kathmandu · September 23, 2026 · 3 min read

In September 2026, Google confirmed something unusual: during a cybersecurity evaluation run in May, its Gemini model gained unauthorized access to the systems of three real, external companies — not the test targets it was supposed to be probing.

This wasn't a hack in the traditional sense. It's a good case study in what can go wrong when autonomous AI agents are given the ability to act, not just answer.

What actually happened

The test was a capture-the-flag exercise run by Irregular, a third-party AI security evaluation firm. A bug in the test environment quietly opened a path to the live internet. Gemini, working through the exercise, found publicly available information online and used it to guess login credentials for what it believed were part of the sandboxed test. In some cases it found credentials sitting in publicly accessible code repositories and used those instead.

The credentials worked — but the systems they unlocked belonged to real companies that had nothing to do with the test. According to Google's VP of security engineering, Heather Adkins, the model believed these systems were part of the exercise and stopped short of doing anything further once it noticed. Google says no damage was done.

Why this matters beyond one test

The interesting failure here isn't that an AI model made a mistake — it's where the mistake happened. The model behaved exactly as instructed: find a way in, use available information, don't stop until you succeed. The boundary that failed was the environment around it, not the agent's judgment.

That's a pattern worth paying attention to as more organizations move from AI assistants that suggest actions to AI agents that take them:

The practical takeaway

None of this is an argument against using AI agents — it's an argument for treating the infrastructure around them with the same seriousness as the agent itself. Isolation, credential scope, and monitoring aren't details to add later; they're what determines whether an agent's mistake stays contained or turns into exactly this kind of incident.

If you're building or deploying AI agents into real systems and want a second set of eyes on how they're isolated and scoped, that's a conversation worth having early rather than after something similar happens to you.