You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d64a30e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,26 @@ Prayu 已具备企业级安全控制平面的部分基础,但还不是完整
52
52
53
53
Prayu already has several foundations of an enterprise-grade safety control plane, but it is not yet a complete enterprise collaboration or identity platform. Git support is currently a bounded, local read path rather than a remote mutation workflow. External Skills are inert, explicitly selected packages rather than general executable plugins. HTTP bearer capabilities and operator audit records provide local authorization, not organizational IAM. A future native `.prayu/` project contract may support a read-only `.opencode/` compatibility importer, but repository configuration must remain untrusted evidence: it may narrow global policy and must never widen authority, store secrets, or execute scripts/hooks during load.
54
54
55
+
## 内置浏览器状态 / Built-in Browser Status
56
+
57
+
Prayu 已完成内置浏览器的第一批 Go 主控安全边界,但**当前还没有启动 Chromium、访问网络或向用户提供可操作的浏览器窗口**。现有 Wails WebView2 仍只负责渲染桌面界面,不会被复用为 CTF 浏览器,也不会加载靶场页面。
58
+
59
+
The first Go-owned safety boundary for an Agent browser is complete, but **Prayu does not yet launch Chromium, access a target, or expose an interactive browser window**. The existing Wails WebView2 remains a Desktop renderer and is not reused for adversarial CTF pages.
|`safe-web`| Code 模式网页开发、DOM 检查与截图 / Code-mode Web QA, DOM inspection, and screenshots | 只允许精确公网 Origin 与 localhost;保持同源、CSP 和 TLS / exact public origins and localhost; normal origin, CSP, and TLS policy |
64
+
|`ctf-lab`| 已授权本地、Docker 或私网靶场 / authorized local, Docker, or private labs | 精确目标、代理、抓包、改包、Cookie 和重放候选;不允许浏览器安全放宽 / exact targets plus proxy, capture, mutation, cookie, and replay candidates; no browser-security relaxation |
65
+
|`ctf-instrumented`| 必须显式确认的插桩实验 / explicitly acknowledged instrumented experiments | 只能候选容器后端;证书、混合内容和 Origin 放宽必须逐项请求,所有证据标记 `instrumented` / container-only candidate; each relaxation is explicit and all evidence is marked `instrumented`|
66
+
67
+
所有档位都要求一次性 Profile、关闭个人资料/扩展/密码库、隔离下载,并在每次重定向及 DNS 解析后重新检查地址。云元数据、链路本地、组播、未指定地址、`file:`/`data:`、URL 内凭证和非授权 Origin 永久拒绝。代理配置只保留规范化端点与系统凭证名称,不保存用户名、密码或 URL userinfo。
68
+
69
+
Every profile requires a disposable browser profile, forbids personal profiles, extensions, and password stores, quarantines downloads, and revalidates every redirect and resolved address. Cloud metadata, link-local, multicast, unspecified addresses, `file:`/`data:` URLs, URL credentials, and off-scope origins are always denied. Proxy plans retain only a normalized endpoint and a system-credential name, never plaintext credentials or URL userinfo.
`browser_session_plan.v1` currently fixes `start_blocked=true`, with process, network, profile-write, request-mutation, replay, and Artifact authority all `false`. The next batch covers executable discovery and identity, disposable-profile lifecycle, and a Disabled/Fake CDP transport. Real navigation remains behind a later independent launch review. See [ADR 0069](docs/adr/0069-go-owned-browser-profiles-target-scope-and-session-plan.md).
1.P10-F1: inspect caller-supplied executable bytes as a pure bounded PE/ELF format and target-architecture candidate, without a path, handle, loader, or process start.
1662
-
2.P10-F2: define a digest-pinned release-manifest and provenance/signature allowlist candidate; verification metadata must remain non-authorizing and body-free.
1663
-
3.P10-F3: define an operator-reviewed resource/sandbox launch-plan candidate covering identity, scope, limits, isolation, cleanup, and audit while every start capability remains false.
1664
-
4. This is the first batch in a new six-slice cycle. Run the integrated functional gate after F3; reserve the next full race/dependency/privacy robustness gate for the following three-slice batch.
1665
-
5. The manual Windows 10 matrix, signed distribution, real Sandbox release gate, xterm input, network grants, product analyzer execution, and CTF solving remain separate.
1694
+
1.P11-B1: discover installed Chromium/Edge candidates and bind bounded executable byte identity, version, and platform metadata without launching them or trusting PATH alone.
1695
+
2.P11-B2: define Go-owned disposable profile-directory ownership, collision, restart-recovery, and exact cleanup plans without creating or deleting a real profile directory.
1696
+
3.P11-B3: add a package-sealed Disabled/Fake CDP transport with bounded navigation, DOM, screenshot, and request-capture outcome contracts; product process and network authority remain false.
1697
+
4. This is the first batch in a new six-slice browser cycle. Run the integrated functional gate after B3; run the full race/dependency/privacy robustness gate after the following three slices.
1698
+
5.P10-F1/F2/F3 remain queued. The manual Windows 10 matrix, signed distribution, real Sandbox release gate, xterm input, real browser/network grants, product analyzer execution, and CTF solving remain separate.
0 commit comments