article hero
Cyber

Cairn: the agent panel that kept its door open

Author

Gideon Frost

Date Published

Models in this article · 6View all models →
Back to all posts

Cairn placed third in Tencent Cloud's second AI penetration-testing hackathon, according to Odin Research. By November 2026 it was named in Google's threat reporting and counted by defenders scanning for exposed consoles. Both facts belong to the same software.

What the machine is

Cairn is a Python application published under the ChainReactors banner and credited to the researcher who posts as le1xia0. It requires Python 3.12 and runs on Linux or macOS with Docker, under AGPLv3.

The design is a blackboard. Every agent reads and writes one shared graph split into facts, intents and hints: confirmed findings, planned probes, optional human steering. Workers never message each other. They run an observe-orient-decide-act loop and leave the result on the board for whoever comes next.

Three components hold it together: a server owning the graph, a dispatcher scheduling work and the only piece allowed to write to the protocol, and worker containers.

The workers are agent CLIs. Claude Code, Codex and Pi are the backends the repository lists, pointed at whatever model endpoint the operator supplies. The worker image is built on Kali, so the tooling inside is the standard offensive set. Default port is 8000.

The README restricts the project to environments with explicit authorisation. What follows concerns the gap between that intent and deployed configuration.

Nineteen consoles, and what the number means

ThreatDefence fingerprints Cairn through Shodan and publishes a rolling count. In the seven days to 25 November 2026 it found 19 active consoles. Over thirty days it found 32. Another 63 realms presenting a Cairn name sat behind Basic authentication and stayed out of the total.

Other surveys land elsewhere. RST Labs merged Shodan and Netlas on 2 November 2026 and verified 56 hosts; Censys showed 30. Odin Research counted 17 endpoints, all on port 8000, and confirmed one controller, hosted in Hong Kong on 18 November.

The spread comes from method. One scanner keys on a banner, another walks address space, a third applies its own liveness rule. Forks and renamed builds multiply the ambiguity; the RST survey found copies trading as VulnFlow IoT, WorkerAnt and Zero.

Exposure is not intrusion. A console answering on the public internet is a configuration fact. It may be a lab, a demonstration, an abandoned evaluation box or real work. A Shodan count does not establish who owns a host or what it was used for, and none of these figures is a victim tally.

What happened to the open panels

On 27 October 2026 NorForge published an investigation into Cairn panels reachable without credentials. At least 17 carried tasks their owners did not write. Some belonged to red teams and capture-the-flag exercises, so an injected task proves reachability rather than a breached organisation.

Two patterns stood out. One, labelled "Install kali SSH key", told the agent to append an unknown public key to the authorized_keys file of the kali user, placing persistence inside the sandbox the agent was trusted to use. The other, "Local worker maintenance", carried a base64 script that fetched a Linux binary. NorForge identified it as Poseidon, a Go-based remote access trojan managed through Mythic, with command and control over a Bunny.net CDN domain. The deployment was recorded on 21 October at 21:15 UTC.

NorForge split the traffic into two clusters. AIA0009 used random hex suffixes and a cairnscan tag, and was the only one seen delivering malware. AIA0010 mimicked Cairn's own intent labels, naming tasks i014 and similar, and spent its time hunting internal services, credentials and other exposed panels. The interest was direct: tasks searched for APIKEY and ANTHROPICAUTH_TOKEN, and model keys turned up in fact text that other users could read.

Three records, one name

Late-2026 reporting on Cairn describes at least three separate things, routinely folded together.

Unit 42, on 12 November, described CL-STA-1238: a customised Cairn fork run by a Chinese-speaking operator or small team, assessed with moderate confidence as China-nexus intelligence collection. Between August and September it ran 25 autonomous operations against at least 19 organisations. Seven were in semiconductors and advanced manufacturing, three in defence and policy, four in civil society.

Ten targets suffered confirmed access or data theft, including more than a million member records at a teachers' union. The operator paired the fork with Zhipu GLM 5.2 in 13 operations and DeepSeek V4 Flash or Pro in the rest, and supplied an AUTHORIZATION.md file declaring the work sanctioned.

GTIG's AI Threat Tracker, reported on 16 November, said it had observed Cairn used in intrusion activity including against the US aerospace sector. It named no victim, no date and no actor.

NorForge's clusters form a third record: opportunistic use of panels somebody else left open.

One tool, three stories. A state-linked group building its own fork, an unattributed intrusion against an aerospace target and automated hijacking of unauthenticated consoles can all be true without describing the same people. Merging them produces a consensus none of the sources stated.

Where the model layer enters

The harness decides the loop. The model decides what the loop tries. Cairn keeps endpoints and keys in a configuration file. Unit 42's record shows a narrow choice: two Chinese families across 25 operations, an authorisation pretext in the prompt, no refusal in the logs.

For teams running authorised work, OrcaCyber provisions two Flash routes, OrcaCyber Flash 1.0 and MiMo V2.6 Flash, at $0.80 and $1.60 per million tokens, with a 1M-token context window. Access goes through an engagement agreement and a passkey rather than an open console on a public port.

Metering is the other half. OrcaPod bills agent-hours rather than tokens, and its price is locked for twelve months.

What survives the campaign

Cairn will keep being counted. The repository stays public, the container image stays pullable, and every fork keeps the same blackboard and the same default port. The exposure figure will move with Shodan's crawl and with whoever remembers to close a firewall.

What a defender can use is narrower. A Cairn panel without authentication is a shell that runs agent CLIs and holds API credentials, so treating port 8000 as an agent console rather than a web app changes the hunt: worker check-ins to /api/v1/cairn/ carrying an X-Cairn-Worker header, keys written into fact text, a new public key in a Kali user's authorized_keys.

The credentials outlast the panel. A stolen provider key keeps working after the container is rebuilt, and October showed that reading the fact graph was enough to find one.

Sources: ThreatDefence exposure data via Shodan, seven-day and thirty-day windows ending 25 November 2026; NorForge, "Inside Cairn", 27 October 2026; Unit 42, 12 November 2026; Google Threat Intelligence Group AI Threat Tracker, 16 November 2026, and its 31 October 2026 agentic-frameworks report; Odin Research project profile and controller census, November 2026; RST Labs exposure survey, 2 November 2026; Cairn repository documentation.

Data card from the articleData card from the articleData card from the article

Compared in this article1

Detected from this article · Benchmarks: Artificial Analysis · updated daily