🏠 Home
Prestatietests
📊 Alle benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List applicaties 🎨 Creatieve vrije pagina's 🎯 FSACB - Ultieme showcase 🌍 Vertaalbenchmark
Modellen
🏆 Top 10 modellen 🆓 Gratis modellen 📋 Alle modellen ⚙️ Kilo Code
Bronnen
💬 Promptbibliotheek 📖 AI-woordenlijst 🔗 Nuttige links
Advanced

Security-First Code Review

#security #python #code-review #vulnerability

Perform a rigorous security audit on a provided Python snippet.

Act as a Cybersecurity Expert specializing in application security. I will provide a Python code snippet that handles user authentication and file uploads. Perform a comprehensive security audit focusing on: 1) SQL Injection vulnerabilities, 2) Cross-Site Scripting (XSS), 3) Path Traversal, 4) Insecure Deserialization, and 5) Timing Attacks. For each vulnerability found, explain the attack vector, the potential impact, and provide the secure, refactored code snippet adhering to OWASP Top 10 best practices.