How I stopped a massive WordPress spam attack with 4,700 lines of code in two days - thanks to Codex and Claude

Wait 5 sec.

Spam accounts overwhelmed my database. Claude found the weaknesses, Codex wrote the fixes, and I deployed a new defense.