---
title: "When protections outlive their purpose: A lesson on managing defense systems at scale"
description: "Emergency protection rules added during past GitHub abuse incidents were left in place and began rate-limiting legitimate logged-out users with \"Too many requests\" errors."
url: "https://swe.quest/articles/when-protections-outlive-their-purpose-a-lesson-on-managing-defense-systems-at-7fcb8ad566ecf603"
canonical: "https://github.blog/engineering/infrastructure/when-protections-outlive-their-purpose-a-lesson-on-managing-defense-systems-at-scale/"
source: "GitHub Engineering"
published: "2026-01-15"
difficulty: "medium"
kind: "Incident"
reading_minutes: 5
tags: ["incident-response","resilience","observability","threat-detection"]
---

# When protections outlive their purpose: A lesson on managing defense systems at scale

A post on [GitHub Engineering](https://swe.quest/sources/github.md), published 2026-01-15, 5 min read, Incident. Original: [https://github.blog/engineering/infrastructure/when-protections-outlive-their-purpose-a-lesson-on-managing-defense-systems-at-scale/](https://github.blog/engineering/infrastructure/when-protections-outlive-their-purpose-a-lesson-on-managing-defense-systems-at-scale/)

## Summary

Emergency protection rules added during past GitHub abuse incidents were left in place and began rate-limiting legitimate logged-out users with "Too many requests" errors. The rules combined fingerprinting with business-logic signals. Only 0.5–0.9% of fingerprint matches were blocked, but false positives still reached about 3–4 per 100,000 requests. Finding the cause meant correlating logs across edge, application and service layers with different schemas. GitHub removed the stale rules and now treats incident mitigations as temporary by default, with expiration, post-incident review and cross-layer visibility into which layer blocked a request.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Incidents & postmortems](https://swe.quest/tags/incident-response.md) (Reliability & operations)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Threat detection](https://swe.quest/tags/threat-detection.md) (Security)

## Prerequisites

- HTTP rate limiting
- reverse proxies ([easy posts on Load balancing](https://swe.quest/tags/load-balancing.md?difficulty=easy))

## Keywords

GitHub, HAProxy, HTTP 429

## Related posts

- [Incident Report: June 6th, 2025](https://swe.quest/articles/incident-report-june-6th-2025-9658b33640a716b2.md): Railway · 2025-06-06 · Medium · 3 min read · Incidents & postmortems, Resilience, Real-time systems, Identity & auth
  Database connection pressure at Railway tripped backend circuit breakers, which set off aggressive websocket reconnects from every connected client at once.
- [Incident Report: January 28-29, 2026](https://swe.quest/articles/incident-report-january-28-29-2026-596231b4a4df80f7.md): Railway · 2026-01-26 · Medium · 4 min read · Incidents & postmortems, Identity & auth, Caching, API design
  Railway users intermittently could not log in with GitHub or deploy from repos over several days because Railway exceeded GitHub's 2,000-per-hour OAuth token limit, with failures recurring about 30 minutes into each hour.
- [How to avoid bad assumptions during incidents](https://swe.quest/articles/how-to-avoid-bad-assumptions-during-incidents-b173051fa360fe61.md): incident.io · 2021-09-24 · Medium · 7 min read · Incidents & postmortems, Debugging, Load balancing, Networking
  HTTP header names arriving downcased at a public API were wrongly blamed on a Google Cloud Load Balancer change.
- [Incident Report: February 11, 2026](https://swe.quest/articles/incident-report-february-11-2026-97407fb1f3ed5567.md): Railway · 2026-02-11 · Medium · 3 min read · Incidents & postmortems, Threat detection, Deployment
  A new automated anti-fraud ruleset at Railway used overly broad workload-fingerprinting criteria.
- [Post mortem on Linear security incident on March 24th, 2026](https://swe.quest/articles/post-mortem-on-linear-security-incident-on-march-24th-2026-f2351236ffd2af86.md): Linear · 2026-04-06 · Medium · 5 min read · Incidents & postmortems, Identity & auth, Testing, Security
  A performance optimization to Linear's "sync group" access-control resolvers contained a variable shadowing bug in the disabled code path.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
