🏠 Startseite
Vergleiche
📊 Alle Benchmarks 🦖 Dinosaurier v1 🦖 Dinosaurier v2 ✅ To-Do-Listen-Apps 🎨 Kreative freie Seiten 🎯 FSACB - Ultimatives Showcase 🌍 Übersetzungs-Benchmark
Modelle
🏆 Top 10 Modelle 🆓 Kostenlose Modelle 📋 Alle Modelle ⚙️ Kilo Code
Ressourcen
💬 Prompt-Bibliothek 📖 KI-Glossar 🔗 Nützliche Links
Advanced

Security-First Code Refactoring

#security #refactoring #code-review #owasp

Perform a deep security audit on a code snippet and refactor it for safety and performance.

Perform a comprehensive security audit of the provided code snippet. Identify vulnerabilities based on the OWASP Top 10 (e.g., Injection, Broken Authentication, XSS). For each vulnerability found, explain: 1) The exploit mechanism. 2) The potential impact. 3) The specific lines of code responsible. Then, provide a refactored version of the code that mitigates these risks while adhering to SOLID principles and optimizing runtime complexity. [Insert code snippet here]