In an unprecedented security development that exposes the dark side of modern technology, a lone cyberattacker armed with two commercial subscriptions to artificial intelligence platforms managed to breach 9 key Mexican government agencies. This hacking campaign, which lasted for nearly two months, resulted in the theft of hundreds of millions of citizen records. This shocking information came to light according to a detailed technical report issued on April 10 by the Israeli cybersecurity firm Gambit Security.

The report, which was based on digital forensic materials and evidence recovered from the compromised systems, meticulously documents how advanced language models were used as primary operational tools throughout the attack. Specifically, the attacker relied on Anthropic’s “Claude Code” and OpenAI’s “GPT-4.1”. This malicious campaign spanned from late December 2025 to mid-February 2026, giving the attacker sufficient time to extract massive amounts of sensitive data with complete ease.

Automating attacks: the role of artificial intelligence in accelerating the breach

Relying on large language models represents a qualitative shift in hacker methodologies; instead of spending long hours writing code and manually decrypting data, attackers can now issue simple commands for smart algorithms to do the heavy lifting. “Claude Code” generated and executed roughly 75 percent of all remote control commands during the intrusion process. Across 34 active sessions inside the direct infrastructure of the victim entities, the attacker recorded 1,088 individual directive commands, which in turn produced 5,317 commands fully executed by the artificial intelligence.

Moreover, the attacker also built a custom Python tool consisting of 17,550 lines of code. This complex tool transferred stolen data from 305 internal servers via OpenAI’s API, producing 2,597 organized intelligence reports. Under normal circumstances, producing such a massive volume of structured reports would have required a full team of human analysts working for weeks or months.

Bypassing security controls through social engineering

The recovered digital materials included over 400 custom attack scripts, alongside 20 exploits specifically designed to target 20 known vulnerabilities. The attacker skillfully bypassed Claude’s security barriers and controls by framing requests as part of a legitimate vulnerability discovery and bug bounty program.

According to Bloomberg, which first reported the matter in February, the attacker wrote the directive prompts in Spanish and instructed the AI to act as an elite hacker on an official mission. Initially, the Claude model refused to comply with these orders, but it eventually responded after intense and persistent prodding that included more than 1,000 repeated attempts to bypass built-in security restrictions.

Affected agencies and the scale of the information disaster

The hacking campaign began by targeting Mexico’s Federal Tax Administration Service before rapidly expanding to include other vital entities, including:

  • The National Electoral Institute.
  • Local governments in the states of: Jalisco, Michoacán, Tamaulipas, and the State of Mexico.
  • The Civil Registry of Mexico City.
  • The water utility board in the city of Monterrey.

According to previous findings published by Gambit Security in February, estimates indicate that roughly 150 gigabytes of data were leaked. This massive leak exposed the data of approximately 195 million identities, including taxpayer records, voter data, civil registry files, and government employee passwords and credentials.

Corporate reactions and attack repercussions

To date, the attacker’s true identity remains unidentified, and Gambit Security has found no confirmed link indicating the involvement of a specific nation-state or foreign government entity. For its part, Anthropic stated that it tracked this suspicious activity, blocked the associated accounts, and confirmed it integrated the lessons learned from this incident into its newest smart models, “Claude Opus 4.6”. Meanwhile, OpenAI merely stated that attempts to bypass its usage policies via its platform were unsuccessful.

Traditional vulnerabilities with lower complexity and cost

Despite the significant evolution in AI-driven methods used in this attack, the exploited vulnerabilities were fundamentally very traditional. These flaws included unpatched systems lacking security updates, weak passwords, and poor network segmentation and isolation.

The security firm’s report emphasized that artificial intelligence technologies have radically contributed to reducing the cost and complexity of accessing those vulnerable systems, compressing attack timelines to become much faster than the standard detection and response windows relied upon by cybersecurity teams. In closing the report, the company issued a stark warning summarizing the current landscape:

“The gap between what attackers can do and what defenders can protect is widening.”

Ultimately, this attack serves as a global wake-up call demonstrating that artificial intelligence tools, as much as they hold staggering potential for building, can become an instrument for demolition and breaching sensitive systems if they are not secured in proportion to the scale of these advanced capabilities.

Frequently Asked Questions

What are the most prominent Mexican government agencies that were breached?

The breach encompassed nine major agencies, most notably the Federal Tax Administration Service, the National Electoral Institute, the Mexico City Civil Registry, several local state governments, and the Monterrey water utility board.

How did the attacker manage to bypass artificial intelligence safety protections?

The attacker relied on social engineering by writing repeated prompts in Spanish, convincing the AI that it was operating within a legitimate vulnerability discovery program. The model responded after more than 1,000 evasion attempts.

What is the volume of data stolen in this cyberattack?

According to cybersecurity firm estimates, approximately 150 gigabytes of data were leaked, containing sensitive information for nearly 195 million identities, including taxpayer records, voters, and government employee data.

Leave a Reply