The Security Code Review guide
summary
Based on the OWASP Code Review Guide the talk claims manual, context-aware review beats automated tools for most risks (2015 survey), and recommends adding security review at the repeatable/defined SDLC stage using existing PR workflows. Concrete fixes: use PDO prepared statements, set cookie secure and httponly, prefer random_bytes/random_int, disable XML external entity loading, avoid unserialize and prefer JSON, store sessions centrally (DynamoDB example) and run Composer/SensioLabs checks. Examples cover SQLi, XXE, XSS, broken auth/access control and insecure deserialization.
AI-written summary · about
chapters (24)
- 0:00Start
- 1:50Definition about Secure Code Review
- 3:58When Can I Start with Security Code Review
- 4:17Capability Maturity Model
- 6:35Use the Right Tool To Review the Code
- 7:16When To Review the Assignment Review
- 9:45Where To Start
- 13:23Decompose Your Application
- 14:50Recap
- 16:20Sql Injection
- 19:04Sql Injection Guard
- 20:38Broken Authentication
- 20:56Missing Time Out To Logout the User
- 25:16Gc Max Lifetime
- 25:47Php Garbage Collector
- 27:17Sensitive Data Exposure
- 27:31Cryptography and Encryption
- 27:42In Transit Protection
- 30:23Cryptographically Secure Pseudo-Random Number Generation Function
- 31:00Xml External Entities
- 33:14Broken Access Control
- 39:13Cross-Site Scripting
- 45:209 Use Components with Known Vulnerabilities
- 46:06Sensor Lab Security Checker
