Task prompt · Coding
Fix my code's security holes
by Agent Yard TeamA focused security review with fixes.
Use cases
- A focused security review with fixes.
- When you already have a file and want the AI to work from it instead of starting from scratch.
- With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.
Featured in: Best Claude prompts for coding, Best AI prompts for debugging and bug reports.
How to use it
- Open Cursor or Claude Code in your terminal (or another AI listed here).
- Attach the file (PDF, Word, CSV or Excel), or paste its text into the prompt.
- Copy the prompt, paste it into the chat and send.
Prompt
Do a security review of the attached code. Check for: injection (SQL, command, template), XSS, auth and access control gaps, insecure direct object references, secrets in code, weak crypto, SSRF, unsafe file handling and missing rate limits. For each finding: severity, the vulnerable line, how it could be exploited, and the fixed code. Don't report style issues.
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.