Shannon
Autonomous AI pentester for web apps and APIs, AGPL-licensed
Replaces Xbow, Github Advanced Security, Semgrep

Who it's for
Engineers running continuous deployments who need exploitation-backed security testing on every pull request or release, without waiting for an annual engagement. Shannon integrates into the existing GitHub Actions or GitLab CI/CD pipeline and gates builds on proven vulnerabilities, not speculative scanner output. Results include reproduction steps for each confirmed finding.
Your application does not yet have a live staging environment that Shannon can run exploits against. Shannon requires both the source repository and a running target application; it cannot confirm vulnerabilities against source code alone.
Platform or security engineers who want exploitation-confirmed findings as a standard pipeline artifact alongside SAST and dependency scans. Shannon outputs SARIF 2.1.0 for upload to GitHub code scanning, PDF and Markdown for documentation, and JSON for downstream tooling. The CI/CD component distinguishes an incomplete assessment from a completed scan with no findings.
Your team cannot obtain AI provider credentials or cannot complete cybersecurity pre-clearance with your chosen provider. Shannon requires a model API key before running; teams blocked by provider policy should evaluate Keygraph's Enterprise edition.
Practitioners who need a repeatable, exploit-confirmed baseline against a staging environment ahead of a compliance review or human engagement. Shannon's rules-of-engagement configuration, focus areas, and authenticated testing support allow scoped assessments. The PDF report includes reproduction steps and severity rankings built to be accepted by auditors, per the README.
You need a black-box pentest against a target with no source code access. Shannon's open-source edition requires the source repository to operate in whitebox mode. Black-box testing is available only in Keygraph's commercial Pro and Enterprise editions.
The problem
Security testing has a timing problem. Most engineering teams ship code daily but schedule penetration tests once a year, leaving roughly 364 days where newly introduced vulnerabilities can accumulate in staging and production with no exploitation-backed assessment in their path. The specific pain is triage noise. Static analysis tools report potential vulnerabilities as candidates, not proven findings. Developers spend time reviewing issues that turn out to be unreachable code paths or false positives, and the real exploitable bugs often lack the reproduction steps needed to prioritize a fix. Security teams build workaround processes around tools that were never designed to close the loop between a code-level candidate and a confirmed, runnable exploit.
How it works
Every item in Shannon's report has a corresponding working proof of concept demonstrated against the running application. Static analysis candidates that cannot be exploited are discarded before the report runs. The final output contains only vulnerabilities with confirmed attack paths, reducing triage noise compared to scanners that report speculative findings.
Shannon runs reconnaissance, parallel specialist vulnerability analysis, finding reconciliation, live exploitation, and report generation without manual intervention. Five specialist agents cover Injection, XSS, SSRF, Authentication, and Authorization in parallel, each reading the source for its own domain. A sixth exploitation agent handles findings outside those five classes.
Official GitHub Actions and GitLab CI/CD components run Shannon on pull requests, releases, or a schedule. Both integrations optionally fail the pipeline when Shannon proves a vulnerability at or above a configured severity threshold, counting only findings with status: exploited. A code-analysis hypothesis that was not confirmed by exploitation does not count toward gate thresholds.
Shannon supports Anthropic, OpenAI, xAI, AWS Bedrock, and any compatible API gateway or custom base URL. Local models via Ollama, vLLM, or LM Studio are also supported. Model requests go directly to your chosen endpoint; Keygraph never proxies source code or model traffic. You bring your own key and your own provider account.
Completed scans produce evidence-rich PDF and Markdown reports alongside structured JSON and SARIF 2.1.0. SARIF output is enabled by default for exploit-mode scans. The GitHub Action integration includes an upload-sarif option that publishes supported findings to GitHub code scanning. Each report includes reproduction steps and severity rankings alongside the exploit that proved each finding.
Features
- No exploit, no report
- Five-phase autonomous pentest from a single command
- CI/CD integration with severity-based build gates
- Provider-agnostic bring-your-own-key inference
- Multi-format output: PDF, Markdown, JSON, and SARIF 2.1.0
How to install
Shannon installs via npx; Docker is required for the worker container.
npx @keygraph/shannon@latest setup
npx @keygraph/shannon@latest start -u https://your-app.com -r /path/to/your/repoRecommended for this setup
Strengths
- Exploit-confirmed output eliminates false-positive triage: Shannon's output is limited to what it can exploit. The final report contains only vulnerabilities with a working proof of concept, not a candidate list requiring manual validation. This is structurally different from pattern-based SAST: Shannon discards findings it cannot prove, so the triage queue is the entire finding population rather than a subset of a longer speculative list.
- Runs entirely in your infrastructure with BYOK inference: Source code analysis runs in an ephemeral Docker container in your environment. Model requests go directly to the provider endpoint you configure. Keygraph never proxies source or model traffic, making Shannon viable for teams with strict data-residency policies or air-gapped staging environments. A local model endpoint via Ollama or vLLM keeps all traffic inside your network.
- AGPL-3.0 with no license fees on the open-source edition: The open-source edition is free to run. You pay only your own AI model costs. AGPL-3.0 permits running Shannon internally for any purpose, including commercial use by your team. The upgrade path to Keygraph Pro ($50 per active developer per month) or Enterprise adds black-box testing, dependency scanning, secrets scanning, and a findings management dashboard.
- Active development with 50,000+ GitHub stars: Shannon has over 50,000 GitHub stars and 5,800 forks, with a last push on 2026-10-27. The project ships native GitHub Actions and GitLab CI/CD integrations, SARIF 2.1.0 output, resumable workspaces, and authenticated testing support. Only 10 open issues were present at the time of writing, indicating active maintenance relative to project scale.
Trade-offs
- AI model costs run against your own provider account: Shannon does not include a free inference layer. Every scan draws against your AI provider account at your provider's usage rates. A full pentest of a large codebase across multiple agents and phases can consume significant tokens depending on the model you choose. Running targeted scans with a less expensive model reduces cost; the README provides suggested model IDs for different budget constraints.
- Anthropic and OpenAI require cybersecurity pre-clearance before scanning: Anthropic and OpenAI apply real-time cybersecurity safeguards to security workloads that can interrupt a scan mid-run. The README explicitly requires completing their cybersecurity verification guidance before the first scan and links to a community discussion on the verification process. Teams using other supported providers (xAI, AWS Bedrock, Ollama) are not subject to this requirement.
- AGPL-3.0 restricts running a modified Shannon as a managed service: The AGPL-3.0 license requires distributing source code changes if you run a modified version of Shannon as a network service accessible to others. Teams that want to offer Shannon as a hosted product to customers must either keep modifications open source or use Keygraph's commercial Pro or Enterprise editions. Internal use by your own team, including commercial product development, is unrestricted.
Tech stack
FAQ
Yes. Shannon is designed to run entirely in your own infrastructure. It pulls a worker Docker image, mounts your target repository read-only in an ephemeral container, and writes all results to a local workspace. No source code or results are sent to Keygraph. You need Docker, Node.js 18+, and an AI provider account with cybersecurity usage cleared if you are using Anthropic or OpenAI.
Yes. Shannon is provider-agnostic and requires you to provide your own model credentials. It supports Anthropic, OpenAI, xAI, AWS Bedrock, and any compatible API gateway or custom base URL. Local models via Ollama, vLLM, and LM Studio are also supported. Model traffic goes directly to your chosen endpoint; Keygraph never proxies it. You bring your own key and manage your own provider account.
Yes. Shannon produces SARIF 2.1.0 output by default for exploit-mode scans. The GitHub Action integration includes an upload-sarif option that publishes supported findings directly to GitHub code scanning. Alongside SARIF, Shannon produces PDF, Markdown, and JSON reports from each completed scan, each containing the reproduction steps and severity rankings of confirmed vulnerabilities.
No. The README is explicit on this point. Shannon is designed to work alongside expert pentesters, not replace them. Great pentesters understand business context, chain attacks in ways nobody anticipated, and bring judgment that current models cannot match. Shannon solves a different problem: there is more software to test than security teams have time to cover. Shannon shifts testing left into the SDLC so that expert human time is reserved for risks that need someone who knows the organization.
Shannon is the open-source edition: a whitebox pentester you run locally or in CI/CD against source-available applications, free under AGPL-3.0. Keygraph Pro is a commercial cloud-hosted edition at $50 per active developer per month that adds black-box pentesting (no source code needed), dependency and secrets scanning, a findings management dashboard with Jira sync, and fix pull requests with exploit replay for verified patches. A Community Program provides Pro at no cost for qualifying nonprofits and pre-Series-A startups with 20 or fewer active developers.