~/talk

Pygoat - Learn django security the hard way with Adarsh Divakaran

Talkat DjangoCon US 2024 · 2024-09-22..09-27· [security, developer-experience]
slides:none on file

Pygoat is an intentionally vulnerable Django app that gets deployed and attacked live, demonstrating concrete fixes for SQL injection via raw queries, command execution from user input via subprocess, and remote code execution through unsafe yaml load versions. Demos show leaking secrets when DEBUG=True, brute forcing a three‑digit OTP because of no rate limiting, and replacing raw SQL with parameterized ORM calls and patched dependencies so the vulnerabilities are actually closed.

AI-written summary · about

  1. 0:00PyGoat and web security
  2. 3:52SQL injection in Django
  3. 7:54Shell injection and command execution
  4. 10:50XSS and code execution
  5. 14:51Django security misconfiguration
  6. 17:00Outdated dependencies vulnerabilities
  7. 20:09Brute-forcing OTP access
  8. 24:42Real-world mitigation examples
  9. 25:43Resources and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.