Google's Threat Intelligence Group just confirmed what security researchers have been warning about for two years: a criminal group used an AI model to develop a zero-day exploit that bypassed two-factor authentication.

This is not a theoretical risk anymore.

What Happened

Google published a report on Monday detailing how a cybercrime group leveraged an AI model to discover and weaponize a vulnerability in an open source web-based system administration tool. The exploit, written as a Python script, was designed to bypass 2FA protections.

Google worked with the affected vendor to prevent mass exploitation before the attack could scale.

The key detail is how Google determined the exploit was AI-generated. The script contained an abundance of educational docstrings, including a hallucinated CVSS score. It used a structured, textbook Pythonic format with detailed help menus and clean ANSI color classes. These are hallmarks of LLM-generated code, not human-written malware.

Google stated it has "high confidence" the actor used an AI model for discovery and weaponization, though they do not believe Gemini was the specific model used.

The Bigger Picture

This changes the threat model for prompt security in a fundamental way. The conversation around prompt engineering and AI safety has focused on two threats: prompt injection (attacking the AI) and jailbreaking (subverting the AI's guardrails). Now there is a third vector: attackers using AI as an offensive tool to write exploits against traditional software.

The same LLM capabilities that make prompt injection dangerous inside agent frameworks also make those models effective vulnerability scanners. A model that can reason about code structure can find buffer overflows, authentication bypasses, and race conditions. The attack surface is no longer just the AI itself. The AI is the attacker.

State-sponsored groups are already using AI this way at scale. Google reported that a China-linked actor called UNC2814 used a persona-driven jailbreak, instructing the AI to act as a senior security auditor, to enhance vulnerability research on embedded devices including TP-Link firmware. North Korea's APT45 sent thousands of recursive prompts to analyze CVEs and validate proof-of-concept exploits.

Why It Matters for Prompt Engineers

If you build agent systems, the threat model just doubled. You need to defend not just against prompt injection into your agents, but against adversaries using their own AI agents to find and exploit vulnerabilities in your infrastructure.

The PromptArmor finding from last week showed that per-input LLM-based defenses can reduce injection attack success rates below 1%. That finding is still valid for protecting your own agents. But it does nothing to stop an attacker's AI agent from finding a zero-day in your authentication system.

Defense-in-depth now means: prompt-level defenses for your agents, traditional application security for your codebase, and monitoring for AI-generated attack patterns in your logs.

Sources

Fact-Check Notes

  • Google confirmed "high confidence" but not certainty that AI was used. The evidence is structural (docstrings, hallucinated CVSS, textbook Python patterns), not forensic (no model access logs).
  • The specific criminal group and targeted tool were not named by Google.
  • Google stated they do not believe Gemini was the model used. The specific model is unknown.
  • The UNC2814 and APT45 details come from the same Google report, published May 11, 2026.

Word count: 498