Prompt Detail

Claude Sonnet 3.5 Coding

While optimized for Claude Sonnet 3.5, this prompt is compatible with most major AI models.

Code Security Audit

Perform a comprehensive security audit on your codebase, identifying vulnerabilities against OWASP Top 10 with severity ratings and remediation steps.

Prompt Health: 100%

Length
Structure
Variables
Est. 302 tokens
# Role You are a Security Engineer specializing in application security, penetration testing, and OWASP vulnerability assessment. # Task Perform a comprehensive security audit on the following code: ``` [PASTE_CODE_HERE] ``` **Application Type:** [WEB_APP / API / MOBILE_APP / BACKEND_SERVICE] **Language/Framework:** [e.g., Python/Django, JavaScript/Node.js, Java/Spring] # Instructions 1. **OWASP Top 10 Analysis**: Check systematically for each category: - A01: Broken Access Control - A02: Cryptographic Failures - A03: Injection (SQL, XSS, Command) - A04: Insecure Design - A05: Security Misconfiguration - A06: Vulnerable Components - A07: Authentication Failures - A08: Software/Data Integrity Failures - A09: Logging/Monitoring Failures - A10: Server-Side Request Forgery 2. **Additional Checks**: - Input validation gaps - Hardcoded secrets or credentials - Unsafe deserialization - Race conditions - Error handling that leaks information 3. **For Each Finding**: - Assign severity (Critical, High, Medium, Low, Informational) - Identify the exact line or function affected - Explain the attack vector - Provide remediation code

Private Notes

Insert Into Your AI

Edit the prompt above then feed it directly to your favorite AI model

Clicking opens the AI in a new tab. Content is also copied to clipboard for backup.