AI-assisted

Secure Code Reviewer

Paste a function or a file. Get the security flaws in it, the line each one is on, and the safer way to write it.

· Your code is reviewed and not stored. Keys and passwords are masked before the AI step.

What it checks

Two passes. Fixed rules scan every line for the patterns behind most real vulnerabilities: queries built from strings, commands built from input, unsafe deserialisation, output written to a page unescaped, hard-coded keys, weak hashing, switched-off certificate checks and debug settings. Each finding carries its CWE number and the line. Then the AI reads the code as a whole, explains the findings in context, writes the safer version, and may point out a logic or access-control problem that no pattern can see.

Code that calls an AI model

Applications built on language models have their own failure: treating model output as trusted. The reviewer flags model output passed to eval, a shell or a page, and user input joined straight into a prompt. Model output should be handled like any other input from outside.

Its limits

A pattern match is a lead, not a verdict. Some findings will be safe in context, and the tool sees only what you paste, not the rest of the application. Flaws in business logic and authorisation often need a person who knows what the code is meant to do. Use this for a fast first review, then test and have a colleague look.

How this tool works

  1. Rules run first. Fixed checks produce the findings, each with the evidence that triggered it, so you can verify every one.
  2. AI explains. An AI advisor reads the findings and writes the fix plan. That section is labelled, so you always know which part is which.
  3. Nothing is kept. Your input is used for the check and then discarded.

Questions and answers

Which languages does it support?

The rules cover Python, JavaScript and TypeScript, PHP, Java and Go most thoroughly. The AI review reads any mainstream language.

Is my code stored or used for training?

It is not stored by us. It is sent to the AI provider for the review with keys and passwords masked. Do not paste code you are not allowed to share.

What is a CWE number?

An entry in the Common Weakness Enumeration, a public catalogue of types of software flaw. CWE-89 is SQL injection, for example. It gives you a precise term to look up.

Can AI find every vulnerability?

No. It is good at known patterns and at explaining them. It misses flaws that depend on how the whole system fits together, and it can be wrong. Treat the result as a review to verify.

Why flag eval on AI output?

A model can be steered by whatever text reaches it, so its output may be chosen by an attacker. Running that output as code hands them your server.

Should I review AI-generated code this way?

Yes. Code written by an assistant has the same classes of flaw as code written by a person, and it should get the same review before it ships.

Keep going