Skip to content
BYOK Tools

Shannon

AI pentester that analyses your web app's source and proves exploits.

4.4 editor score•Security & Red Teaming•Free & open source (AGPL-3.0)•Verified 22 Nov 2026

Best for

Security professionals running authorised tests, especially if you want to keep your key on your own device and self-host.

Skip it if

You need offline or local models or you'd rather not run a server.

Rank in Security & Red Teaming

3rd of 15 by editor score

Key Safety

84/100 (grade A), safer than 7% of its category

Overview

Shannon combines source-code analysis with automated attacks against a running web application or API, and reports only vulnerabilities it can demonstrate. The open-source version runs on your own Anthropic key (or compatible providers). Only test applications you own or are authorised to test.

Key features

  • White-box analysis
  • Exploit validation
  • Web and API testing
  • Reports with proof

Works with these providers

2 provider options, fewer than the 6.0 average for security & red teaming. Usage is billed by the provider at its list price.

Our verdict

Shannon is 3rd of 15 security & red teaming by editor score on BYOK Tools and trails its category on key safety. Its standout strength: low false-positive design. The main trade-off: runs can be long and token-heavy.

What we like

  • Low false-positive design
  • Very popular

Watch out for

  • Runs can be long and token-heavy
  • Authorised targets only

How Shannon compares

Against the highest-rated security & red teaming on BYOK Tools. Scores are out of 5 (editor) and 100 (Key Safety).

Shannon compared with other security & red teaming
ToolEditor scoreKey SafetyPricingProvidersOpen sourceLocal modelsKey stays local
Shannon4.484Open source2–
Strix4.593Open source12
garak4.493Open source9
PentAGI4.378Open source6–
PyRIT4.393Open source6
  • Prioritising key safety? Strix scores 93/100.

How to use Shannon with your own API key

  1. 1

    Create an API key

    Get a key from your provider's console: Anthropic. Create a separate key just for Shannon so you can revoke it on its own.

  2. 2

    Set a spending limit

    Set a monthly budget or usage cap in the provider dashboard before you start. It is the simplest protection against a leaked key or a runaway agent.

  3. 3

    Install Shannon

    Install Shannon from the command line using the instructions in its repository or docs.

  4. 4

    Add your key

    Paste the key into Shannon's provider or model settings. Your key is stored on your device and requests go directly to the provider.

What it costs to run Shannon

Pricing for Shannon itself: Open source (Free & open source (AGPL-3.0)). Model usage is billed by your provider. Estimated monthly API spend by usage level, using live list prices:

ModelLight~5 messages a dayRegular~20 messages a dayHeavy~80 messages a day
Claude Haiku 5.5Anthropic · Budget$0.031$0.24$2.78
Claude Fable 5.2Anthropic · Flagship$2.48$19$222

Estimates assume typical chat-length messages with conversation history and no prompt caching. Prices from OpenRouter's public models API. Run your own numbers.

BYOK Key Safety Score

Key handling in Shannon

How we score
84/ 100

Grade A

Your key is stored on your device and requests go directly to the provider.

Category average: 91/100

  • Key storage

    Key stays on your device; requests go direct to the provider.

    40/40
  • Auditable code

    Open source: anyone can verify how keys are handled.

    25/25
  • Self-hosting

    Can run entirely on your own infrastructure.

    15/15
  • Offline option

    Cloud providers only.

    0/10
  • Provider choice

    2 provider options, which lets you pick the provider whose data terms you trust.

    4/10

Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.

Shannon FAQ

Does Shannon support bring your own key?
Yes. Shannon accepts your own API key from Anthropic and OpenAI-compatible. Usage is billed by the provider at its API rates.
Where does Shannon store my API key?
On your device. Requests go directly from Shannon to the provider. Its BYOK Tools Key Safety Score is 84/100.
Is Shannon free?
Open source: Free & open source (AGPL-3.0). API usage is billed separately by your model provider.
How much does it cost to use Shannon with my own API key?
For regular use (about 20 messages a day), API costs run from roughly $0.24 to $19 a month depending on the model, based on current list prices.
Is Shannon open source?
Yes. The source code is at https://github.com/KeygraphHQ/shannon. It can also be self-hosted.
Can Shannon run local models?
No. Shannon works with cloud providers only.
Which platforms does Shannon support?
CLI, Self-hosted.
What are the best alternatives to Shannon?
Popular alternatives include Strix, garak, PentAGI and PyRIT. See the comparison table above for pricing, providers and key safety side by side.

Community reviews

No reviews yet.