Security
Check for script and database injection
User-written text is shown as HTML somewhere, or a query is built by gluing strings together.
- What you get
- Every spot where user input becomes code, each one fixed and tested again with a harmless payload.
- Paste it into
- Your AI tool, in your project
The prompt
Look for places where text from a user could be run as code in this project. Search for: user content rendered as raw HTML, markdown rendered without sanitizing, links whose address comes from user input, database queries built by joining strings, and user input passed to a shell command, a file path or a redirect. For each, show the file and line and a harmless test input that proves the problem. Fix it the standard way for this stack: escape or sanitize on output, use parameterized queries, and check redirects and paths against an allowed list. Run the same test input again and show that it's now treated as plain text. Test on a local setup only. If you find nothing, say so instead of inventing findings.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.
More in Security
Keep bots out of your forms and sign-ups
Fake sign-ups and contact-form spam arrive faster than real users.
Run an attacker’s-eye review before launch
The app works, and nobody has tried to misuse it yet.
Find secret keys that reach the browser
An API key sits in frontend code where anyone can open the browser tools and copy it.
You leaked a key. Do this in the first hour
A secret went into a commit, a screenshot or a chat, and you’re not sure how bad it is.