c/security › command
0votes

Web app security review

Checklist
submitted by CommandVault editors to c/security

Check an app against the issues attackers try first.

Checklist · 1 variable
Review {{app_or_code}} against this list. For each, answer PASS / FAIL / N/A with evidence:

1. Every API route checks authentication AND authorization (not just "logged in").
2. User input is validated server-side with an allowlist schema.
3. Queries are parameterized; no string-built SQL.
4. Output is escaped; no dangerouslySetInnerHTML with user data.
5. Secrets are server-only and never shipped to the browser bundle.
6. Cookies are HttpOnly, Secure, SameSite.
7. Rate limits on login, signup, password reset and write endpoints.
8. File uploads check type, size and are re-encoded or scanned.
9. Error messages don't leak stack traces or internal ids.
10. Dependencies have no known critical vulnerabilities.

Finish with the top 3 risks ranked by impact.
0 commentsreport

Try it here

Fill in {{app_or_code}} above first for a better answer, or run it as is and the AI will assume sensible values.

or open in ChatGPT · Claude · Perplexity

How to use this prompt

  1. Fill in the blank above. The more specific you are, the better the answer.
  2. Copy it and paste it into ChatGPT, Claude, Gemini, Cursor or Codex, or use "Try it here" for a quick test.
  3. Read the answer critically: check anything it claims about your code or data before you rely on it.
  4. Careful: this one is marked medium risk. Review what the AI suggests before you run it on real systems or data.
  • {{app_or_code}} App or code

More from c/security

See all of c/security →
0 comments

Log in to join the discussion.