🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili
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.