Same idea, different guardrails
Both use shared-board coordination. Pentest-Swarm adds fail-closed scope enforcement at two layers, an egress guard, target authorisation and an audit trail.
Compare / Cairn
Cairn is an AGPL-3.0 framework in which role-less workers run an observe-orient-decide-act loop and coordinate only through a shared board — architecturally close to Pentest-Swarm's blackboard. It drives Claude Code, Codex or Pi CLIs as its backends.
In November 2026 Palo Alto Networks' Unit 42 reported that a China-nexus actor used a customised Cairn fork in 25 operations against at least 19 organisations in August and September 2026. Google's threat intelligence team also named CAIRN among frameworks seen in intrusions.
Last reviewed 23 November 2026 from public sources listed below. Spotted something out of date? Tell us.
| Attribute | Pentest-Swarm | Cairn |
|---|---|---|
| GitHub stars | ≈3.3k | ≈5.7k |
| Open source | Yes — AGPL-3.0 core on GitHub. Some high-impact capabilities are reserved for the managed platform, behind asset-ownership verification. | Yes — AGPL-3.0, with a commercial licence available from the author. |
| Deployment | Self-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur. | Docker Compose, CLI, or a local mode with no sandbox. |
| What it tests | Web applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF. | Pentesting, CTF and vulnerability research. |
| How it works | Recon, classify, exploit and report agents coordinating through a shared, pheromone-weighted blackboard. The swarm scheduler is alpha; the sequential runner is the stable default. | Blackboard-style 'fact-intent graph' with role-less OODA-loop workers. |
| Model choice | Your choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio. | Claude Code, Codex and Pi CLIs as backends; local model support not documented. |
| Finding validation | Non-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation. | Not described. |
| Scope & safety controls | Scope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail. | Authorised-use notice; local mode runs without a sandbox. |
| Pricing | Free to self-host. Managed continuous testing (Offensive AI): $3,600 per year. | Free; commercial licence available. |
Both use shared-board coordination. Pentest-Swarm adds fail-closed scope enforcement at two layers, an egress guard, target authorisation and an audit trail.
Pentest-Swarm talks to model APIs directly, including local Ollama and LM Studio; Cairn drives coding-agent CLIs.
Pentest-Swarm confirms findings with non-LLM oracles.
Unit 42 reported in November 2026 that a China-nexus actor used a customised Cairn fork in 25 operations against at least 19 organisations.
Competitor details come from their public websites, documentation, repositories and press coverage as of 23 November 2026. Product names and trademarks belong to their owners. Pentest-Swarm details reflect its README and documentation.