最近推送 2026-10-27 14:17(1 天前),属于活跃维护
KeygraphHQ/shannon
GITHUB中文整理主语言 TypeScript · 50,000 星 · AGPL-3.0 · 创建于 2025-09-27
一个可自行部署的开源AI渗透测试工具,针对Web应用及其后端API,结合源码分析与在运行环境中的真实攻击验证,输出经漏洞利用证明的安全报告。
仓库健康度
5 个维度开放 Issue 29 个 · Fork 5,732 个
star 记录还不够天数,增量算不出来
许可证 AGPL-3.0 · 8 个 topics · 开了 Wiki
这一项暂无数据,不代表项目没有发布
「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。
Star 趋势
6 天记录横轴 2026-10-23 → 2026-10-28,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。
它解决什么问题
据 README 归纳团队借助AI编程工具高频交付代码,而传统渗透测试通常一年才做一次,其余时间可能在不知情中把漏洞带上生产环境。缺少持续、可自行运行且能给出可复现证据的安全测试,就只能依赖易产生误报的扫描结果,难以判断哪些漏洞真实可利用。
核心能力
7 条- 1先分析源码梳理架构、信任边界、接口与数据流,再定位可信攻击路径
- 2自动执行侦察、分析、利用和报告,一条命令完成整个流程
- 3仅在漏洞具备可复现的概念验证时才写入报告,减少推测性误报
- 4可在配置中提供凭据、登录流程、TOTP与邮件认证,以测试需登录的功能
- 5覆盖注入、XSS、SSRF、认证失效与授权失效等OWASP方向的可利用问题
- 6扫描中断后从工作区继续,不重复已完成的部分
- 7通过GitHub Action或GitLab CI/CD组件运行,保留产物并按已证实的漏洞阻断发布
项目画像
6 个角度项目定位
一个可自行部署的开源AI渗透测试工具,针对Web应用及其后端API,结合源码分析与在运行环境中的真实攻击验证,输出经漏洞利用证明的安全报告。
适合谁
适合需要频繁上线Web应用和API的开发与安全团队,以及希望在自有基础设施内自行运行渗透测试、用可复现证据排查真实漏洞并接入CI/CD流水线做发布门禁的组织。
典型场景
在代码合并或发布前,对Web应用和API跑一轮自动渗透,按确认可复现的漏洞决定是否放行;对需要登录的功能,配置账号凭据与TOTP后测试认证和授权类问题;把扫描接入GitHub或GitLab流水线,保留报告产物并作为发布门禁;扫描中断后从已有工作区继续,避免重复已完成的测试。
部署难度
需要准备可运行容器的基础设施、模型服务凭据与目标应用访问条件;接入CI/CD时还要配置对应的Action或组件。具体安装命令和前置依赖说明不完整。
风险限制
需要接入大模型服务并配置相应提供方凭据;工具以临时工作容器运行,仓库以只读方式挂载,结果写入本地工作区;具体资源要求与环境前置条件说明不完整。
最近维护
最近一次推送是 2026-10-27 14:17。 实现方式:先读取仓库源码做架构与数据流分析,找出可能的攻击入口,再通过浏览器自动化和命令行工具对运行中的应用及API发起真实利用尝试;只有拿到可工作的概念验证才纳入报告,并输出多种格式的结果文件。
README 原文细节
6 个板块核心功能README 里列出来的能力清单
Key Capabilities
- No exploit, no report: Reports only vulnerabilities confirmed with a reproducible proof of concept, reducing speculative scanner noise.
- Advanced code analysis: Maps architecture, trust boundaries, interfaces, data flows, and critical assets before sending credible attack paths to live pentesting agents.
- Autonomous execution: Runs reconnaissance, analysis, exploitation, and reporting from a single command.
- Live terminal experience: Simplifies scan setup and shows agent progress and results without exposing orchestration logs.
- Authenticated testing: Supports credentials, login flows, TOTP, email authentication, focus areas, and rules of engagement through configuration.
- OWASP-focused coverage: Tests for exploitable injection, XSS, SSRF, broken authentication, and broken authorization.
- Resumable workspaces: Resumes interrupted scans without repeating completed work.
- Native CI/CD integrations: Runs through the official GitHub Action or GitLab CI/CD component, preserves artifacts, publishes findings, and gates releases on proven vulnerabilities.
- Multi-format reports: Produces evidence-rich PDF and Markdown reports plus JSON and SARIF 2.1.0. SARIF is enabled by default for exploit-mode scans.
- Provider agnostic and BYOK: Supports Anthropic, OpenAI, xAI, AWS Bedrock, compatible APIs and LLM gateways, and local models served through Ollama, vLLM, or LM Studio.
- Private by design: Runs in your infrastructure, stores results locally, and sends model requests directly to your chosen endpoint. A local endpoint keeps data inside your environment.
怎么安装从零跑起来的步骤
Can I self-host Shannon?
Yes. Shannon runs inside your infrastructure in an ephemeral worker container. It mounts the repository read-only and writes results to a local workspace.
Keygraph never receives your source code and never proxies your model traffic. Your model requests go straight to the provider or endpoint you configure, and they carry source and application context with them. Point Shannon at a locally hosted endpoint and that traffic stays inside your environment too.
Can I run Shannon on a local or self-hosted model?
Shannon works with local models served through Ollama, vLLM, or LM Studio, which expose an OpenAI-compatible endpoint, as well as routers such as OpenRouter and LLM gateways such as LiteLLM. A model the harness catalogue does not carry, which most self-hosted models are, is described in a custom model configuration file passed with --models-config; routers and gateways can also be reached with a custom base URL. Capability varies, and a model that does not follow Shannon's instructions or tool-use constraints reliably will produce weaker pentests than a frontier model, so take this path only i
环境与依赖跑它之前要准备什么
Prerequisites
- Docker: required for the worker container.
- Node.js 18+: required for the recommended npx workflow.
- AI provider credentials: Shannon runs on Anthropic, OpenAI, xAI, AWS Bedrock, and any other provider in the harness catalogue — each of which you can point at a proxy or LLM gateway through a custom b
- Cyber safeguards cleared with your provider: Anthropic and OpenAI apply real-time safeguards to cyber-security workloads, which can interrupt a scan mid-run. Complete their guidance for legitimate sec
实现原理它内部是怎么做的
Architecture
Shannon combines multi-stage security code analysis with live reconnaissance and exploitation:
Only live-validated vulnerabilities become Shannon pentest findings or count toward CI/CD severity gates.
Each scan runs in an ephemeral Docker container with an isolated workspace and per-invocation orchestration.
- Recon and vulnerability analysis explores the running application, ties runtime behavior back to the source, and runs specialized agents across Injection, XSS, SSRF, Authentication, and Authorization.
- Agentic security code analysis maps the application's architecture, trust boundaries, exposed interfaces, dependencies, data flows, and high-risk assets, then opens targeted investigations against the
- Finding reconciliation merges both streams of candidates, deduplicates the overlap, and groups what remains into an exploitation queue.
- Exploitation agents attempt real proof-of-concept attacks against the running application.
- Validation throws out every candidate Shannon can't demonstrate.
- Reporting produces PDF and Markdown reports with the evidence attached, plus structured JSON and SARIF for downstream systems.
限制与常见问题项目自己写明的坑与限制
Safety, Scope, and Limitations
Shannon is not a passive scanner. Its exploitation agents can create users, submit forms, mutate application state, trigger outbound requests, and otherwise affect the target system. Use sandboxed, staging, or local development environments with disposable data.
You are responsible for using Shannon legally and ethically. Do not point Shannon at systems, repositories, or applications you do not own or do not have explicit authorization to test.
Read the full Safety and limitations guide before running Shannon in a new environment.
- Shannon is tuned for fast, code-informed pentesting in everyday development and CI/CD. Exhaustive agentic SAST, broader scanner coverage, centralized governance, and full-lifecycle vulnerability manag
- Findings still require human review. LLM-generated reports can contain weakly supported or incorrect details.
- Anthropic, OpenAI, xAI, and AWS Bedrock are built-in providers, and any other provider in the harness catalogue works too — each reachable through a custom base URL that points it at a proxy or LLM ga
- A full run can take roughly 1 to 1.5 hours and may incur LLM API costs depending on model pricing and application complexity.
- Do not scan untrusted or adversarial codebases. AI-powered tools that read source code can be exposed to prompt injection.
其它说明README 里剩下的内容
Shannon is an autonomous, AI pentester for web applications and APIs.
It analyzes your source code, identifies attack paths, and executes real exploits to prove vulnerabilities before they reach production. No exploit, no report.
This repository is Shannon: the full open-source agent, run locally from your command line.
The interactive launcher will guide you through setup and your first pentest.
关于 shannon 的常见问题
7 个问题shannon 是做什么的?
一个可自行部署的开源AI渗透测试工具,针对Web应用及其后端API,结合源码分析与在运行环境中的真实攻击验证,输出经漏洞利用证明的安全报告。 团队借助AI编程工具高频交付代码,而传统渗透测试通常一年才做一次,其余时间可能在不知情中把漏洞带上生产环境。缺少持续、可自行运行且能给出可复现证据的安全测试,就只能依赖易产生误报的扫描结果,难以判断哪些漏洞真实可利用。
shannon 有哪些功能?
核心能力:先分析源码梳理架构、信任边界、接口与数据流,再定位可信攻击路径;自动执行侦察、分析、利用和报告,一条命令完成整个流程;仅在漏洞具备可复现的概念验证时才写入报告,减少推测性误报;可在配置中提供凭据、登录流程、TOTP与邮件认证,以测试需登录的功能;覆盖注入、XSS、SSRF、认证失效与授权失效等OWASP方向的可利用问题;扫描中断后从工作区继续,不重复已完成的部分;通过GitHub Action或GitLab CI/CD组件运行,保留产物并按已证实的漏洞阻断发布。
shannon 适合谁用?
适合需要频繁上线Web应用和API的开发与安全团队,以及希望在自有基础设施内自行运行渗透测试、用可复现证据排查真实漏洞并接入CI/CD流水线做发布门禁的组织。
shannon 是怎么工作的?
先读取仓库源码做架构与数据流分析,找出可能的攻击入口,再通过浏览器自动化和命令行工具对运行中的应用及API发起真实利用尝试;只有拿到可工作的概念验证才纳入报告,并输出多种格式的结果文件。
怎么安装 shannon?
按项目 README 的说明:Yes. Shannon runs inside your infrastructure in an ephemeral worker container. It mounts the repository read-only and writes results to a lo;Keygraph never receives your source code and never proxies your model traffic. Your model requests go straight to the provider or endpoint y;Shannon works with local models served through Ollama, vLLM, or LM Studio, which expose an OpenAI-compatible endpoint, as well as routers su。完整命令见下方「怎么安装」一节或 GitHub 仓库的 README。
用 shannon 有什么门槛或限制?
需要接入大模型服务并配置相应提供方凭据;工具以临时工作容器运行,仓库以只读方式挂载,结果写入本地工作区;具体资源要求与环境前置条件说明不完整。
shannon 现在还在维护吗?数据怎么样?
目前 50,000 星,5,732 个 Fork,主语言 TypeScript,创建于 2025-09-27,最近一次推送 2026-10-27 14:17,许可证 AGPL-3.0。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。
这些内容来自哪
读法说明项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-10-23 17:53。
