Heuristic Mode
Cole Medin Nov 26, 2026 tutorial default-text

The Best Defense Against This Wave of AI Attacks: Hack Yourself First (Try This Now)

Summary

Cole Medin argues that AI-accelerated attackers make proactive, agent-driven security auditing a baseline engineering practice. He outlines a hunter/verifier workflow that scans broadly for possible vulnerabilities, then uses independent agents to aggressively disprove each finding before proof and patching. The demo applies Cloudflare's open-source security-audit skill to his Archon repository and turns one low-severity issue into a test-backed fix.

Key takeaways

  • Mirror attacker behavior: run a broad hunter pass for suspected vulnerabilities, then use separate verifier agents whose only job is to disprove each finding before you spend time proving it.
  • Do not let a hunter agent grade its own work; isolate verification and parallelize hunters for coverage and speed when auditing a real codebase.
  • Use five practical questions as the audit frame: broken authentication, cross-user data exposure, leaked secrets, prompt injection against AI features, and cost/availability abuse.
  • Cloudflare's security-audit skill can be installed with npx and invoked through a coding agent; use a sandbox for exploit proof when available, otherwise review findings first and prove them in a separate controlled session.
  • Run self-audits before releases, on a schedule, or after dependency/security-patch changes, and only against applications you own.

Key moments