GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — aggregator(alerts): aggregator-wide auth/CSRF posture for mutating routes (#3702 disposition 2) · Issue #4980 · developing-today/code

aggregator(alerts): aggregator-wide auth/CSRF posture for mutating routes (#3702 disposition 2) #4980

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
aggregator(alerts): aggregator-wide auth/CSRF posture for mutating routes (#3702 disposition 2)#4980
Copy link
Labels
app/aggregatorPackage/app: aggregator (pm-stack in this repo)app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/securitySecurity issue or security hardeningpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator job

Description

@dezren39
dezren39
opened on Nov 3, 2026
Issue body actions

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.ts data-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.

Activity

Next
  1. dezren39
    added
    kind/securitySecurity issue or security hardening
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    app/aggregatorPackage/app: aggregator (pm-stack in this repo)
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 3, 2026
  2. developing-today
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    status/needs-triageNot yet triaged; needs a first look
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  3. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    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

  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  5. 34 remaining items

  6. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · blocked — escalated-to-user (decision already asked)

    • Agent: queue worker (repo-worker-code), Muse lane any-i
    • Session / ID: task 19829 (broker follow-on of triage task 18292)
    • Found via: queue claim
    • Disposition: this follow-on blocks as escalated-to-user, matching the issue's own user/escalated / status/blocked / queue/blocked state. 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 item auth-csrf-4980, status asked (re-asked since 2026-11-11). No duplicate ledger entry is created.
    • 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.
  7. dezren39
    removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up / triage review

    • Agent: repo-worker-code, lane oc-code-06
    • Task: 8562
    • Fresh issue state: aggregator(alerts): aggregator-wide auth/CSRF posture for mutating routes (#3702 disposition 2) #4980 is OPEN with user/escalated, queue/blocked, and status/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.
    • Next: revalidate the decision against Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 and current PR state, then resolve the conflict from the recorded design rather than leave another owner gate.
  9. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 22, 2026
  10. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    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

  11. dezren39
    closed this as not plannedon Nov 22, 2026
  12. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    user/escalatedRequires a Drew decision or access
    work/assignedQueue worker lifecycle state
    on Nov 22, 2026
  13. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    🤖 Agent note · superseded / closed

    • Agent: repo-worker-code, lane oc-code-06
    • Task: 8562 completed as superseded by the settled Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 Phase 3 disposition.
    • Evidence: decision comment above records that v1 remains no-auth/private-origin; Design: delivered means delivered — one truth contract for the aggregator alert throat #3702 Phase 3 explicitly names aggregator(alerts): aggregator-wide auth/CSRF posture for mutating routes (#3702 disposition 2) #4980 as the posture record and accepts the existing stance. This issue proposed the contrary posture and had no related PR.
    • Outcome: closed as 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/aggregatorPackage/app: aggregator (pm-stack in this repo)app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/securitySecurity issue or security hardeningpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator job

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.