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
{{ message }}
Repository navigation
fix(service): the webhook route refuses an unsigned or oversized delivery before it reads the body, and a rate limit guards it #2476
A go-live review of the roadmap Service (origin/main 960e357, 2026-10-28) found that its public webhook endpoint has no rate limit, and that it reads the whole body before it checks the signature (src/devops_cli/server/routes/webhooks.py:230-301; k8s/devops/roadmap-service/ingress.yaml). A flood of forged deliveries costs the Service CPU and log volume, and no alert shows it. The repositories' hooks are also wider than the Service needs: on 2026-10-28 all 8 were active, three sent every event (*), and k8s/README.md (Roadmap service, step 8) asks for the Issues event only.
Proposed Solution & Architectural Design
A Traefik rate-limit middleware on the webhook route.
The route refuses a delivery with no signature header, or a body above a size cap, before it reads the body.
devops gains no hook-editing command; the hooks stay an owner step, and the README's step 8 says how to check them (devops gh api repos/<owner>/<name>/hooks).
Activity
dan-petty commentedon Oct 28, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
The change hardens the public webhook endpoint against forged and oversized deliveries.A go-live review found the gap, but no active exploit or failed run is cited.It stops a flood of forged deliveries from consuming CPU and log volume on the Service.It spans a Traefik middleware, a route guard, an alert rule, and a README step, but each part is small.Both work on the webhook route, but #1386 builds the routing and verification logic while this candidate adds a protective layer (rate limit, size cap, early rejection) in front of it.docs(openspec): open 2476-webhook-route-guards again for the review f…
fix(service): the runbook of the webhook route counts the 429 of the …
docs(openspec): archive 2476-webhook-route-guards
feat(telemetry): the roadmap Service counts its GitHub writes, budget…
chore(main): release 0.12.0 (#2552)