Compare / Shannon vs PentestGPT

Head to head

Shannon vs PentestGPT

Shannon: An open-source, white-box AI pentester for web apps that only reports findings with a working exploit. PentestGPT: A research-born, open-source AI penetration testing assistant, now with an autonomous mode built on Claude Code or Codex. All both are open-source projects that test web applications, so they are often shortlisted together.

We also show where Pentest-Swarm, our open-source autonomous pentester, fits — and say plainly when one of these is the better choice.

Last reviewed 23 November 2026 from the public sources listed below. Spotted something out of date? Tell us.

The short answer

Open-source tool

Shannon

Best for: White-box testing of web apps you have the source code for, in CI.

Open-source tool

PentestGPT

Best for: CTFs, learning and guided human-in-the-loop testing.

Open source · ours

Pentest-Swarm

Best for: Open-source, self-hosted autonomous testing of web apps and APIs with verified findings.

Capabilities at a glance

CapabilityShannonPentestGPTPentest-Swarm
Open source●●●
Self-hosted●●●
Runs on local models●●●
Choose your own model●●●
Autonomous AI agents●●●
Tests web apps●●●
Tests APIs●○●
Tests networks / AD○○◐
Public pricing or free●●●
Capabilities ticked8 / 97 / 98.5 / 9

● yes · ◐ partly · ○ no. Pentest-Swarm ticks the most boxes here — but a checklist is not a verdict: depth of testing, maturity and support matter too, and are covered below.

Side by side

AttributeShannonPentestGPTPentest-Swarm
Open sourceYes — AGPL-3.0. Paid Pro ($50 per developer per month) and self-hosted Enterprise tiers.Yes — MIT.Yes — AGPL-3.0 core on GitHub. Some high-impact capabilities are reserved for the managed platform, behind asset-ownership verification.
Deploymentnpx, Docker worker, GitHub Actions and GitLab CI; each scan runs in an ephemeral container.Python CLI and Docker image. Anonymous telemetry is on by default (opt out with --no-telemetry).Self-hosted CLI (npm, Homebrew, Go, Docker) with a TUI and local dashboard; or fully managed by Armur.
What it testsWeb apps and their APIs. Open-source edition is white-box only and needs the source repository.CTF by default, plus a pentest mode; categories include web, crypto, reversing, forensics and pwn.Web applications and APIs (REST and GraphQL), plus playbooks for external attack surface, internal network ranges and CTF.
How it worksMulti-agent pipeline: recon, code analysis, reconciliation, per-class exploit agents (injection, XSS, SSRF, auth, authz), validation, report.Autonomous mode drives Claude Code or Codex through a staged pipeline; legacy mode is human-in-the-loop over a pentesting task tree.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.
Model choiceAnthropic, OpenAI, xAI, Bedrock, OpenRouter, LiteLLM; local models through OpenAI-compatible endpoints.Autonomous mode: Claude Code or Codex only. Legacy mode: many providers including local Ollama.Your choice: Claude, Gemini, Together AI (GLM, Qwen, DeepSeek), any OpenAI-compatible API, or fully local Ollama / LM Studio.
Finding validationReports only findings with a working proof of concept, per the project.No validation gate described.Non-LLM verification oracles — out-of-band callback, differential response, timing (--verify, beta) — plus sandboxed Python proof-of-concept generation.
Scope & safety controlsProject advises not to run against production and that findings need human review.Usage disclaimer for authorised testing.Scope enforced in code at the tool layer and again at the executor, fail-closed; egress guard; target authorisation; full audit trail.
PricingFree open source; Pro $50 per developer per month.Free.Free to self-host. Managed continuous testing (Offensive AI): $3,600 per year.
Key differences

What actually differs.

What each one tests

Only Shannon covers APIs and source code. PentestGPT adds nothing the others lack on coverage, so compare depth instead.

Pricing model

Shannon is free, with paid tiers; PentestGPT is free. The table above has the detail each vendor publishes.

Finding validation

Shannon: Reports only findings with a working proof of concept, per the project. PentestGPT: No validation gate described.

About each tool

Open-source tool

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.

Choose Shannon if:

  • You own the source and want white-box testing wired into CI.
  • You prefer per-developer pricing for a cloud tier.
Open-source tool

PentestGPT

PentestGPT began as academic research (USENIX Security 2024) and became one of the best-known open-source AI pentest tools, with about 16,600 GitHub stars. Its original mode guides a human tester; its v1.0 autonomous mode drives the Claude Code or Codex CLI through staged pipelines, with a CTF focus by default.

Choose PentestGPT if:

  • You are learning or competing in CTFs.
  • You want an interactive assistant that guides a human tester.
The open-source option

Where Pentest-Swarm fits.

Pentest-Swarm is an open-source swarm of AI agents — recon, classification, exploitation and reporting — that coordinate on a shared blackboard to find, prove and report vulnerabilities in web apps and APIs. Compared with Shannon and PentestGPT:

  • Findings are confirmed by non-LLM verification oracles — out-of-band callbacks, differential responses and timing — before they reach you.
npm install -g @armurai/pentestswarm
pentestswarm run

Questions

What is the difference between Shannon and PentestGPT?

Shannon — An open-source, white-box AI pentester for web apps that only reports findings with a working exploit. PentestGPT — A research-born, open-source AI penetration testing assistant, now with an autonomous mode built on Claude Code or Codex.

Is Shannon or PentestGPT open source?

Shannon and PentestGPT are open source. Pentest-Swarm is also open source (AGPL-3.0).

How much do Shannon and PentestGPT cost?

Shannon: Free open source; Pro $50 per developer per month. PentestGPT: Free. For comparison, Pentest-Swarm is free to self-host and Armur's managed version costs $3,600 per year.

Is there an open-source alternative to Shannon or PentestGPT?

Yes. Pentest-Swarm is an open-source autonomous pentester: a swarm of AI agents that finds, verifies and reports vulnerabilities in web apps and APIs. You can self-host it with any model, including local models via Ollama, or have Armur run it for you.

Sources

  1. Shannon on GitHub
  2. PentestGPT on GitHub
  3. USENIX Security 2024 paper

Details come from each vendor's public website, documentation, repositories and press coverage as of 23 November 2026. Product names and trademarks belong to their owners. Armur makes Pentest-Swarm, so weigh our view accordingly.

Related comparisons