Open-source AI pentesting went from a research curiosity to the fastest-growing category in security tooling. Three projects dominate it. Together they hold more than 165,000 GitHub stars, and each makes a different bet on how an AI should hack. Here is how they compare, using numbers pulled from GitHub on 28 November 2026.
The GitHub scoreboard
| Project | Stars | Forks | Licence | Created | 15-day star gain |
|---|---|---|---|---|---|
| Strix | 78,060 | 8,940 | Apache-2.0 | Aug 2025 | +2,851 |
| Shannon | 52,391 | 6,151 | AGPL-3.0 | Sep 2025 | +592 |
| PentAGI | 35,193 | 5,667 | MIT + EULA | Jan 2025 | +1,145 |
| PentestGPT | 16,651 | 2,927 | MIT | Feb 2023 | n/a |
| HexStrike AI | 13,968 | 2,874 | MIT | Jul 2025 | n/a |
| CAI | 9,886 | 1,573 | custom | Mar 2025 | n/a |
| Cairn | 6,157 | 1,397 | AGPL-3.0 | Apr 2026 | +1,057 |
Star gain compares GitHub’s API on 28 November with the counts Stingrai recorded on 13 November.
Two things stand out. PentAGI was reported at around 14,700 stars in spring 2026, so it has more than doubled in about half a year. And Cairn grew 20% in two weeks, which lines up with it appearing in threat reports about real intrusions. Stars measure attention, not quality, and in this field some of the attention is from attackers.
Strix: the widest reach
Strix is a Python CLI that launches a “graph of agents” inside a Kali-based Docker sandbox with an HTTP proxy, a browser, a shell and a Python runtime.
What it does well
- Accepts almost anything as a target: a URL (black-box), a local directory or GitHub repo (white-box), credentials for grey-box, a domain, an IP, or an OpenAPI or Postman spec.
- Has a headless mode that exits non-zero when it finds vulnerabilities, so it drops straight into CI/CD.
- Validates findings with a working proof of concept before reporting them.
- Supports quick, standard and deep scan modes with a budget cap and a per-agent turn limit.
What to watch
- Stingrai’s review notes that a local source directory is mounted writable into the sandbox, credentials are passed as free text and therefore enter the prompt, and telemetry is on by default.
- Some of the recommended frontier models need access to a provider’s cyber programme.
Best for: web applications and APIs where you have no source code, and teams that want one tool across several target types.
Shannon: the white-box specialist
Shannon, from Keygraph, reads your source code first and then attacks the running application. A TypeScript CLI starts an ephemeral Docker worker with the repository mounted read-only and runs six stages: recon and analysis, optional static analysis, reconciliation, exploitation, validation and reporting.
What it does well
- Reports only findings it actually exploited, which keeps false positives very low.
- Outputs PDF, Markdown, JSON and SARIF 2.1.0, with official GitHub Actions and GitLab CI integrations.
- Has the most honest limitations page of the three, including a warning not to run it against production.
What to watch
- It needs source code. Black-box and business-logic testing are commercial-edition features.
- The open-source edition covers five classes: broken authentication, broken authorisation, injection, XSS and SSRF.
- AGPL-3.0 licensing matters if you plan to build it into a product, and Keygraph does not accept external code contributions.
Best for: development teams that want an exploit-validated security gate on pull requests or releases.
PentAGI: the self-hosted platform
PentAGI is less a CLI and more a full platform: a Go backend, a web UI, REST and GraphQL APIs, and Docker Compose deployment. Specialised agents handle planning, testing, coding, search, memory and reporting. Memory lives in PostgreSQL with pgvector, with an optional Neo4j knowledge graph.
What it does well
- Ships 12 built-in LLM providers plus any OpenAI-compatible endpoint, and runs local models through Ollama or vLLM.
- Sandbox containers carry more than 20 standard tools from a Kali image, including nmap, Metasploit and sqlmap.
- Offers both a fully automated mode and an assistant mode where a human stays in the loop.
- The most permissive code licence here (MIT, with an end-user agreement limiting use to authorised testing).
What to watch
- Stingrai flags insecure defaults: each sandbox publishes two TCP ports on all host interfaces, a fresh install creates a default admin account with a documented password, and the host Docker socket can be mounted into sandboxes. Lock these down before exposing it to any network.
- Strobes calls the setup long and the documentation thin.
- It publishes no benchmark results.
- Google’s threat intelligence team has observed it being misused, mostly for asset mapping and vulnerability scanning.
Best for: security teams that want an internal, air-gappable pentest platform with persistent memory across engagements.
Head to head
| Strix | Shannon | PentAGI | |
|---|---|---|---|
| Approach | Black, grey and white-box | White-box only (open-source edition) | Black-box, infrastructure and web |
| Interface | CLI and local web viewer | CLI | Web UI and APIs |
| Language | Python | TypeScript | Go |
| Sandbox | Kali Docker container | Ephemeral Docker worker | Kali Docker containers |
| Proof of exploit | Yes | Yes, exploited findings only | Not enforced |
| CI/CD | Headless mode | Official GitHub and GitLab integrations | Via API |
| Local models | Yes | Yes | Yes |
| Licence | Apache-2.0 | AGPL-3.0 | MIT + EULA |
About those 96% benchmark scores
You will see the same number quoted for two different tools.
- Shannon is credited with 96.15% (100 of 104) on a cleaned, hint-free variant of the XBOW benchmark, run white-box. Keygraph itself says this is not comparable with black-box results.
- Strix’s own benchmarks repository reports 100 of 104 on the XBOW validation set in black-box mode for version 0.4.0.
Both figures are self-reported. Stingrai points out that the benchmark’s publisher now describes the set as outdated and saturated. A test that modern agents all ace does not tell you which one is better.
Real-world evidence is more sobering. AppSec Santa’s research roundup cites agents solving 13% of real CVE tasks on CVE-Bench and close to zero hard HackTheBox challenges. And in Keygraph’s own Shannon study against Photoview, the three models tested caught 6, 3 and 3 of seven later-patched flaws. Model choice changes the result more than tool choice does.
What does a run cost?
| Scenario | Reported cost | Source |
|---|---|---|
| Shannon on Photoview, three different models | $115, $35.07 and $6.10 | Keygraph, via Stingrai |
| Shannon on a mid-sized app | roughly $8 to $10 | Strobes lab run |
| Manual pentest, similar scope | $15,000 to $50,000 | Strobes estimate |
The cheapest model in Keygraph’s study cost about a twentieth of the most expensive one and found fewer issues. Budget for the capable model.
Which one should you pick?
- You have a URL and no code: start with Strix.
- You own the code and want a release gate: Shannon.
- You need a self-hosted platform, local models or infrastructure targets: PentAGI, after hardening its defaults.
- You want the AI to advise while you drive: PentestGPT is still the human-in-the-loop reference.
- You already have your own agent and just need tools: HexStrike AI exposes more than 150 security tools over MCP.
Whichever you choose, run it in an isolated environment, scope it tightly, and read what it does. These are autonomous programs with a shell and exploit tooling. The same properties that make them useful to you are why frameworks like ARTEX now show up in threat reports.
The bottom line
There is no overall winner, because the three tools answer different questions. Strix asks “what can an outsider break?”, Shannon asks “which bugs in this code are really exploitable?”, and PentAGI asks “how do we run this continuously in-house?”.
Use them to clear the repetitive ground fast. Keep a human for business logic, chained attacks and judgement, which is still where the serious findings come from.
Sources
- GitHub API, repository statistics read on 28 November 2026
- Stingrai, PentAGI, Shannon, Strix: Open-Source AI Pentest Agents Compared (13 November 2026)
- AppSec Santa, AI Pentesting Agents 2026
- Strobes, 10 Best Open Source Agentic Pentesting Tools
- Project repositories: usestrix/strix, KeygraphHQ/shannon, vxcontrol/pentagi
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.