mirror of
https://github.com/Heretek-Games/flatpark.git
synced 2026-10-12 02:05:52 +00:00
Unauthenticated /release spam could burn the PAT's 5000 req/h GitHub quota, since every request with a valid app_id costs one authenticated release check. Add Workers rate-limiting bindings checked before any parsing or GitHub calls: 5/min per source IP, plus a 30/min whole- endpoint cap that keeps even a multi-IP flood under the quota. Counters are per Cloudflare location and eventually consistent — a damper, not an accounting system. Co-Authored-By: Claude Fable 5 <[email protected]>