Repository navigation
test(browser): prove exact-socket egress pinning in Chromium - #158
Conversation
Add a live test that grants a single authorized socket and asserts Chromium dials only that exact address, with a listener on the same port at a different host left untouched. A small authorizer fixture supplies the pinned grant so the check exercises the real dial path. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
The fixture response declared a Content-Length of 26 while the body is 30 bytes, so the test server advertised a shorter body than it sent. The header now matches the actual body length. Auto-committed-on: cuttlefish Co-authored-by: Medulla <medulla@tinyhumans.ai>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Tiny Sweeper reviewReviewed head: FindingsNo active actionable findings. Unverified notes — repository context was unavailable; these are not actionable findings Unverified note — critique
Verdict: Ready for maintainer review · Priority: none Diagnostics and supporting detailsFull summaryPull request purpose (title): test(browser): prove exact-socket egress pinning in Chromium. Tiny Sweeper completed its review; deterministic results follow. Review snapshot
Completeness: Complete Features
TestsNo supported feature-to-test mapping was produced. Test execution is not inferred. Before mergeNone. Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
Adds a real Chromium integration test for the browser transport's exact-socket grant behavior. The test grants one resolved socket, navigates to a different host on the same port, and proves the authorized listener receives the request while the denied listener receives no connection.
This is supplementary transport evidence for
tinyhumansai/tinycomputer#111; it does not complete that issue. Controlled DNS rebinding, TinySecurity-backed authority coverage, worker/direct-socket confinement, and cross-platform acceptance remain outstanding.Part of tinyhumansai/openhuman#7328
Refs #111
Validation:
TINYCOMPUTER_LIVE_BROWSER_TESTS=1 cargo test -p tinycomputer-browser --features agent-browser live_chromium_dials_only_the_exact_host_authorized_socket -- --nocapturecargo fmt --checkcargo clippy -p tinycomputer-browser --features agent-browser --all-targets -- -D warningsgit diff --checkSummary by CodeRabbit