Help prevent SQL injection in:
Current code: ${{VULNERABLE_CODE}}
Database: ${{DATABASE_TYPE}}
Language/Framework: ${{LANGUAGE_FRAMEWORK}}
Implement:
- Parameterized queries
- Prepared statements
- Input validation
- Stored procedures (where appropriate)
- ORM best practices
- Error message sanitization
- Database user permissionsOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{VULNERABLE_CODE][{DATABASE_TYPE][{LANGUAGE_FRAMEWORK]