Pre-ship security and validation audit prompt for Cursor
From Wikiprompt, the free prompt encyclopedia
Pre-ship security and validation audit prompt for Cursor A Cursor prompt that audits every API route touching user data for auth, access control, and input validation before shipping.
Prompt ContentSave
Before you ship any API that touches user data, run this in Cursor:
"Find every route that reads or writes user data, payments, or PII. For each, list: 1) is there auth? 2) does it check the user can access this resource? 3) are inputs validated with a schema? Save to api_audit.md"
Then:
Open api...
Sign in to see the full prompt
Sign In to ContinueUsage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
References
- Category: coding Prompts
- Source: https://x.com/WasimShips/status/2052350277152276775
Talk
0 comments