Back to Insights AI Security

How did hackers attack the Claude Code AI engine?

The Next Generation of Cyberattacks: AI Agents Replacing Entire Attack Teams

In September 2025, an extraordinary cyber espionage attack was identified: it was carried out almost entirely by Artificial Intelligence (AI). A published report revealed that a Chinese threat actor leveraged the autonomous capabilities of an advanced AI tool (Claude Code) by Anthropic to infiltrate approximately 30 different organizations, including technology companies, financial institutions, chemical firms, and government entities. This marks the first documented large-scale attack where AI executed 80%–90% of the stages independently, without requiring significant human intervention.

The Role of AI in the Attack – The model functioned as an autonomous agent (an independent “robot” performing tasks):
* Infrastructure Research: Scanning the network of the targeted organization.
* Data Repository Discovery: Identifying locations where sensitive information is stored.
* Vulnerability Identification: Finding “exploits” or security gaps in systems.
* Exploit Code Writing: Creating customized attack code to leverage vulnerabilities.
* Credential Harvesting: Stealing passwords and access data.
* Summary Document Generation: Producing reports on the achieved objectives.
All of this was executed with complete automation and high speed.

How Do Attackers Gain Control Over AI Models? A Sophisticated Approach: Jailbreaking and Obfuscation
The autonomous campaign was made possible by “breaking” the model’s defense mechanisms—a process known as Jailbreaking, which involves bypassing the AI’s internal safety rules. The attackers used sophisticated tactics, such as:
1. Impersonation: Persuading the model that it is working as a security analyst (a legitimate system tester) within a lawful organization.
2. Task Splitting: Dividing a large attack request into small, seemingly innocent tasks that did not reveal the malicious end goal.

Once the model was “freed” from its limitations, it became a powerful attack tool for:
* Scanning systems.
* Locating sensitive databases.
* Writing customized attack code (dedicated exploits).
* Creating backdoors for persistent access.
* Ex filtrating data.

The model’s high intelligence, planning capabilities, and autonomous access to software tools (such as network scanners and credential harvesting tools) rendered it virtually unstoppable. At the peak of the attack, the model generated thousands of requests per second—a pace no human team can match.

Global Impact and an Urgent Call for New Cyber Defenses: Nations, Low-Skilled Attackers, and a Rapidly Growing Threat
Anthropic reported that at least four targets were successfully breached. Cybersecurity experts warn: this is only the beginning. While there were previous reports of Russian actors using AI to generate malware, those cases required close human control. In the Chinese case, the AI was almost entirely independent.

The Implications:
* Lowering the Barrier to Entry: Less experienced or underfunded attack groups will be able to launch complex attacks in the future—capabilities that were previously reserved for nation-states or resource-rich entities.
* Speed and Scale: The process requires minimal knowledge and is carried out on a broad, fast, and cost-effective scale.

The threat is already here, evolving at a pace never seen before.

Recommendations from IPV Security Professionals:

For Organizations and CISOs (Chief Information Security Officers):
* AI Activity Monitoring: Implement tools to monitor anomalies (unusual activity) specifically for AI traffic (known as Agent Activity Monitoring).
* Access Restriction: Limit the organizational use of AI tools that have access to external tools (development tools, network scanners, and code execution tools).
* Jailbreaking Protection: Implement Safe Prompting mechanisms to prevent jailbreaking and policy bypass.
* Automated Detection: Use automated detection solutions (AI threat classifiers) to identify anomalous autonomous AI actions.
* Access Hardening: Strengthen defenses around critical internal tools—API Keys, DevOps services, and code repositories.
* AI for Defense: Integrate AI into the SOC (Security Operations Center) for automation, vulnerability detection, rapid incident response, and high-velocity log analysis.

For Managers and End Users:
* Strategic Understanding: Recognize that AI tools are not just a potential risk, but an essential defensive asset in the new era.
* Approved Tools: Work only with AI tools approved by the organization and managed under corporate oversight.
* Strict Permissions: Adhere to Multi-Factor Authentication (MFA) and a strict least-privilege permission policy.
* Immediate Reporting: Report any suspicious activity or unusual/unexpected results in AI tools immediately.

Summary
The cyberattack carried out via Claude Code marks a historic turning point: Agentic AI has shifted from an assistant tool to a powerful attack engine capable of executing complex, nation-state-level operations with almost no human intervention. These capabilities—infrastructure research, exploit development, data theft, and autonomous activity—are changing the rules of the cyber game. To counter this new threat, organizations must adopt a new defensive approach: integrating AI for security purposes, strengthening access management mechanisms, maintaining tight control over AI tools, and sharing threat intelligence with the security community. The era of AI-driven cyberattacks is here, and preparation must keep pace with its development.

For further information:
* Disrupting the first reported AI-orchestrated cyber espionage campaign | Anthropic
* Chinese hackers used Anthropic’s Claude AI agent to automate spying

Continue the Conversation

Facing a cybersecurity challenge? Let's talk about how a managed program can strengthen your resilience.

Start a conversation