Skip to content

B8 — QA diagnostics bridge isolation (macOS) #28

Description

@yashranaway

Backlog item §B · B8 — mirrored from docs/roadmap/improvements-backlog.md.

What the audit found

Page-world injection is
detectable/forgeable/spammable by a hostile page
(Host/QADiagnosticsBridge.swift:5-93, main.swift:233-236) while P0 claims
isolated-world helpers. Move what's possible; mark the rest untrusted. See
architecture decision §7.


Milestone: Phase 2 — One host, written once

Before changing behaviour here, read docs/roadmap/what-is-excellent.md — the contracts listed there must survive the fix — and AGENTS.md for build, test, and review conventions.

Definition of done: the change ships with the test named above (or an equivalent), CI is green, and the corresponding line in the backlog file is checked off in the same PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:macos-hostWKWebView host (main.swift, Host/)backlogTracked in docs/roadmap/improvements-backlog.mdpriority:highBlocks a roadmap phasestatus:needs-designRequires an architecture-decision entry firsttype:securitySecurity boundary or hardening

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions