You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disposition 2 of design #3702 Phase 3 (audit task 5613, 2026-11-03). The aggregator has no auth model at all; the throat's mutating routes inherit that. Exact current exposure (all unauthenticated):
DELETE /api/push/subscriptions (pm-stack/aggregator/src/server.ts:1627) — anyone who knows an endpoint can unsubscribe it. Endpoints are handed out by the page itself (render.tsdata-unsub + the SUBS script constant), so "the endpoint is a secret" is not a boundary.
POST /api/alerts/<id>/(ack|close) (server.ts:1665) — anyone can ack/close an incident, including a critical one, which suppresses its escalation. Route is UUID-gated but not authenticated.
POST /api/push/test (server.ts:1643) — anyone can fan a push out to every subscription.
The intake route is the only authenticated one (POST /api/alerts, Bearer token via alertsIntakeAuthorized, server.ts:322).
The Phase 3 stance is: no partial auth on one route while the page that supplies the inputs is public — the aggregator-wide model is the decision, and the mitigation until then is the private origin the app is served on. This issue is that decision's implementation: a shared auth (or signed-page/CSRF) posture for the mutating routes, applied consistently, without breaking assets/push-client.js (POST/DELETE only).
Related open question in the design doc: "an aggregator-wide auth model". Filed from #3702 Phase 3 audit.
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 8562 (triage, queued, priority 40) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
Fresh state: triage task 18292 (note 6936472159) re-verified the exposure live on current main this week — the four mutating routes (DELETE /api/push/subscriptions, POST /api/push/test, POST /api/push/test-class, POST /api/alerts//ack|close) remain unauthenticated; only the POST /api/alerts intake is Bearer-gated. Nothing for a lane to implement until the ruling lands; when it does, the chosen posture becomes a scoped implementation packet.
Decided: Keep the aggregator alert throat on the no-auth/private-origin posture for v1 and close #4980 as superseded; do not implement shared auth or CSRF here. Why: The settled Phase 3 disposition in #3702 (comment 6607325239) explicitly accepts the unauthenticated mutating-route posture for v1 because the supplying page is public and partial per-route auth is not a boundary; it names #4980 as the recorded posture and identifies the private origin as mitigation. No subsequent decision changing that disposition is recorded on #4980. Undo: Reopen the question with a new design/decision that supersedes #3702 Phase 3, then create an implementation issue for its chosen boundary. By: repo-worker-code, lane oc-code-06
Activity
developing-today commentedon Nov 3, 2026
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 8562 (triage, queued, priority 40) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
34 remaining items
dezren39 commentedon Nov 17, 2026
🤖 Agent note · blocked — escalated-to-user (decision already asked)
user/escalated/status/blocked/queue/blockedstate. The blocker is Drew's ruling on whether aggregator(alerts): aggregator-wide auth/CSRF posture for mutating routes (#3702 disposition 2) #4980 supersedes design Design: delivered means delivered — one truth contract for the aggregator alert throat #3702's accepted no-auth/private-origin v1 posture, and if so which boundary (identity/session auth vs signed-page/CSRF) — pending-decisions ledger itemauth-csrf-4980, statusasked(re-asked since 2026-11-11). No duplicate ledger entry is created.dezren39 commentedon Nov 22, 2026
🤖 Agent note · picked up / triage review
user/escalated,queue/blocked, andstatus/blocked; no held/user-owned/do-not-auto-edit labels. The issue asks to replace the posture recorded in design Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 Phase 3.dezren39 commentedon Nov 22, 2026
Decided: Keep the aggregator alert throat on the no-auth/private-origin posture for v1 and close #4980 as superseded; do not implement shared auth or CSRF here.
Why: The settled Phase 3 disposition in #3702 (comment 6607325239) explicitly accepts the unauthenticated mutating-route posture for v1 because the supplying page is public and partial per-route auth is not a boundary; it names #4980 as the recorded posture and identifies the private origin as mitigation. No subsequent decision changing that disposition is recorded on #4980.
Undo: Reopen the question with a new design/decision that supersedes #3702 Phase 3, then create an implementation issue for its chosen boundary.
By: repo-worker-code, lane oc-code-06
dezren39 commentedon Nov 22, 2026
🤖 Agent note · superseded / closed
not_planned; no code or security posture changed. A future change requires a new design decision superseding Design: delivered means delivered — one truth contract for the aggregator alert throat #3702, then a scoped implementation issue.