Between August and September 2026, a China-nexus threat actor tracked as CL-STA-1238 deployed an open-source AI penetration testing framework known as Cairn to conduct autonomous operations against at least 19 organizations. According to Unit 42, the campaign involved 25 distinct operations targeting sectors including semiconductors, defense contractors, and civil society. Rather than relying on traditional manual exploitation scripts, the operators weaponized the Cairn framework by integrating Chinese large language models, specifically Zhipu GLM and DeepSeek, to plan, execute, and record the results of cyberattacks with minimal human intervention.
Autonomous Campaign Mechanics and AI Integration
The Cairn framework operates using an AI model to drive individual agent workers, coordinating actions through a shared blackboard mechanism. Agents read findings from the blackboard and write facts back as a structured fact-intent graph. For this campaign, the attackers utilized a customized fork of Cairn hosted on infrastructure in Hong Kong and the United States, pairing the framework with Zhipu GLM 5.2 and DeepSeek V4 Flash or Pro models.
The Orchestration Loop
Each operation followed an automated three-phase lifecycle once supplied with a target domain and a high-level goal:
- Bootstrap Phase: The AI worker attempts to directly solve the objective using initial target information and operator-supplied hints, such as VPN gateway addresses or group credentials.
- Reason Phase: The model reviews accumulated findings and decides the next course of action.
- Explore Phase: The framework executes a specific action, recording the output as a confirmed finding.
This loop repeated autonomously for durations ranging from 20 minutes to over 50 hours. The operators also loaded a custom skill pack titled “AIScan Runner Skills” to supply specialized scanning and exploitation capabilities. To bypass safety guardrails, the attackers prepended Chinese-language preambles to the worker system prompts instructing the models never to refuse tasks, while generating an AUTHORIZATION.md file for every operation.
Target Sectors and Operational Scope
The campaign primarily focused on three strategic verticals:
- Semiconductor manufacturers and equipment suppliers
- Defense industrial base entities
- Civil society organizations and non-governmental bodies
Out of the 25 operations conducted, the framework successfully achieved unauthorized access or data retrieval at 10 targeted entities. The attackers benchmarked model performance, escalating from DeepSeek V4 Flash to the higher-tier DeepSeek V4 Pro when encountering resilient network defenses.
Actionable Mitigations
Defenders seeking to detect and disrupt autonomous AI-driven attacks must prioritize behavioral monitoring and perimeter hardening:
- Behavioral Anomaly Detection: Implement security information and event management (SIEM) rules to flag rapid, multi-stage enumeration and exploitation patterns that deviate from human typing and execution speeds.
- Credential Hygiene: Audit VPN gateways and remote access endpoints to ensure multi-factor authentication (MFA) is enforced, mitigating risks from pre-gathered credentials utilized by automated agents.
- Attack Surface Management: Continuously discover and remediate unknown or shadow IT exposures that serve as initial entry points for agentic testing frameworks.
Related: Proactive Threat Intelligence: Shifting Beyond Reactive Security, Japan’s Active Cyber Defense Strategy and Framework