Shannon Is an AI Pentester That Only Reports What It Can Actually Exploit
Your website is probably not as secure as you think. I checked a tool that proves it. I build websites for startups. Every week, someone asks me the same question in a different way: "Our app works — but is it safe?" M
Your website is probably not as secure as you think. I checked a tool that proves it.
I build websites for startups. Every week, someone asks me the same question in a different way: "Our app works — but is it safe?"
Most of the time, my honest answer is: we don't actually know. Not because nobody checked, but because the check happened once, months ago, and the code has changed a hundred times since.
That is the gap Shannon was built to close.
Shannon is an open-source AI pentester by Keygraph. You give it two things: your source code, and a running copy of your app — staging, never production. It reads the code, maps where an attacker could get in, and then it actually tries to get in.
Not a guess. Not a warning that says "this looks weak." A real exploit, with screenshots and logs to prove it.
Its rule is simple, and I like it: no exploit, no report. If it cannot prove a vulnerability, it does not report it.
Why this matters more now than it did a year ago
Teams ship code every day now. Claude Code, Cursor, AI-assisted development — the speed is real. But a penetration test still happens once a year, if it happens at all.
So for 364 days, you can be shipping vulnerabilities to production without knowing it. Shannon is not a replacement for a human pentester. It is the check you can run between those annual tests — on every release, before launch, after a big change to login, payments, or roles.
Think of it like this. A normal scanner looks at your house from the street and says the door looks weak. A human pentester is an expert you hire for weeks to try to break in. Shannon is an AI that reads the blueprint, then tries the doors itself — and only tells you about the ones it actually opened.
What it actually finds
In the open-source version, Shannon focuses on five kinds of exploitable flaws:
Broken authentication and authorization — the wrong user seeing someone else's data. SQL injection — a search box leaking a whole database. Command injection. Cross-site scripting — a script in a comment running in the next reader's browser. And SSRF — tricking your server into fetching URLs for an attacker.
That focus is also its limit. It does not do dependency scanning. It does not scan for leaked secrets in your repo history. And it does not catch business-logic flaws — the payment, discount, or workflow bugs that only make sense if you understand the business.
If the bug is not on its list, Shannon will ignore it. That is not a flaw in the tool. It is a fact you need to know before you trust it.
The part nobody should skip
Shannon is not a passive scanner. It creates users. It submits forms. It changes and deletes data. That is why the docs are blunt about it, and I will be too:
Never run it on production. Never run it on live user data. Never run it on someone else's app without explicit written permission. Use a disposable staging copy, with disposable data.
It also needs your source code. The open-source edition is white-box only. If you only have a URL and no code, this version is not for you.
And one more thing that can waste an afternoon: Anthropic and OpenAI put real-time cyber safeguards on security-testing work. If you have not completed their verification for legitimate security testers, a scan can stop halfway through. Run the --validate-model check first.
What does it cost?
The software itself is free, under AGPL-3.0. You pay only for your own AI model.
In Keygraph's own test on Photoview 2.4.0 — and I want to be clear, this is their test, Doyensec did not independently verify Shannon's results — DeepSeek v4 Flash cost $6.10 and found 18 verified issues, including the critical SQL injection. Claude Opus 5 cost $115 and found 23 verified issues. Aikido and XBOW, in the Doyensec study, cost $4,000 per scan each.
Cheap does not mean deepest. DeepSeek caught 3 of the 7 vulnerabilities Photoview later patched. Claude caught 6 of 7. So my practical rule is: DeepSeek for a frequent, cheap first pass on every release, Claude when you want the deepest check before a launch.
A human pentest still costs $10,000 to $50,000 and takes weeks. Shannon does not replace that. It makes the time between human tests far less blind.
How you would actually use it
You need Docker, Node.js 22 or newer, and your own model API key. Then:
npx @keygraph/shannon@latest setup
npx @keygraph/shannon@latest start -u https://your-app.com -r /path/to/your/repo
The -u is your staging URL. The -r is your repo. It runs in a Docker container, mounts your repo read-only, and writes a PDF and Markdown report, plus JSON and SARIF for CI.
In GitHub Actions, you can even fail a release if Shannon proves a high-severity exploit. That is the part I like most for client work: a proven vulnerability stops the release, a guess does not.
What I would do with it at AI Dev Planner
We validate first, then build in weekly sprints, with code in the client's own GitHub from day one. Shannon fits that model in one place: before launch, on staging.
Not as a promise to a client that "you are now secure." Not on production. Not without their written permission. As a proven, evidence-backed check before we hand over a launch — then fix, then retest.
If a vendor tells you AI will make your app secure, ask for the proof. What did it exploit? Show me the screenshot, the log, the request. If they cannot show that, the demo does not matter.
That is the standard Shannon sets for itself. It is a good standard to hold everyone else to, too.
Full beginner-friendly report with costs, model comparison, and the when-NOT-to-use list is in my report — and you can read more about how we build and validate at AI Dev Planner: https://aidevplanner.com
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.