panel handover: the capability is handed to ANY live session of the member, not the one that completed the armed sign-in — a stale panel session can take the steward's passcode #1969
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1969
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The gap
#1967 landed the handover capability and delivered it over the OIDC channel, as ruled. But the gate stashes it keyed by identity, and hands it to any live session of that identity — not to the session that completed the armed sign-in.
The route's own doc comment states the intent and then misses it:
Holding that identity's session is not the same as having completed that sign-in. #1967's AC 5 says "a panel that completed the armed sign-in can read the capability, and nothing that did not complete that sign-in can." The first half holds. The second does not.
panelhandover_test.gotests only a different identity (Estrangerreads empty). A second session of the same member is never exercised — and it would succeed.Why it matters
A control-panel session is a 12 h HMAC cookie that grants the panel. It does not grant the steward's passcode — that is the whole point of d.6's sealed box: the box opens only in the tab that minted the sealing key.
With identity-keying, a stale panel session of the steward's own — an abandoned tab on a shared machine, a second device, a browser left signed in — can, within the 5-minute stash window after the steward's next armed sign-in somewhere else, call
GET /api/v1/panel/handover, take the capability, bind its own sealing key and collect the sealed passcode. It opens it and holds the steward's whole identity.That converts panel access for 12 h into the identity, permanently. It is the escalation d.6 exists to prevent, arriving through the mechanism built to protect it. It is narrower than #1966 (the caller must already hold a valid session as that member, so this is not reachable by a stranger) — but it is still a privilege escalation, and it is the case Ben's ruling named when it said the capability must be bound to that one sign-in.
Note too that the ruling said "the AID is not an input at any point". The mint is properly random and not AID-derived — but the delivery is keyed by the OIDC subject, which is the AID. The AID became an input at the last hop.
What to build
Bind the stash to the sign-in that armed it, not to the identity:
/authz/signinand required on the read;armed && panel, the userinfo carrier, one-shotTake, the 5-minute ceiling, and the resting-substrate empty answer.Acceptance criteria
Blocked by
Notes
Found reviewing #1967's close-report against the carrier hazard raised on that ticket before it was claimed ("the carrier must not be an identity lookup"). The agent moved delivery off
/meas asked and built a dedicated route, which is right; the keying is the part that still resolves by identity.swarm-claim host=bens-mac-04 run=35148
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1969 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope