The Cloudflare audit found eight ip-handling bypasses. There was one I had to leave broken.
Phase 1b fixed the central abstraction. The pre-flight audit before flipping nameservers found eight more direct REMOTE_ADDR reads. Six got the same fix, one was dead code, and one had to stay broken because the safe alternative would have been worse.