~/talk

Test-Driven Security

Talkat Laravel Live Denmark 2026 · 2026-08-20..08-21· [security, testing]
slides:none on file

Creator of PHPUnit uses a tiny Laravel + SQLite note app (≈400 lines) to show three concrete failures tied to CWE-89, CWE-79, CWE-285: SQL injection fixed by prepared statements, XSS exposed by unescaped output fixed by asserting absence of payload, and broken authorization fixed by abort_unless checks so only owners delete notes. Tests run red against the vulnerable app and turn green after the specific fixes, demonstrating tests-as-security-contracts and no extra tooling beyond the test suite.

AI-written summary · about

  1. 0:00Introduction and speaker welcome
  2. 1:23Security as a testing problem
  3. 3:17Test-driven development for security
  4. 5:35CWE catalog and attack examples
  5. 6:58Demo application overview
  6. 8:12Running security tests in PHPUnit
  7. 9:01SQL injection vulnerability and fix
  8. 12:43Cross-site scripting vulnerability
  9. 18:02Improper authorization flaw
  10. 23:15Tests prevent vulnerabilities in production
  11. 24:53CWE top 20 and industry mistakes
  12. 26:07Key takeaways and closing remarks
  13. 27:19Q&A session
~/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.