AI Code Risk Scanner
Static pre-scan
Use this if an AI wrote some of your code and you want an AI code risk scanner to spot the risky parts before you ship it.
Paste a file and get the deterministic pre-scan the installed audit runs FIRST: the danger patterns (eval, HTML sinks, injection shapes, disabled TLS, embedded keys) and the structural ones (a mutating route with no auth check, a test that asserts source text instead of behavior, a guard that is never called).
You can link to this tool with the box already filled in, and it waits for you to press the button. Example:
https://vibecoderplayground.ai/free-vibe-coding-tools/ai-code-risk-scanner.html?source=app.get('%2Frun'%2C%20(req%2C%20res)%20%3D%3E%20res.send(eval(req.query.code)))%3B
What it reads
These are lines to LOOK AT, not verdicts. A pattern match is a question; deciding whether it is real is the part a scan cannot do.
- High-signal danger patterns (eval, HTML sinks, injection shapes, TLS off, embedded credentials)
- A state-changing route whose handler calls no authorization check, while the app authorizes elsewhere
- A test that asserts the TEXT of a file instead of running anything
- A validation or authorization guard that nothing ever calls
What it does not look at
- whether any hit is a real defect. A match can be a comment, an escaped string, a placeholder, or already-safe code
- anything in the files you did not paste, which is where most real findings live
- the rest of the audit rubric. Accessibility, privacy, error handling, licensing, cost, agent safety and the rest are not pattern-matchable
- runtime behavior: nothing here executes your code
- defects with no literal pattern, which is the majority of them
Email me this report
Optional. The result above is yours either way.
Your code stays in your browser either way. This box sends only when you press its button, and then it sends your email address, a summary of this result (each finding's name and one-line explanation, the file name and line number, and the counts) and the address of this page. It does not send your code or the lines it matched. What we keep.
A starting point, not a clean bill of health
This scan looks for known risky patterns in the code you paste. Finding nothing does not mean the code has no problems: it means none of these patterns showed up. It is the first step the full vibe code audit runs before it reads your app as a whole.
Checking by hand too? The security checklist for AI-generated code walks through what to look at.
Run Next
- SaaS Maturity Check: see what stage your product is really at, and what the next stage asks of you.
- Free Accessibility Checker: check a page your app serves for screen reader and keyboard barriers.
- Security checklist for AI-generated code: the checks a scan cannot make, written out so you can work through them by hand.
- Vibe code audit: what the full audit checks. This scan is its first pass.
The full audits these checks come from run in Vibe Coder Playground, on your own project: see the Playground download.
Questions about the AI code risk scanner
- Is this AI code risk scanner free?
- Yes. There is no account and no sign-up, and nothing here is charged for. The scanner runs in your own browser and makes no AI call.
- Is my code uploaded?
- No. It runs in your own browser, so the code you paste never reaches us and nothing is kept.
- Does a clean result mean my code is safe?
- No. It looks for known patterns, and most real defects have no literal pattern to find. It also reads only the files you paste and never runs your code.
- Is every line it flags a real bug?
- Not always. A flagged line is one to look at. It can be a comment, an escaped string, a placeholder or code that is already safe, and deciding which is the part a scan cannot do.
- Can I scan more than one file?
- Yes. Put a line such as ===== FILE: src/server.js ===== before each file. The whole paste can be up to 65,536 characters.