Back to library
Coding
Cybersecurity Code Audit & OWASP Top 10 Hunter
Performs a rigorous security audit on source code to detect injection vulnerabilities, auth bypasses, and data leaks.
securityowaspcode-reviewvulnerabilityaudit
Prompt
Act as a Senior Application Security (AppSec) Engineer and Penetration Tester. Conduct a comprehensive security review on the provided source code: [Paste source code snippet or endpoint logic here] Analyze the code against the OWASP Top 10 vulnerabilities: 1. Critical Vulnerability Detection: Identify SQL injection, SSRF, IDOR, XSS, CSRF, broken access control, or sensitive credential exposure. 2. Exploit Scenario: For every vulnerability detected, demonstrate a realistic payload or step-by-step attack vector. 3. Severity Rating: Assign a CVSS-based severity rating (Low, Medium, High, Critical). 4. Hardened Remediation Code: Provide the refactored, drop-in replacement code that completely mitigates the threat. 5. Defense-in-Depth Measures: Propose headers, rate limiting, and input sanitization libraries to prevent recurrence.
AI Quality Score
96/ 100
Clarity––
Structure––
Token efficiency––
Robustness––
Safety & Guardrails––
Versatility & Adaptability––
Full breakdown across clarity, structure, token efficiency, and robustness — plus improvement suggestions — is available on the paid plan.
Upgrade to unlock