AI Blocks › Keep your code secure
Code change security review
Paste a code change. Get the security risks in only what changed, ranked, with the line and a fix.
Code change security review is a free AI prompt for the job "Keep your code secure". Give the instructions to an AI assistant that supports the required files and tools, then review its output.
Free · No account · Made by AI Blocks
What it does
Reviewing a whole codebase is slow, and most new problems arrive in a change. A quick look at only the changed lines catches the risks before they reach customers. This prompt reviews just the diff. It starts with sign-in, permissions, money, personal data and outside calls, shows how each risk could be abused, and says what it could not check outside the diff. It is a quick screen, not a full audit.
You give it
- The diff or pull request text
- What the change is for
- What the code protects (optional)
You get
- A verdict: safe, fix first or look closer
- Findings with the line, the abuse and the level
- The smallest fix for each
- What was not checked
Use it when
- Someone opened a pull request that touches login or payments.
- An AI wrote a change and you need a fast second look.
- You have no security reviewer on the team.
How to use it
- Copy the prompt, then paste it into your AI chat (Claude, ChatGPT or Gemini).
- Under it, paste your details, one item for each line in What you need.
- Send it and read the reply against the checks at the end of the prompt.
- Answer anything marked MISSING and send it again, or ask for one part to be redone.