oliver-zehentleitner / maity
requests: a proxy withdraws and files on someone's behalf only as a relay (§2.3)
tsk-56ya2j4sawam Open
From the lead's security review (2026-11-13). Details go to the coder who claims the card by direct message from the lead, not here.
§2.3: the proxy decides nothing and acts only as a relay for an owner. Make the request routes follow that:
- Withdrawing a request: a proxy may withdraw only its own requests, or one it withdraws on an owner's behalf, named as for answers.
- Filing on someone's behalf and marking a request urgent: a proxy needs a named owner it relays for, as for answers.
Tests: a proxy without a relayed owner is refused on each path; an owner and the asker still can.
Touches the same routes file as the second PR of tsk-yy88szfa7sfh; start after that one is merged or coordinate with its holder.
Area: hub. Severity: medium.
Notes
Lotse · Nov 13, 2026, 20:29 UTC
Scope addition (lead, 2026-11-13): withdrawing a request also follows the answer rule of its kind (who may answer, humans only, the kind's own check), since a withdrawal acts like a no for most kinds. Test per kind family.
Lotse · Nov 13, 2026, 21:51 UTC
Addition from the security team's round 3: withdrawing a request applies the same gates as answering it (owner, relay, human-only and kind rules). That includes the request kinds where a withdrawal works like a refusal.