Guide / open source

Open-source AI pentesting tools.

Eight projects worth knowing, what each is best at, and the caveats their own documentation states. Yes, one of them is ours — so we have tried to be fair, and we list the larger projects first. Star counts from GitHub on 23 November 2026.

ToolLicenceStarsBest for
StrixApache-2.0≈77.1kPointing an agent at a repo, a live app, an OpenAPI spec or a Postman collection
ShannonAGPL-3.0≈52.2kWhite-box testing of web apps you have the source for, in CI
PentAGIMIT + EULA≈34.8kA general-purpose agent team with a web UI and the widest model support
PentestGPTMIT≈16.6kCTFs and learning; guided human-in-the-loop testing
Pentest-SwarmAGPL-3.0≈3.3kBlack-box testing of web apps and APIs with verified findings and enforced scope
HexStrike AIMIT≈13.8kDriving a large security toolset from Claude Desktop or Cursor
CAI (Cybersecurity AI)Mixed (MIT + research-only)≈9.9kResearch on archived CTF / OT agent work
CairnAGPL-3.0≈5.7kExperimenting with blackboard-style agent coordination

Strix

Apache-2.0 · ≈77.1k stars

A 'graph of agents' covering recon, exploitation and post-exploitation in a Docker sandbox; CLI, CI mode, MCP and a paid cloud.

Caveat: Its validation mechanism is not documented in detail.

Shannon

AGPL-3.0 · ≈52.2k stars

Per-vulnerability-class exploit agents; reports only findings with a working proof of concept.

Caveat: The open-source edition is white-box only; the project advises against running it on production.

PentAGI

MIT + EULA · ≈34.8k stars

Named agents (planner, pentester, coder, searcher…) over 20+ tools in a sandbox; Ollama and vLLM for local models.

Caveat: No dedicated finding-validation gate documented. Google reported threat actors abusing it in 2026.

PentestGPT

MIT · ≈16.6k stars

Research-born (USENIX Security 2024); v1.0 autonomous mode drives Claude Code or Codex.

Caveat: Autonomous mode requires Claude Code or Codex; telemetry is on by default.

Pentest-Swarm

AGPL-3.0 · ≈3.3k stars

Recon, classify, exploit and report agents on a pheromone-weighted blackboard; any model including local Ollama; non-LLM verification oracles; managed option from Armur.

Caveat: Swarm scheduler is alpha (the sequential runner is stable); smaller community than the projects above.

HexStrike AI

MIT · ≈13.8k stars

An MCP server exposing 150+ tools; your MCP client supplies the model and the reasoning.

Caveat: Not an autonomous pentester on its own; staying in scope depends on the client. Reported abused in 2026.

CAI (Cybersecurity AI)

Mixed (MIT + research-only) · ≈9.9k stars

A multi-agent framework from Alias Robotics covering CTF, bug bounty and OT/robotics.

Caveat: Archived in 2026 — no further releases or security patches.

Cairn

AGPL-3.0 · ≈5.7k stars

Role-less workers coordinate through a shared fact-intent graph; drives Claude Code, Codex or Pi CLIs.

Caveat: Local mode runs without a sandbox. Unit 42 reported a customised fork used in real attacks.

How to choose

  • Do you have the source? White-box tools such as Shannon find more, faster. If you need to test from the outside, pick a black-box tool.
  • Will you run it on client or production systems? Look for scope enforced in code, an egress guard and an audit trail — not just a usage disclaimer.
  • Do you need proof? Prefer tools that confirm findings with evidence the model cannot fabricate.
  • Where can your data go? If targets must stay in-house, check for local-model support (Ollama, vLLM, LM Studio).
  • Is it maintained? Check recent commits and whether the project is archived.

Looking for commercial platforms instead? See XBOW, Horizon3.ai NodeZero and Pentera.