安全软件
点击放大

Shor is an autonomous offensi engine for web applications. You point it
at a target — a live URL, and optionally the source code behind it — and a team of
AI agents does what a human penetration tester would: map the app, reason about
where it's weak, try to break it, and prove each break by actually reproducing
it. Shor reports only findings it has , so what you get back is a short
list of real, exploitable bugs rather than a long list of maybes.
It runs as a multi-tenant platform: a web dashboard where you connect targets and
watch scans, and a per-scan worker that runs the agent pipeline in an isolated
sandbox. E a scan produces — findings, an attack-surface map, and a
written report — is stored as structured, diffable records you can share with a
read-only link.
---
Every scan follows the same idea, borrowed from how real attackers work and from
XBOW's "prove it or drop it" discipline:
1. Discover the target — what services, pages, parameters, and technologies
exist.
2. Hypothesize where the are, one specialist per bug class.
3. Challenge each hypothesis with an ad jury before spending effort on it.
4. Exploit the sur with real tools to see if the bug is actually there.
5. Prove it by replaying a harmless, reproducible proof-of-concept under a
safety layer — no destructi, no data loss.
6. Refine the results: remo, demote false positives, and write up
only what held.
The guiding rule throughout: a finding is not real until Shor has reproduced it.
---
A scan is not one big model call. It's a pipeline of specialist agents, each its own
process running real command-line security tools. They hand structured deli
to the next stage. The phases run in this order:
| Phase | Agents | Runs | What happens |
|---|---|---|---|
| Pre-recon → Recon → Threat-model | 3 | sequentially | Map the li (and the source, in white-box mode): services, ports, endpoints, parameters, tech stack. The threat-model agent turns that map into a prioritized list of where to look. |
| analysis | 7 | in parallel | One agent per bug class — injection, XSS, authentication, SSRF, authorization, business-logic, and web misconfiguration — each proposing candidate in its domain. |
| Ad screen | a jury | in parallel | Each candidate finding is judged by several independent "voter" agents, each looking through a different lens (e.g. correctness, auth-context) and blind to the recon context so they can't be led. A majority vote decides which candidates advance. |
| Exploitation | 7 | in parallel | The same se specialists take the pre-filtered, higher-confidence queue and try to actually exploit each sur candidate against the li, capturing a proof-of-concept for each. |
| Proof replay (oracle) | deterministic | after exploitation | Not an agent — Shor re-executes each captured proof-of-concept itself and lets the *observed* outcome o whatever the exploit agent claimed. A PoC that doesn't reproduce gets demoted; a low-confidence positive is ne kept. |
| Finalize | 1 | sequentially | A single high-capability session runs three dependent stages — finding-refinement, then attack-surface, then report — to dedupe, demote, and write e up. |
So a typical scan runs about 17 specialist agents in fixed roles — 3 for
discovery, 7 for analysis, 7 for exploitation — **plus a screening jury whose size
scales with how many candidate findings turn up**. In practice that's dozens of
independent agent in per scan, with tens of them running concurrently at
peak.
The seven bug classes get a dedicated agent in *both* the analysis and exploitation
phases, and each keeps its own isolated browser session so the parallel agents never
trip over each other's state.
---
Whether a scan is white-box or black-box is a property of the project, decided
by whether you' source code to it.
Black-box — you give Shor only a URL. The pipeline runs entirely against the
li, exactly like an external attacker with no inside knowledge. There's
no source code, so there's no static analysis and no code-le; findings
are grounded purely in how the app behaves and in a reproduced proof-of-concept.
White-box — you also connect the source repository (via a GitHub connection
or a zip upload). At scan time Shor clones the repo into an immutable snapshot and
gives the agents the code alongside the li. This adds three things a
black-box scan can't have:
Both modes run the same agent pipeline and the same prove-it — the
difference is how much context the agents start with and how precisely findings tie
back to your code.
---
Shor is built to fight false positives, because an autonomous scanner that cries wolf
is worse than useless. Three mechanisms keep the final list honest:
---
Shor ships a two-tier retrie layer so the engine can learn across scans.
It's an opt-in capability (feature-flagged, off by default), not an always-on
step, but the design is:
When enabled, this memory feeds the agents ideas to try, not to trust —
it broadens what the explorer thinks to attempt. The prove-it stays the
sole arbiter of what's real, and third-party research is treated as untrusted input
to guard against retrie. Promotion of a finding into the shared,
cross-tenant tier is gated behind consent and mandatory secret/PII scrubbing.
---
Shor's agents don't just reason — they wield 30+ real offensi tools,
exposed to the model as in skills. Recon, exploitation, and static
analysis run on the same industry tooling a human pentester reaches for:
---
---
Shor is for authorized engagements only. A scan enforces a signed **Rules of
Engagement** as a default-deny scope: the sandbox will only touch hosts you've
declared in scope, egress is firewalled per-tenant, and each scan runs in its own
isolated en with its own scoped identity and secrets. When dri
the automation/MCP surface, a scan can be started only with a single-use
authorization token that a human appro for that specific engagement —
there's no way for an agent to authorize itself. Cancelling a scan is the kill switch.
---
Shor's disco pipeline ports ideas from Anthropic's defending-code reference harness, and its agent design follows Anthropic's *Building Effecti* patterns. It also builds on prior work in autonomous, penetration testing:
Shor is source-a, licensed under the PolyForm Noncommercial License 1.0.0 — not an OSI open-source license.
Required Notice: lines (see NOTICE) and credit *"Based on Shor by Keygraph, Inc."*Copyright (c) 2025-2026 Keygraph, Inc. Commercial licensing enquiries: see NOTICE. Contributions are accepted under the Contributor License Agreement.
开发语言:TypeScript
Star 数:12
该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Autonomous web-app pentest engine — a multi-agent pipeline wielding 30+ offensive-security tools as skills, PoC-validated findings. Built on Anthropic's defending-code harness + Building Effective Agents.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | shor - Autonomous web-app pentest engine — a multi-agent |
| 所属分类 | 安全软件 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 23:00:58 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 412 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |