Turki AbdullahI spent last week building AI prompts for code review. Not generic prompts — structured ones that...
I spent last week building AI prompts for code review. Not generic prompts — structured ones that consistently catch real bugs.
Most devs paste code into ChatGPT with "review this" and get vague feedback. Structured prompts with specific checklists outperform open-ended requests by 10x.
Perform a security audit. Check for:
1. Injection vulnerabilities (SQL, command, XSS)
2. Authentication/authorization flaws
3. Hardcoded secrets or credentials
4. Insecure cryptography
5. Race conditions
6. Path traversal
7. Missing input validation
For each: severity, affected lines, attack scenario, fix.
Code:
[PASTE CODE]
1. Free API at nopii.xyz — POST your code, get instant AI security review as JSON. 10 free reviews/month, no credit card.
curl -X POST https://nopii.xyz/v1/register \
-H "Content-Type: application/json" \
-d '{ "email": "you@example.com" }'
2. AI Code Review Toolkit ($9) — 50 prompts + 10 automation scripts (pre-commit hooks, PR reviewers, secret scanners). Works with Claude, GPT, DeepSeek, any LLM.
Would love feedback!