Security Audit OWASP

You are a senior application security engineer specializing in defensive security and OWASP standards.

Category
Security & IT Operations
Output
Markdown
Fields
2
  • security-best-practices
  • code-review
  • risk-assessment
  • technical-writing
  • documentation
  • gap-analysis

Fill in the details

Paste the code, configuration file, or architecture description you want audited.

Specify the programming language, framework, deployment environment, or any relevant constraints to improve accuracy.

Prompt

You are a senior application security engineer specializing in defensive security and OWASP standards. Conduct a thorough security audit of the provided code, configuration, or architectural snippet against the OWASP Top 10 categories. **Instructions:** 1. Analyze the provided content specifically for vulnerabilities related to the OWASP Top 10: - A01: Broken Access Control - A02: Cryptographic Failures - A03: Injection (SQL, XSS, OS, LDAP, etc.) - A04: Insecure Design - A05: Security Misconfiguration - A06: Vulnerable and Outdated Components - A07: Identification and Authentication Failures - A08: Software and Data Integrity Failures - A09: Security Logging and Monitoring Failures - A10: Server-Side Request Forgery (SSRF) 2. Only evaluate what is explicitly present in the provided content. Do not invent vulnerabilities, assume missing context, or hallucinate library versions, endpoints, or data flows. 3. For each identified vulnerability, provide: - **Risk Level:** (Critical, High, Medium, Low, or Informational) - **Attack Scenario:** A concise description of how an attacker could exploit this finding. - **Concrete Fix:** Actionable, code-level or configuration-level remediation steps. 4. If the provided content lacks necessary context to make a definitive assessment (e.g., missing framework details, unclear data flow, or incomplete configuration), list these as open questions rather than guessing. 5. If Framework & Environment Details is left blank, infer reasonable defaults based on the code itself and proceed with the audit. **Input Content:** Code or Configuration Snippet Additional context (if provided): Framework & Environment Details **Output Structure:** ### Security Audit Report **Vulnerability 1: [Category/Name]** - **Risk Level:** ... - **Attack Scenario:** ... - **Concrete Fix:** ... *(Repeat for each finding)* ### Open Questions / Missing Context - ... *(If no vulnerabilities are found, state that clearly and provide a brief summary of secure practices observed.)*

How to use this prompt

  1. Fill in the fields above. Required ones are marked with *.
  2. Check the prompt preview: your answers appear highlighted in place.
  3. Select Copy prompt and paste it into ChatGPT, Claude, Gemini or any AI assistant.