Repository navigation
Description
What
The question sheet's local page (mawsd, sheet.localhost:47590; composite spec docs/doperpowers/specs/2026-11-23-question-sheet-design.md, §8.2, child C4, board #869) does not defend a paired browser against a program run by another login account on the same Mac. Two cases, both written in §8.2 as stated limits and both accepted by the owner on 2026-11-27 ("Ship with the limit"):
- Open or reload while the port is held. While
mawsdis not listening, whoever answers on the page's port owns its origin; a page loaded then runs that program's script, which can take the pairing from the origin's storage. - A relay on an open tab. The proof a tab asks of the server names the daemon, not the connection. A program that holds a tab's connection (it had the port while
mawsdwas not listening, and the tab reconnected to it) can pass the tab's nonce to the real daemon, hand back the proof and receive the credential, with no reload. Found by the branch review of C4's first landing (PR Question sheet C4a: the local page (M1 to M4), served only under its switch #886). The proof covers the page's origin, which narrows this and does not close it.
Programs of the same account are out of scope (they can already write to a sheet's inbox), and a Mac with one account is not exposed.
What closing it would take
- For case 2: no reusable credential on the wire. All of the page's data traffic (the live connection's messages and the data requests' bodies) sealed with a key derived from the pairing, with a counter per direction, so a relay learns nothing and can forge nothing.
- For case 1: the port never free for another account while the person is logged in, for example a launchd-held socket in the daemon's agent, so
mawsd's restarts leave no window.
Acceptance
A program of a second account that binds the page's port during a mawsd restart, and relays or serves, obtains neither a credential nor a sheet's content from a tab that was open, and a page opened meanwhile does not load from it.
Status
Deferred by the owner's ruling of 2026-11-27. Take it up if MAWS is to run on Macs whose accounts do not trust each other.
Activity
SSFSKIM commentedon Nov 27, 2026
[board] deferred: Deferred by the owner on 2026-11-27 ("Ship with the limit"); stated limits in the composite's §8.2.