Repository navigation
fix(cloudflare): Key the webhook rate limit on each client - #6050
Merged
Merged
Conversation
Owner
Author
Evidence, the owner step and the proofWhat keys the bucket
Can a client spoof
|
The Traefik limit of the webhook route keyed on the request host, so every sender shared one bucket of 60 a minute. Key it on Cf-Connecting-Ip, which the Cloudflare edge sets, so another sender cannot use up the bucket of GitHub before the Access Bypass of owner step O3. Onboard row 7 accepts a hook that sends more events than the Service takes, and a test holds the consumer events to the hook events. Closes #5035
dan-petty
force-pushed
the
fix/5035-webhook-limit-per-client
branch
from
November 16, 2026 21:50
d0837a8 to
091d9af
Compare
Owner
Author
Check resultsHead commit:
Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/43964161558/job/133639063146 Skipped check: Plan Check |
dan-petty
marked this pull request as ready for review
November 16, 2026 22:01
This was referenced Nov 16, 2026
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 17, 2026
🤖 I have created a release *beep* *boop* --- ## [0.169.2](v0.169.1...v0.169.2) (2026-11-17) ### Bug Fixes * **cloudflare:** Key the webhook rate limit on each client ([#6050](#6050)) ([9cc974b](9cc974b)) * **deps:** give a Helm chart update the fix prefix ([#6057](#6057)) ([9b69d07](9b69d07)), closes [#6054](#6054) * **deps:** give SearXNG its own Renovate branch behind approval ([#6052](#6052)) ([515a968](515a968)) * **deps:** update helm charts (patch) ([#6046](#6046)) ([ebc1e68](ebc1e68)) * **k8s:** Roll the MCP server with no gap ([#6070](#6070)) ([00c730b](00c730b)) * **k8s:** State the NVMe rule and cover CNPG claims ([#6062](#6062)) ([e04435a](e04435a)) * **security:** renew the kubectl Trivy ignores of the MCP image ([#6088](#6088)) ([73ca153](73ca153)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Traefik limit of the webhook route keyed its bucket on the request host. Each delivery comes through the Cloudflare tunnel with that host, so all senders shared one bucket of 60 requests a minute. When Cloudflare Access admits Everyone on the path (owner decision 2 of 2026-11-12), any sender could use up the bucket of GitHub. The Middleware now keys on
Cf-Connecting-Ip, which the Cloudflare edge writes. A client cannot set it past the edge, and a gate check keeps the Traefik ServiceClusterIP.Onboard row 7 now accepts a hook that sends more events than the Service takes, and a test holds each consumer event to the hook events. The HMAC check, the 413 cap and the alerts do not change.
After the merge, owner step O3: in Cloudflare Access, set the Bypass policy of
hooks.<domain>/webhooks/githubto include Everyone, on that path only.Closes #5035
Change:
openspec/changes/archive/2026-11-16-5035-webhook-limit-per-client/