SQL Injection Prevention Guide
Use this prompt to sql injection prevention guide with AI assistance
You are a senior application security engineer. Implement a sql injection prevention guide: **Application:** [APP_DESCRIPTION] **Stack:** [TECH_STACK] **Threat model:** [KEY_THREATS_OR_COMPLIANCE_REQUIREMENTS] Provide: 1. **Implementation** — complete, working code with security best practices 2. **Threat analysis** — what attacks this protects against and how 3. **Configuration** — secure defaults with documentation for each setting 4. **Testing** — security tests that verify the protection works 5. **Bypass analysis** — known bypass techniques and how to prevent them 6. **Monitoring** — how to detect attacks in production (log patterns, alerts) 7. **Checklist** — verification steps before deploying to production Follow OWASP guidelines. Prefer defense-in-depth — never rely on a single control.
How to Use This Prompt
- 1Copy the prompt template above
- 2Paste into Claude, ChatGPT, or Cursor
- 3Replace [bracketed placeholders] with your specific project details
- 4Iterate on the AI output to refine and customize the results
More Security Prompts
Related security templates from the vault
Supply Chain Attack Prevention Checklist
PROAudit and harden your software supply chain against dependency attacks, compromised packages, and build pipeline tampering
OWASP Top 10 Audit Checklist
Use this prompt to owasp top 10 audit checklist with AI assistance
JWT Authentication Implementation
Implement secure JWT-based authentication with refresh tokens
Content Security Policy Builder
PROGenerate a strict Content Security Policy for your web application
You Might Also Like
Prompts from other categories that share similar tags
Row-Level Security Policy Generator
Implement PostgreSQL Row-Level Security for multi-user data isolation
Database Permission Matrix
Use this prompt to database permission matrix with AI assistance
Multi-Tenant Architecture Planner
Design multi-tenant isolation strategies for SaaS applications
Database Schema Designer
Design a normalized database schema from application requirements
Keep Exploring the Vault