🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles
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.