Skip to content

fix(security): classify peer and host denials - #105

Merged
yashranaway merged 4 commits into
mainfrom
t3code/peer-host-classification-tests
Aug 10, 2026
Merged

fix(security): classify peer and host denials#105
yashranaway merged 4 commits into
mainfrom
t3code/peer-host-classification-tests

Conversation

@yashranaway

@yashranaway yashranaway commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Closes #36

Adds the last direct regression coverage named by backlog D2:

  • cross-UID Unix socket clients fail closed with PEER_DENIED
  • Linux E2E classifies blocked top-frame navigation
  • macOS E2E classifies denied page-initiated downloads

The macOS assertion exposed an existing policy gap: download-intent links and attachment responses were not explicitly converted into WKDownload, so the cancellation delegate could not classify them. The host now routes explicit download intent, attachments, and unsupported response types through its existing fail-closed download cancellation path.

Verification:

  • protocol suite: 40/40
  • MCP stdio integration suite
  • agent runtime suite
  • full Linux Chromium E2E and artifact checksums
  • macOS WKWebView E2E required by label

@yashranaway yashranaway added the macos-e2e Run the macOS WKWebView E2E suite label Aug 10, 2026
@yashranaway yashranaway changed the title test(security): cover peer and host denials fix(security): classify peer and host denials Aug 10, 2026
@yashranaway
yashranaway merged commit 48e0b6e into main Aug 10, 2026
7 checks passed
@yashranaway
yashranaway deleted the t3code/peer-host-classification-tests branch August 10, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

macos-e2e Run the macOS WKWebView E2E suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

D2 — Known test gaps (from code audit)

1 participant