
Shannon runs live exploits against web apps to demonstrate whether suspected vulnerabilities can actually be exploited. The open-source AI pentester Shannon combines code analysis with browser automation and produces detailed security reports. In a test by Better Stack, it examined an intentionally vulnerable application and documented findings along with ways to fix them. Discover how the framework runs its checks, what the test found and what you can expect to spend on Claude API credits.
Connect the App and Its Code
TL;DR Key Takeaways :
- Shannon combines code analysis with browser-based exploitation to assess web app vulnerabilities.
- The Juice Shop run identified 11 critical vulnerabilities and documented four fully exploited authentication flaws.
- The test took almost two and a half hours and used almost $60 in Claude API credits.
- The free framework requires paid API access; Shannon Pro adds pipeline and compliance features.
Shannon uses the Anthropic Agent SDK and requires a Claude API key. The free, open-source version permits unlimited test runs, but the API usage is charged separately. A Claude subscription cannot replace those credits, including a Claude Pro or Max subscription.
To prepare a test, clone the Shannon repository and put the repository you want to examine inside its repos directory. Run the application, then use Shannon’s command to connect it to both the locally running app for browser testing and the repository for code scanning. On the first run, Docker Compose pulls the required images from Docker Hub.
The test used a VPS with a nonroot user and OWASP Juice Shop, an application deliberately built with vulnerabilities for testing. Juice Shop ran locally, with its repository available for analysis. For other automated work, Claude Cowork supports scheduled tasks; Shannon instead concentrates on web application security.
Agents Check Code and Attempt Exploits
Once a Shannon pentest starts, a pre-flight check verifies the API credentials, Docker containers and repository. A pre-recon phase then analyzes the code to understand the application’s architecture, entry points and security patterns. That gives the browser phase context for mapping the running app.
During recon, Playwright navigates the application, clicks buttons and fills forms. It also observes network requests, takes screenshots and examines cookies. Shannon then checks for SQL injection, cross-site scripting, server-side request forgery, authentication flaws and authorization weaknesses, including access to privileged data or other people’s information.
The framework runs five vulnerability agents in parallel, followed by five exploit agents that attempt to demonstrate the issues. A final phase combines the results into a penetration-test report. Shannon is presented as producing zero false positives through its use of live exploitation to demonstrate vulnerabilities.
Tests can take one or many hours depending on the project. Temporal orchestrates the phases and preserves checkpoints, allowing a run to resume after a computer crash or after exhausted Claude credits are topped up. Shannon provides a link to the workflow in Temporal’s web UI, although real-time logs displayed with a command can be more informative.
Juice Shop Test Produces Exploitable Findings
The Juice Shop run took almost two and a half hours. Some vulnerability checks retried after Claude credits ran out, so it might have finished sooner without those interruptions. The exploit checks followed the vulnerability checks, with the authorization exploit check taking the longest, before the report agent completed its work.
Shannon placed multiple reports in the project’s deliverables directory. Its analysis identified 11 critical vulnerabilities and described their locations and affected endpoints. It also reported that none of six authentication endpoints enforced HTTPS, a result consistent with the locally running test application, and found inadequate rate limiting on authentication endpoints.
The comprehensive security assessment recorded the model and project scope and listed four critical authentication vulnerabilities that were fully exploited. It described how an attacker could use the flaws, including exact curl commands and the types of information that could be extracted. The reports also supplied actionable remediation recommendations.
API Credits Are the Cost of a Free Run
The test used Claude Sonnet 4.6 and consumed almost $60 in Claude API credits, after a top-up of about $66. That was cheaper than hiring a human penetration tester, but it remains a substantial expense for a single run. Research cited by Better Stack reports that the first run takes the longest and subsequent runs are much faster, attributing the improvement to caching and optimization.
There is also a paid Shannon Pro version. It adds CSV scoring, which the free version lacks, alongside CI/CD pipeline support, API access and enterprise compliance reporting for OWASP, SOC 2 and PCI DSS. Claude Code Security has been announced, but Shannon currently still requires API credits rather than a Claude Pro or Max subscription.
We think the Juice Shop reports make a strong case for looking beyond a scanner’s list of warnings: the exploited authentication flaws and remediation guidance give developers concrete problems to investigate. The API bill deserves just as much attention, though. A free framework is not a free pentest, and the cost of a run can be significant for a small project even before deciding whether the paid features are useful.
For a startup reluctant to spend heavily on a human penetration tester, Shannon offers an alternative. An indie developer with less money might instead hold off on the expense and first release the product to see whether people use it.
More on Claude:
- Claude Code Creator’s Workflow: Parallel Agents and Better Plans
- Claude Code Tool Search Cuts MCP Context Use by up to 95%
- Why Anthropic Fenced Off Claude Code from Third-Party Tools
- Claude Code Quality Drop: What Anthropic Found and Fixed
Media Credit: Better Stack
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.