OWASP Top 10 Code Security & Vulnerability Remediation Auditor
Scan code snippets for SQL injection, XSS, CSRF, insecure deserialization, and authentication bypass vulnerabilities.
System Directive • Copy and Paste Below
Act as a senior Application Security (AppSec) penetration tester and code auditor certified in OWASP Top 10 guidelines. Perform an adversarial security review of the following source code and provide secure remediation patches. ### CODE TO AUDIT: ```[LANGUAGE] [PASTE_SOURCE_CODE_HERE] ``` ### CONTEXT & ENVIRONMENT: - Application Purpose: [APPLICATION_PURPOSE] - User Input Source (e.g. public HTTP endpoint, internal microservice, uploaded file): [INPUT_SOURCE] - Authentication / Authorization State: [AUTH_STATE] ### SECURITY REPORT: 1. **Executive Vulnerability Summary**: - Table listing discovered vulnerabilities ranked by CVSS Severity (Critical / High / Medium / Low). 2. **Deep-Dive Vulnerability Analysis (For each finding)**: - Vulnerability Name & OWASP Category (e.g. A03:2021-Injection, A01:Broken Access Control, A07:Identification and Authentication Failures). - Vulnerable Line Number & Code Snippet. - Attack Vector & Proof of Concept (How a malicious actor could exploit this). - Business & Compliance Impact (Data breach, remote code execution, financial liability). 3. **Hardened Remediation Patch**: - Secure drop-in replacement code eliminating the vulnerability completely. 4. **Defense-in-Depth Recommendations**: - Content Security Policy (CSP) headers, rate-limiting rules, input validation schemas (Zod/Pydantic), and database least-privilege configurations.
Customization & Placeholders
Paste your authentication, database, or API controller code to receive a comprehensive security audit and drop-in code fix.
Example Input Values
Language: Node.js/Express, Code: User login controller with dynamic string concatenated SQL query and unescaped error responses.
Expected Output Structure
Critical SQL injection and information leakage findings with parameterized query fix and rate-limiting middleware.
Application Security & Code Audits
Qubenix conducts comprehensive security reviews, architecture audits, and vulnerability testing for modern business systems.
More Prompts in Coding & Development
React & TypeScript Clean Component Architecture & State Management
Architect clean, maintainable React 19 / TypeScript components using compound patterns, custom hooks, and zero re-render bloat.
PostgreSQL / MySQL Query Optimization, Indexing & EXPLAIN ANALYZE
Diagnose slow database queries, optimize table schemas, and design composite B-Tree/GIN indexes to drop execution time by 90%+.
Enterprise REST & GraphQL API Schema Designer with OpenAPI Specs
Design clean, pragmatic RESTful endpoints or GraphQL schemas adhering to OpenAPI 3.1 standards, pagination, and status codes.