Deploy Shannon [Oct '26]
AI pentester: real exploits, PDF & SARIF reports. BYOK. [Oct '26]
Just deployed
/home/temporal
shannon
Just deployed
/app/data
Deploy and Host Shannon with Railway
π’ Actively maintained β last updated Oct '26.
This template deploys the Shannon AI pentest engine β the open-source agent that reads your source code, maps attack surfaces, and executes real exploits to prove vulnerabilities before they reach production. It brings its own Temporal orchestration server; you bring your own AI provider key (BYOK).
> [!WARNING] > Shannon actively executes exploits. Run it only against applications you own or have explicit written authorization to test. Never point it at production systems or third-party assets.
About Hosting Shannon
The template creates two services:
- temporal β the workflow engine Shannon's agents run on (Temporal dev server with its sqlite database on a persistent volume, reachable only inside your project's private network).
- shannon β the pentest worker (official
keygraph/shannonimage: Node 22, Chromium/Playwright, git, Typst PDF compiler). It deploys idle by default with a stable, green deployment. When you configure a scan, it clones your target repository, runs exactly one scan process end-to-end, and writes reports to the persistent/app/sessionsvolume.
Shannon is provider-agnostic BYOK: Anthropic, OpenAI, xAI, AWS Bedrock, OpenAI-compatible gateways, or local models β your key, your provider, direct traffic (Keygraph never proxies model calls).
Why Deploy Shannon on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically scale it.
By deploying Shannon on Railway, you get a private, always-ready pentest engine: no local Docker, scans run in your own Railway project, reports stay on your volumes, and the engine scales vertically with your codebase size.
Common Use Cases
- Pre-release pentests against your staging deployment, straight from the repository that builds it.
- Continuous security assessment in CI fashion: rerun a scan whenever the target or code changes.
- Authorized bug-bounty recon on assets you own or are contracted to test.
- Security research with a full toolchain (Chromium, git, Typst) preinstalled and reproducible.
Dependencies for Shannon Hosting
- An AI provider API key (BYOK) β Anthropic, OpenAI, xAI, Bedrock, or any compatible gateway.
Deployment Dependencies
- Worker image
keygraph/shannon:3.5.0(official, AGPL-3.0) + thin Railway scan-runner wrapper - Temporal server image
temporalio/temporal:1.7.0(dev-server mode, as upstream's docker-compose uses) - Volumes:
temporal /home/temporal(workflow state) andshannon /app/data(single volume β Railway mounts one per service;/app/sessionsreports and/app/workspacesresumable scan state symlink into it)
Running a Scan
- Set the service variables on shannon (then it redeploys and runs one scan):
SHANNON_AI_API_KEYβ your provider key (replace the placeholder first)SHANNON_TARGET_URLβ the live target, e.g.https://staging.your-app.comSHANNON_REPO_URLβ the target's source, e.g.https://github.com/you/your-repoSHANNON_REPO_TOKEN(optional) β access token for private repositoriesSHANNON_CONFIG_URL(optional) β Shannon configuration file (authenticated scans, rules of engagement)SHANNON_AI_MODEL(optional) β override the defaultanthropic:claude-sonnet-4-6
- Watch progress:
railway logs --service shannon. - Collect reports (PDF, Markdown, JSON, SARIF) from the
/app/sessionsvolume βrailway ssh --service shannonto browse, or download via the dashboard volume view.
One-shot scans without redeploying: railway ssh --service shannon and run
node apps/worker/dist/temporal/worker.js /app/repos/target --task-queue shannon.
Operations
- Costs: you pay Railway for the running engine plus your provider for model usage. Idle mode does no model calls.
- Resuming: interrupted scans resume from
/app/workspaces(--workspaceflag). - Upgrades: worker versions track upstream
keygraph/shannonreleases; the template pins an exact tag.
Template Content
shannon
wotonews/shannon:v3.5.0-2SHANNON_AI_API_KEY

