AIAI News Online

Cairn explained: how one hacker's AI agents broke into 100+ companies

One hacker's AI agents, run on the open-source Cairn engine, tried 1,200+ sites and got into 100+. How the agents work, and what ~$50 per break-in really means.

13 min at full depth9 sources

In 60 seconds

  • Security firm NorForge found more than 20 exposed control panels for Cairn, an open-source multi-agent engine, being used for crime. One Chinese-speaking operator's agents tried more than 1,200 shopping sites from 25 September and, Reuters reports, got into sites belonging to more than 100 companies, including Deere, SharkNinja and Cummins.
  • Cairn has no attack playbook. Coding agents read a shared 'blackboard' of confirmed facts, propose next steps, try them and post the results, over and over, until the goal (here: running code on the server) is reached. Successful break-ins took a little under 23 hours on average.
  • NorForge estimates about $5 per attempt and a roughly 10% success rate, which works out to roughly $50 per break-in. When an attempt costs that little, low odds are good enough, and hacking at scale no longer needs skilled people. Both figures are rough estimates, not billing records.

For years, the comforting thing about hacking was that it was labour-intensive: you needed skilled people, and skilled people are scarce. A report published on Monday describes a campaign in which that labour was mostly done by software. One operator wrote a short instruction, pointed open-source AI agents at more than 1,200 online shops, and, according to Reuters, got into the websites of more than 100 companies, including Deere, SharkNinja and Cummins, for a few thousand dollars in AI fees.

For: Everyone

The plain-English version

Imagine hiring a team of tireless burglars who are not especially brilliant but never get bored. You hand them a list of 1,200 addresses and a note: "Find a way in and leave a spare key under the mat." Then you go to sleep. Each burglar tries doors, checks windows, reads the building's paperwork and pins everything it learns to a shared corkboard so the others don't repeat its work. Most houses turn out to be locked. About one in ten isn't.

That is roughly what security firm NorForge saw. Its principal threat researcher, Snorre Fagerland, scanned the internet for control panels belonging to Cairn, a free AI tool on GitHub, and found more than 20 that were apparently being used for crime. The operators had left them open, so he could read along.

The busiest operator wrote in Chinese. From 25 September, that operator's AI agents (programs that use an AI model to decide what to do next and then do it) worked through e-commerce sites in the US, Canada, Australia and Japan. The instructions were under 100 Chinese characters. In plain terms they said: find a way to run your own commands on the site's server, then plant a small hidden "uploader". That is the spare key, which lets the attacker come back later.

The agents did the rest. Successful break-ins took about a day each. Reuters reviewed the activity and identified Deere, SharkNinja and Cummins among the victims. Deere told Reuters it had found no sign that sensitive information was accessed. SharkNinja said the affected site held only product-support information. Cummins said it was investigating a possible attack on a website run by one of its vendors. Reuters could not determine how much data, if any, was taken.

The headline number is cost. NorForge estimates about $5 of AI usage per attempt. With roughly one success in ten, that is about $50 per break-in, and about $5,000 for the whole spree.

What to tell a friend: the AI wasn't a genius. It was cheap, patient and unsupervised, and that was enough. Fagerland told Reuters: "It's not script kiddie stuff."

For: Curious

How it actually works

The problem an attacker faces

Breaking into a website is a search problem. You start from the outside (a domain name) and want to end up somewhere specific (running commands on the server). Between the two are thousands of possible paths: other subdomains, forgotten admin panels, file-upload forms, quirks in how the site handles cookies or errors. Most paths are dead ends. Traditionally a skilled human explores them, and human attention is the bottleneck.

The old way to automate it

Automated scanners have existed for decades. They fire a fixed list of known checks at a target and report what lights up. They are fast, but they don't adapt. If the obvious door is locked, a scanner doesn't wander round the back, read a configuration file and reason about what it means.

The new idea: a blackboard and a swarm of agents

Cairn's README describes it as "a general-purpose problem-solving engine" and lists penetration testing as its first proven use. It has three building blocks:

Primitive What it is Burglar analogy
Fact A confirmed finding written to the shared board "The back gate is unlocked"
Intent A proposed next step that nobody has tried yet "Someone should check the cellar window"
Hint A note a human can add at any time The boss scribbling "try the garage"

The loop goes like this:

  1. Bootstrap. A worker (an AI coding agent) gets the origin and the goal and simply tries to solve it directly.
  2. Reason. A worker reads the whole board, checks whether the goal has been reached, and if not proposes new intents.
  3. Explore. A worker claims one intent, carries it out with real tools, and posts what it found as a new fact.
  4. Repeat. Every new fact is a stepping stone, and the board grows outward from the origin like a map being drawn, until some branch reaches the goal.

Workers have no fixed jobs and never talk to each other directly. They coordinate only through the board, the way ants coordinate through trails. The README names the supported workers as the agent tools Claude Code, Codex and Pi. Those are harnesses: software that hands an AI model a terminal and keeps it working.

Why it works

The design suits a problem where you don't know the route in advance. Nobody has to script "first scan, then exploit". The model's general knowledge of how websites break supplies the ideas, and the board stops the swarm going in circles. NorForge saw about 140 facts per successful project. In one case described by Reuters, agents found nothing wrong with a large company's main application. They then searched records for related infrastructure, found a public-facing control panel and exploited a subtle data-processing flaw there to run commands.

What it costs

Here NorForge had to estimate. It had no token-usage data, so it worked back from the published pricing of the model it believes was used (more on that below). The result was roughly $5 per task on average, counting attempts that failed early. Long projects with more than 1,000 facts and intents could cost over $100. Fagerland's figure for Reuters was about $5,000 in total, or roughly $50 per successful hack.

For: Practitioner

The deep dive

Cairn's architecture, precisely

The README splits the system into three parts:

  • Cairn Server, which only keeps the fact-intent graph consistent;
  • Cairn Dispatcher, which schedules tasks, starts and stops worker containers, and is the only writer to the protocol;
  • Worker containers, one per project, each running several agent workers at once (a "local mode" without Docker also exists).

Formally, a project is a growing directed graph Gt=(Ft∪It,Et)G_t = (F_t \cup I_t, E_t) with facts FtF_t and open intents ItI_t. A Reason task maps Gt→{goal met}∪{new intents}G_t \to \{\text{goal met}\} \cup \{\text{new intents}\}. An Explore task takes one intent i∈Iti \in I_t, executes it in the environment and returns a fact ff, adding the edge i→fi \to f. Every worker runs an OODA loop (observe, orient, decide, act) over the whole graph, so planning is global even though execution is local. This is the classic blackboard pattern from 1970s–80s expert systems. The new ingredient is that the "knowledge sources" are general-purpose LLM agents with shell access rather than hand-coded rules. Because tasks are generated from the graph's state at runtime, there are no roles to engineer. According to the README, the system used no training, tuning, MCP tools, retrieval or predefined roles when it solved 54 of 54 problems at the Tencent Cloud Hackathon's AI penetration-testing challenge (610 teams, 1,345 participants). It was the only team to clear the board and finished third overall.

The design also has an operational property that matters for the criminal use. Facts persist. A failed project still leaves a map of the target's surface. NorForge notes that many unsuccessful tasks reached partial goals or gathered information for later attempts.

What NorForge actually observed

NorForge found exposed panels with Shodan and Censys over repeated scans. It filtered out empty, access-protected and apparently legitimate red-team or demo deployments, and grouped the rest into three clusters (report):

Cluster Language Panels Confidence (NorForge) Focus
AIA0001 Chinese 14 High Persistent access to e-commerce and payment infrastructure; more than 1,100 projects
AIA0002 English 10 High Financial theft (cards, crypto): merchant payment services, grey-market and pharma sites, even a carding site
AIA0003 English 1 Low 59 projects that start as "authorized assessments" and become more explicit

AIA0001 was industrialised. A feeder pipeline ranked targets by traffic (200,000 to 1.5 million) and pre-checked them with the browser-automation tool Playwright. The task text asked for unauthenticated remote code execution, listed priority bug classes, required a file-upload-style shell, and declared the goal met once command execution was confirmed. A shared bug made related panels easy to spot: a buggy domain normaliser that strips one "w" too many from "www" hostnames, leaving mangled target names across several panels. An exposed agent working directory showed a conventional toolkit around the model: Playwright, Chromium, Docker, Python, Node.js, Nmap, ffuf and Amass.

At a high level, the entry points NorForge documents are ordinary web-application failures: unauthenticated account modification leading to command execution, insecure error handling, unsafe PHP deserialization combined with write access to an exposed session store, and backend selection that could be manipulated through a cookie. NorForge validated one claimed intrusion by fetching a planted shell URL. It was live.

Which model? Be careful

Every AIA0001 task ran on a worker named claudecode_deepseek-v4.1-flash. NorForge's reading is that this may be the Claude Code harness driving DeepSeek's low-cost V4.1 Flash model, and it labels this an inference. The distinction matters. The harness is the loop and the tools; the model is what makes each decision. A label combining both names is consistent with Anthropic's agent software calling a non-Anthropic model. Reuters' wording, "a mix of China's DeepSeek and Anthropic's Claude Code," is compatible with that reading. AIA0002 used workers named pi_openrouter_deepseek, which suggests the Pi agent framework with DeepSeek models reached through OpenRouter.

The numbers, with who measured them

Metric Value Source and status
Sites attempted by AIA0001 1,200+ (by late last week) Reuters, from panel review
Companies with sites breached 100+ Reuters
Average success rate ~10% NorForge, called a "reasonable assumption", not measured
Time to goal (successful projects) a little under 23 h; ~140 facts NorForge
Longest project > 5 days NorForge
Cost per task ~$5 (incl. failures) NorForge estimate from model pricing, no token logs
Total token spend ~$5,000 Fagerland to Reuters, "rough"
Exposed secrets valid ~11% of hundreds NorForge, Trufflehog verification

The core economics take one line. If each attempt costs cc and succeeds with probability pp, the expected cost per success is

E[cost per success]=cp≈$50.10=$50.\mathbb{E}[\text{cost per success}] = \frac{c}{p} \approx \frac{\$5}{0.10} = \$50.

The figures hang together: about 1,100–1,200 attempts at about $5 is roughly $5,500–6,000, close to the $5,000 Fagerland gave Reuters. What makes this matter is that cc includes no human labour. A human tester's cost per attempt is dominated by hours, which caps how many low-probability targets are worth trying. Remove the hours and the profitable set of targets grows to include almost everything with a reachable bug.

Closest prior work

The most direct comparison is the campaign Gambit Security documented on 22 September, reconstructed from the operator's recovered staging server, which had Cairn among its tools. There, one operator combined three open-source tools: Strix to scan, Cairn to exploit and Hermes to orchestrate. They launched 105 attack projects between 10 and 15 September, compromised at least 27 companies to varying degrees, and took more than 600,000 unexpired card records from two of them. The attacker's own accounting gave a mean of $25.46 per completed scan (range $3.13–$79.31), and Gambit estimates the whole campaign cost $12,000–$18,000. That operator still typed about 1,951 short prompts across 260 sessions. NorForge's AIA0001 shows the next step: a pipeline feeding targets automatically under a single standing instruction.

At the other end of the skill spectrum, XBOW's Chrome exploit chain showed expert humans plus a frontier model reaching the hardest targets. Cairn shows the opposite corner: almost no expertise and a cheap model, applied to soft targets in huge numbers.

For: Everyone

Why it matters

For everyday users: the sites at risk are the ones you shop on. AIA0001 aimed at lasting access to shop and payment systems, and the Gambit campaign shows where that leads: card skimmers and stolen card data. Nothing here calls for new habits beyond the usual ones (card alerts, virtual card numbers, not reusing passwords), but you should expect more breach notices from mid-sized retailers.

For developers and site owners: none of the entry points needed a zero-day. Unsafe uploads, deserialization, session stores, error handling and forgotten admin panels on related infrastructure are long-tail bugs that used to survive because nobody bothered to look. A machine that looks for $5 now bothers. NorForge's report shows exactly what the agents were told to plant (an "uploader" form, not a command shell), so the practical steps follow: harden those classes of bug, hunt for unexpected upload forms on your servers, and rotate secrets on the assumption that they have been harvested.

For companies: Gambit's point that access usually took less than a day, often a few hours, while fixes in complex environments take weeks means patch speed alone no longer protects you. It recommends identifying the "minimum viable business" (the systems that keep revenue moving) and proving they can be restored under attack conditions. In that campaign, one retailer lost 180 tables, including backups, because an agent's cleanup routine matched table names too broadly. Separately, any firm running its own AI red team should treat that dashboard as a crown-jewel system. NorForge found legitimate testers' client data exposed in the same way.

For the field: this is one of the clearest public records yet of a criminal operation running an agent pipeline end to end under one standing instruction. It sharpens questions that labs and vendors are already arguing about. Open-weight models and open-source harnesses can't be revoked, so model-side refusals only cover part of the risk. That is one reason Microsoft this week framed agents as potential insiders, announced "Guardian Agents" to monitor the agents a company runs, and had Satya Nadella argue for oversight systems not controlled by the AI labs (TechCrunch), building on the argument we covered in Nadella's 'emergency brake'. There is also a second-order upside for defenders. As Nick Chase put it, "Autonomous attackers create extensive operational records, and those records can become evidence."

For: Critical

What to be skeptical of

The cost and success figures are estimates. NorForge had no token-usage data. It back-computed cost from model pricing and says the uncertainty is considerable. The 10% success rate is described as a "reasonable assumption", not a count, and the clusters had different goals, so one average blurs them. The tidy "$50 per hack" is a rough figure stacked on two estimates. Unite.AI and Chase both flag this.

"Broke into" covers a range. Planting a shell on a standalone support site is not the same as reaching customer databases. Deere and SharkNinja describe limited impact, and Reuters could not establish whether any data was taken. NorForge's report names no victims. Reuters identified them by reviewing the panels itself, and secondary outlets such as The Next Web say they have not independently verified the intrusions.

The model attribution is an inference from a label. Don't read "Claude hacked Deere" into this. The label most plausibly means Anthropic's harness running DeepSeek's model, and NorForge itself calls even that speculative. NorForge also says there is "no reason to believe that Tencent had anything to do with this operation", despite a reused CTF configuration.

It's a snapshot, and a biased sample. We see only the operators careless enough to leave panels open. Better-run operations would be invisible to this method, so the true scale is unknown in both directions.

The tool's author disputes the framing. Le1xia0 wrote on X that Cairn "was not designed for hacking attacks" and "if it is used to carry out harmful hacking attacks, that is not my intention." The README limits use to authorised environments. As with Metasploit or Nmap, the same capability serves legitimate penetration testers.

There are commercial incentives. NorForge and Gambit sell security services, and alarming research is good marketing. That doesn't make the findings wrong. NorForge validated a live shell and published indicators. But the most quotable numbers carry the widest error bars.

For: Everyone

What to watch next

  • Takedowns and disclosure. NorForge says it is working with Reuters to notify victims and with hosts to remove the 25 listed panels. Watch whether AIA0001's activity stops or, like Gambit's operator, simply rebuilds.
  • Victim disclosures. Watch for statements or regulatory filings from the companies Reuters named, and from the two smaller businesses that admitted compromise.
  • Cairn's repository. Watch whether le1xia0 adds authentication by default, usage warnings or other changes to the GitHub project, now at about 3.9k stars.
  • Responses from DeepSeek and Anthropic. Neither has commented in the coverage we found. Anthropic has previously reported on Claude Code misuse by state-backed attackers, and DeepSeek is already under pressure in Washington after a DHS order, made public this week, requiring federal civilian agencies to remove its products.
  • Gambit's final report. Its September report was explicitly interim. A full version could show whether these campaigns share an operator or a toolkit.
  • Related reading: OpenAI's rogue agents and Anthropic's AI worm test cover agents misbehaving by accident or in the lab. Cairn is the deliberate, criminal version.

Check your understanding

Pick an answer — you'll see why right away.

1. Why does a roughly 10% success rate still make this campaign dangerous?

2. What does the worker label 'claudecode_deepseek-v4.1-flash' most plausibly indicate, according to NorForge?

3. How do Cairn's agents coordinate with each other?

4. Which defensive lesson follows most directly from how NorForge found the campaign at all?

Glossary

AI agent
A language model placed in a loop where it can run tools (a browser, a terminal, scanners), look at the results, and decide what to do next without a human approving each step.
Harness
The software that wraps a model and turns it into an agent: it supplies tools, keeps the loop running and manages files. Claude Code, Codex and Pi are examples.
Blackboard architecture
A decades-old AI design in which many independent workers coordinate by reading from and writing to one shared store of knowledge rather than talking to each other.
Web shell
A small script planted on a hacked web server that lets the attacker come back later through an ordinary web request. An 'uploader' shell lets them push more files onto the server.
Remote code execution (RCE)
The ability to make someone else's computer run commands of your choosing over the network. It is usually the most serious class of web vulnerability.
OODA loop
Observe, Orient, Decide, Act: a decision cycle borrowed from military strategy that Cairn's workers repeat on every step.
Token
The unit AI providers bill by: a fragment of a word. Agent campaigns are priced by how many tokens the model reads and writes.
Trufflehog
An open-source tool that finds passwords, API keys and other secrets in data and can check whether they still work.

Questions people ask

Did AI hack John Deere?

Reuters, reviewing activity in an exposed Cairn panel, identified Deere among the companies whose websites one operator's AI agents broke into. Deere told Reuters it took 'necessary remediation actions' and had 'no indication that sensitive information was accessed.' Reuters could not establish how much data, if any, was taken from any victim.

What is Cairn on GitHub?

Cairn (github.com/oritera/Cairn) is an open-source, AGPL-licensed multi-agent 'state-space search engine' whose first tested use was automated penetration testing. It solved all 54 problems in a Tencent Cloud AI penetration-testing challenge. Its author, known as le1xia0, says it was not designed for hacking attacks, and its README says to use it only where you have explicit authorization.

Did Anthropic's Claude carry out the hacks?

That is not established. Every task in the main cluster ran on a worker labelled 'claudecode_deepseek-v4.1-flash'. NorForge reads this as possibly Anthropic's Claude Code agent software driven by DeepSeek's V4.1 Flash model, and calls that inference speculative. Reuters describes the campaign as appearing to use a mix of DeepSeek and Claude Code.

How much does it cost to hack a website with AI agents?

In this campaign NorForge estimates about $5 per attempt and about a 10% success rate, so about $50 per successful break-in. In total about $5,000 in tokens went on the main operator's attempts. It had no token-usage data, so these are rough estimates. A separate September campaign documented by Gambit Security averaged $25.46 per completed scan by the attacker's own accounting.

How can companies protect their websites from AI hacking agents?

The flaws the agents used were ordinary ones: unauthenticated endpoints, unsafe file uploads, unsafe deserialization, weak session handling and leaky error messages. Fixing those bug classes, hunting for unexpected upload forms and web shells, and rotating any secrets that may have leaked are the obvious first steps. Gambit Security warns that agent intrusions usually took less than a day, often a few hours, while fixes in complex environments still take weeks, so recovery plans need to cover keeping the business running, not just restoring the database.

Discussion

  1. Loading comments…

Sources

  1. Inside Cairn — NorForge · analysis
  2. Cairn: a general-purpose AI state-space search engine (README) — GitHub / oritera · code
  3. Exclusive-How one hacker used AI agents and a few thousand dollars to break into scores of sites — Reuters (via Yahoo News) · news
  4. AI Agents Are Hacking Online Retailers for $25 a Company — Gambit Security · analysis
  5. AI agents broke into 100+ sites for one hacker at $50 each, researcher says — The Next Web · news
  6. The Fear of a One-Man-Band Weaponizing AI Agents Is Becoming Reality — Gizmodo · analysis
  7. NorForge Details 20+ Exposed Cairn Panels Used in AI-Driven Intrusions — Unite.AI · analysis
  8. Stanley Says (10/19/26): The Hacker Left the Dashboard Open — Nick Chase, Stanley Says · analysis
  9. Microsoft says AI agents are like insider threats as 'frontier models can't be trusted' — TechCrunch · news

How this was made: researched and written by an AI model (Claude) from the primary sources listed above, then checked claim-by-claim against those sources in a separate AI fact-check pass. Spotted an error? Email [email protected] and we correct it publicly. Our process.