,
Stars on GitHub
#1 Repository of the Day

Shannon, the open-source pentester by Keygraph

The most-starred open-source pentester on GitHub.

View on GitHub → Join the Discord →

Shannon is an open-source whitebox pentester for web applications and APIs. It reads your source code, identifies attack vectors, and runs working exploits to prove vulnerabilities before they reach production.

Run your first pentest.

Docker, Node 18+, and an Anthropic API key. No signup, no account. Shannon runs locally on your machine.

Quickstart
# 1. Configure credentials (interactive wizard, one-time setup)
$ npx @keygraph/shannon setup

# Or export env vars directly
$ export ANTHROPIC_API_KEY=your-api-key

# 2. Run a pentest
$ npx @keygraph/shannon start -u https://your-app.com -r /path/to/your-repo

Prerequisites: Docker · Node.js 18+ · Anthropic API key (or Bedrock / Vertex AI)

What Shannon finds.

OWASP-class vulnerabilities validated with working exploits, not theoretical warnings.

Injection
SQLi, NoSQLi, command, template

Traces input from sources to dangerous sinks and fires real payloads.

XSS
Reflected, stored, DOM-based

Finds sanitization gaps and validates with real browser payloads.

SSRF
Cloud metadata, internal services

Targets internal endpoints, cloud metadata APIs, and private services.

Auth / Authz
Broken auth, IDOR, privilege escalation

Tests auth bypass, session handling, and object-level authorization.

Sample Report
20+ vulnerabilities identified in OWASP Juice Shop

Authentication bypass, database exfiltration, and broken access controls, all with working proof-of-concept exploits.

See the full report →

How Shannon works.

Four stages, from recon to report.

01
Recon
Enumerate the surface.

Nmap, Subfinder, WhatWeb, and Schemathesis map hosts, endpoints, and the stack.

02
Analyze
Read the source.

Traces candidate attack vectors across five vulnerability domains.

03
Exploit
Fire real attacks.

Parallel agents fire working PoCs via browser and CLI.

04
Report
Ship the findings.

Only exploitable vulnerabilities. Reproducible PoCs, source paths included.

Full architecture: Code Property Graph, multi-agent orchestration, static-dynamic correlation. See the Whitebox Pentester page →

Clone Shannon, run your first pentest.

Shannon is free to self-host. Your first pentest is one command away.