~/talk

Plants vs thieves: Automated Tests in the World of Security

Talkat Frontend Nation 2024 · 2024-06-04..06-07· [security, testing]
slides:none on file

Shows concrete security checks implemented with Cypress e2e scripts: inject a <script>alert(1)</script> into inputs to detect XSS, visit crafted URLs to catch SQL injection, and fire API requests that expect 403 for CSRF on unauthorized actions. Demonstrates reading response headers and asserting the Content-Security-Policy header via API intercepts (requires Cypress experimental CSP config), notes Cypress blocks HTTP navigation, recommends combining unit/integration tests with SAST/DAST, Dependabot, OWASP Top 10 prioritization and nightly test schedules.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Security metaphor: Plants vs Zombies
  3. 3:33Testing matters for security
  4. 5:19Top web security risks
  5. 7:46Detecting injection attacks
  6. 10:38Testing CSRF and SQL injection
  7. 12:23Enforcing Content Security Policy
  8. 14:11Verifying access control
  9. 15:34Cryptographic failures in Cypress
  10. 16:41Complementing tests with tools
  11. 18:25Integrating security testing
  12. 20:55Key takeaways
  13. 22:20Q&A: Vulnerability prioritization
  14. 23:46Q&A: Incident feedback
  15. 25:12Q&A: Success stories
  16. 27:47Closing
~/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.