🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
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]