Repository navigation
Description
Two of the remote-control gaps on dormouse.sh/security are the ones a user of a paired phone feels first: nothing revokes a paired phone, and nothing records who connected. Both are about a user being able to see and control access to their own computer.
Revocation
Today BurrowAcl.revokeClient / revokePasskey have no callers and no relay frame carries a revocation, so revoking a phone means hand-editing Burrow state and restarting the Burrow (docs/specs/remote-security-model.md -> "Revocation propagation"). A lost or sold phone stays paired until the presence window lapses and, after that, until someone edits the ACL.
- A Settings → Remote control list of paired phones (name, paired date, last seen), each with Revoke, on both Burrows (Standalone and VS Code).
- Revoking takes effect on running sessions, not only on the next Burrow start:
BurrowServicecurrently handsBurrowRuntimeone ACL snapshot for its whole lifetime. - A matching
dorverb, so an agent or a script can list and revoke. - Whether the Relay pushing a revocation to a Burrow (from Pocket on another device, or from the Hosted account page) is in scope or a follow-up. The Burrow stays the only writer of its ACL.
Access log
The Burrow records approvals, and some rejections go to owner-local logs. Nothing answers "did anyone connect to my laptop last night" (docs/specs/security.md -> "Known gaps").
- An owner-local, append-only, bounded log of connects, attaches, denials (with the specific ACL miss, which stays off the wire), pairings, revocations, and one-time sessions: which phone, when, the path (direct or relayed), and how long.
- Visible beside the paired-phone list, and through
dor. - No terminal content, ever. It sits under the same persisted-state boundary as the ACL (
docs/specs/security-local.md-> "Persisted state").
Done means
Both Known gaps entries are gone from docs/specs/security.md, the guarantees table gains rows for revocation and the access log with their pins, and the audited rules land in docs/specs/security-remote.md.
Activity
dormouse-bot commentedon Oct 18, 2026
This is a maintainer-scoped design issue with an open scope question (Relay-pushed revocation), so triage is leaving it for a maintainer rather than opening a PR. Here's where each piece would slot in, based on the current code:
BurrowServiceawaitsloadAclonce and passesloadAcl: () => recordsintoBurrowRuntime, which builds itsBurrowAclfrom it at construction. Live revocation needs a runtime entry point that callsrevokeClient, persists through the existingsaveAcl, and closes any established session whose Client static matches. Without that last step, a revoked phone keeps its open session until the socket drops.RemoteStatus.pairedClientsis anumber(service-protocol.ts), filled fromactiveRecords.length. A list would carry each record'slabelandapprovedAtinstead. NeitherBurrowAclRecordnor the status store tracks "last seen", so that field is new state, and it is probably best kept in the access log rather than the ACL record.revokeClientandrevokePasskey. A phone has one Client static per browser identity (Safari tab vs Home Screen install, from remote: no account-wide device list — pairing, revocation, and push targets are all per-Host #331), so "revoke this phone" from a per-record list maps naturally torevokeClient.revokePasskeywould cut off every browser that uses that passkey.On the Relay-push question: #331 already tracks the account-wide device list that a Relay- or Hosted-initiated revocation would need, and the spec stages it as Revocation propagation under
remote-trust-followupsindocs/specs/remote-security-model.md. Keeping this issue Burrow-local, with revocation from the Burrow's own Settings anddor, would leave that design where it is filed.