AI Threats

When Pentest Frameworks Turn Hostile: Cairn, ARTEX and the AI-Assisted Campaigns Reaching Africa

Two investigations published weeks apart show attackers running open-source AI penetration-testing frameworks against real targets. One probed organisations in Kenya, Nigeria and South Africa. Here is what changed, and what it means for defenders.

Hands typing commands on a laptop keyboard

Offensive security tooling has always been dual-use. The same framework a penetration tester uses to find weaknesses before an attacker does can be pointed at a target without permission. What is new in 2026 is that these frameworks increasingly come with an AI planner attached. The operator describes an objective; agents decompose it into tasks and execute them. Two investigations published this autumn show what happens when that capability reaches criminal and state operators.

ARTEX: a financially motivated campaign touching Africa

In October 2026 Zscaler ThreatLabz documented a campaign built on ARTEX, an AI-assisted penetration-testing framework with a planner-and-worker design. The operator combined it with commercial AI coding assistants and several large language models, with agents peer-reviewing one another’s work and scripts keeping context between sessions.

Recovered configurations and prompt logs show targets probed in roughly 20 jurisdictions, including Kenya, Nigeria and South Africa, across sectors such as SMS providers, payment platforms, retail, education, investment services and logistics. The objective was plainly commercial: bulk personal records, mobile numbers, transaction histories and payment-gateway API keys, the raw material for fraud and for resale on underground markets. ThreatLabz did not report specific outcomes for the African targets, but their inclusion confirms that AI-assisted operations are already scanning the region’s payment and communications businesses.

Cairn: espionage at machine pace

In November Unit 42 described a cluster it tracks as CL-STA-1238, which used Cairn, an open-source AI penetration-testing framework, to run 25 operations against at least 19 organisations over two weeks in August and September. Targets included advanced semiconductor manufacturers, US defence-policy bodies and civil-society and human-rights groups. Unit 42 assessed, with moderate confidence, that the activity represents China-nexus intelligence collection, and confirmed unauthorised access or data retrieval at ten organisations.

The framework broke each goal into stages (reconnaissance, web and middleware exploitation, credential collection, privilege escalation, lateral movement and persistence) and pursued them with little per-target human involvement.

What has actually changed

It would be wrong to conclude that AI has given attackers new techniques. Every step in both campaigns maps to familiar tactics: exploit an exposed application, harvest credentials, escalate, persist. What has changed is cost and scale. A single operator can now run many intrusions in parallel, each adapted to its target, at a pace that used to require a team. Opportunistic scanning of mid-sized African businesses, which once attracted little skilled attention, is now cheap enough to be worth an attacker’s while.

Defensive priorities

  • Treat internet exposure as the front line. Both campaigns depended on reachable, exploitable services. Continuous attack-surface management, not an annual scan, is the proportionate response.
  • Protect API keys like passwords. ARTEX operators hunted for payment-gateway keys. Keep them out of source code and front-end bundles, scope them narrowly, and rotate on any suspicion.
  • Watch identity, not just endpoints. Credential collection was central to both campaigns. Monitor for impossible travel, new OAuth grants and service-account misuse.
  • Use the same tools first. AI-assisted testing, run by authorised professionals under contract, finds the same weaknesses these operators look for, before they do.

Sources

  1. Zscaler ThreatLabz: Inside a global AI-assisted hacking campaign (21 Oct 2026)
  2. Unit 42: Attackers use autonomous AI to target semiconductor, defence and civil society sectors (12 Nov 2026)
  3. CRN Asia: AI-assisted hackers target financial and personal data across 19 markets