Security & Pen Testing for Grit APIs
OWASP Top 10, hands-on — attack your own API, then defend it.
~1 h
11
5
5
Disable AI suggestions while you learn
This course teaches you to hand-write every line of code. Open VS Code (or your editor of choice) and turn off Copilot, Cursor Tab, Tabnine, Codeium, and any inline AI autocomplete before you start a lesson.
AI mid-completion robs you of the small mistakes that make concepts stick. You'll be a faster, more independent developer at the end of the course if you type every character yourself. Re-enable AI for your real work after — never during a lesson.
Goal of this course: learn, not ship fastest.
What you'll build
A security-hardened Grit API with hands-on confidence in detecting + fixing IDOR, SSRF, broken auth, mass assignment, injection, and the rest of the OWASP Top 10.
What you'll learn
Course outline
The Attacker's Mindset
Think like the attacker before you defend like one.
Broken Access Control
IDOR, missing role checks, and the "just check user_id" rule.
Injection & SSRF
SQL injection, command injection, and the URL trap.
Auth + Secret Management
JWT pitfalls, session security, and where to put your keys.
The Grit Defensive Stack
Sentinel, security headers, CSRF, audit log — wire them all.
Prerequisites
- ›Completed Building a Go API
- ›Comfortable with HTTP, JWT, and CORS
Who this is for
- ›Devs shipping public APIs
- ›Security-aware founders without a dedicated security team
- ›Anyone tired of mystery 3am pages
Ready to start?
Lesson 1 takes ~6 minutes. By the end of this hour you'll be writing real code.
