Black-box vs white-box
Shannon's open-source edition needs your source code. Pentest-Swarm can test any authorised target from the outside, including third-party or legacy apps whose code you do not have.
Compare / Shannon
Shannon, from Keygraph, is a fast-growing open-source AI pentester (about 52,000 GitHub stars) with a strict rule: no exploit, no report. Its open-source edition is white-box — it reads your source code, then runs per-class exploit agents against the running app. Black-box testing is part of its paid tiers.
Pentest-Swarm, also AGPL-3.0, tests black-box by default — from the outside, like an attacker — and can add white-box context when paired with Armur's Trishul source analyser.
Last reviewed 23 November 2026 from public sources listed below. Spotted something out of date? Tell us.
| Attribute | Pentest-Swarm | Shannon |
|---|---|---|
| GitHub stars | ≈3.3k | ≈52.2k |
| 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. Paid Pro ($50 per developer per month) and self-hosted Enterprise tiers. |
| Deployment | Self-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur. | npx, Docker worker, GitHub Actions and GitLab CI; each scan runs in an ephemeral container. |
| What it tests | Web applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF. | Web apps and their APIs. Open-source edition is white-box only and needs the source repository. |
| 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. | Multi-agent pipeline: recon, code analysis, reconciliation, per-class exploit agents (injection, XSS, SSRF, auth, authz), validation, report. |
| Model choice | Your choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio. | Anthropic, OpenAI, xAI, Bedrock, OpenRouter, LiteLLM; local models through OpenAI-compatible endpoints. |
| Finding validation | Non-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation. | Reports only findings with a working proof of concept, per the project. |
| 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. | Project advises not to run against production and that findings need human review. |
| Pricing | Free to self-host. Managed continuous testing (Offensive AI): $3,600 per year. | Free open source; Pro $50 per developer per month. |
Shannon's open-source edition needs your source code. Pentest-Swarm can test any authorised target from the outside, including third-party or legacy apps whose code you do not have.
Shannon advises against running on production. Pentest-Swarm is designed with fail-closed scope, an egress guard and an audit trail for authorised engagements.
Both projects aim to report exploitable findings only. Pentest-Swarm uses non-LLM oracles; Shannon requires a working PoC.
Its open-source edition is white-box only and requires the application's source repository. Black-box testing is available in its paid tiers.
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.