No. On our test app, Lovable's security checks caught 7 of the 13 flaws in their scope. Their advice for the app's public invoice bucket left every PDF downloadable when we applied it. The best of the tools we ran, Anthropic's Claude Security plugin, caught 10 of 14. No tool caught one planted flaw in any run: a studio owner can move their own account to a paid plan from the browser, without paying.
That is one demo app, 14 flaws we planted and 3 more we found by review, three runs per tool, on December 2, 2026. The tools were Lovable's Automatic and Advanced checks, Anthropic's Claude Security plugin, Claude Code's /security-review, OpenAI's Codex Security CLI and Supabase's security advisor. Each ran as close as we could get to the way its own docs say to run it on an existing app. None got a hint about what to look for.
We sell code audits, so we have an interest in this result. We also use Claude Code and Codex in our own work, and have compared the two. And the scoring was done with Claude, while two of the tools under test are Anthropic's. So three things were fixed before the first run. The answer key and the scoring rules were committed. Each run would be scored twice, independently, against that key, with the tool names removed. And we agreed in writing to publish whatever came out, including a result where the tools catch nearly everything. Every raw output, score and fix test is in a public repository, so you can check any cell of the table below. They caught a lot: nine flaws were found by all three code-reading AI tools (the Claude Security plugin, /security-review and Codex Security) in at least two of three runs.
If you only want to know what to do: run the scanners, all of the free and cheap ones. Then have a person look at the rules a scanner can't judge, and test every fix before you trust it. The rest of this post is the evidence for that.
The short version
Each cell is the majority of the tool's three runs, with the number of runs that caught the item. The two Supabase columns are one run each: their output doesn't change between runs.
| Flaw | Lovable checks | Claude Security plugin | /security-review | Codex Security | Supabase advisor (CLI) | Supabase lint set 2026.11.0 |
|---|---|---|---|---|---|---|
| Secret key in the browser bundle | Caught, 2 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Can't see code | Can't see code |
| Invoices readable by anyone | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Missed | Missed |
| Invoice PDFs in a public bucket anyone can list and overwrite | Missed: named in 3 of 3, but its fix leaves the hole open | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 2 of 3. In the third, its fix leaves the hole open | Missed | Caught |
| Messages table with row level security off | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught | Caught |
| Anyone can join any studio, as its owner | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Missed | Missed |
| Users can make themselves an admin | Missed, 0 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Missed | Missed |
| Owners change their own plan without paying | Missed, 0 of 3 | Missed, 0 of 3 | Missed, 0 of 3 | Missed, 0 of 3 | Missed | Missed |
| A view that skips row level security | Missed, 0 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught | Caught |
| A server function that hands any invoice to anyone | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Can't see code | Can't see code |
| A database function that gives out a paid service's API key | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Caught, 3 of 3 | Missed | Partly |
| Weak sign-up settings | Not scored for Lovable | Partly, 0 of 3 | Partly, 0 of 3 | Missed, 0 of 3 | Can't see config | Can't see config |
| Clients can read other clients' profiles | Missed, 0 of 3 | Caught, 3 of 3 | Missed, 0 of 3 | Missed, 0 of 3 | Missed | Missed |
| A removed client keeps access | Caught, 3 of 3 | Missed, 0 of 3 | Missed, 0 of 3 | Missed, 0 of 3 | Missed | Missed |
| Rows can point at another studio's rows | Missed, 0 of 3 | Missed. Caught in 1 of 3; in the other 2 its fix leaves the hole open | Missed, 0 of 3 | Missed, 0 of 3 | Missed | Missed |
| Caught, of the flaws in scope | 7 of 13 | 10 of 14 | 9 of 14 | 9 of 14 | 2 of 11 | 3 of 11 |
| False alarms per run | 1, 1, 1 | 0, 0, 0 | 0, 0, 0 | 0, 0, 0 | 0 | 0 |
| Time per run | About 5 to 7 minutes | 24 to 32 minutes | 9 to 12 minutes | About 11 minutes | Seconds | Seconds |
| Cost per run | No credits | $34.03 to $36.13 | $6.43 to $8.81 | $1.86 to $3.65, by the CLI's estimate | Free | Free |
Scope of every result in this table: one demo app, three runs per tool, December 2, 2026, with the versions listed under How we tested. Lovable's column is the run on the app's own database. "Missed" covers two different things, and the table says which: the tool said nothing, or it named the flaw and its fix left the hole open when we applied it.
What each tool did well
Claude Security plugin. The best score, 10 of 14, with no false alarm in any run. It was the only tool to notice that one client of a studio can read the names and emails of that studio's other clients. It also reported two real problems outside our list of flaws, and both held when we tested them. Opening an invite link adds whoever opens it to the sender's studio, with no question asked. And the sign-in page's next parameter can send a visitor to another site. It is also the slowest and most expensive: 24 to 32 minutes and about $35 a scan for a 50-file app, by the tool's own cost figure.
Claude Code's /security-review. Nine of 14 in every run, with no false alarms, in about 10 minutes and for $6 to $9. That is one flaw fewer than the plugin at about a fifth of the cost. It rated nearly everything it kept High, and each finding came with a fix. As scored, every fix in its three scored runs closes its hole.
Codex Security. Nine of 14, in about 11 minutes. Its reports are the most thorough to read. They open with a threat model, then give each finding's data flow, how it was validated, what it couldn't confirm, and tests the fix should pass. Those stated tests mattered. Twice, a fix that was too weak as worded turned out to be right once its own test was applied.
Lovable's checks. Free, about five to seven minutes, and nothing to install. They caught the secret key in the browser, the open invoices table, the unprotected messages table, the join-as-owner rule, the open invoice function and the leaked API key. Almost all of those were rated Critical. They were also the only tool that noticed a removed client keeps access to their projects, in all three runs.
Supabase's advisor. It runs in seconds and costs nothing. It flagged the table with row level security off and the view that skips it, both at ERROR, and it raised no false alarm. It reads the database, not your code, so it was never going to see the secret key or the server function. It also skips one thing on purpose, which we come back to under what a scan can't judge.
What no scanner caught
The plan upgrade. In the app, a studio's owner can update their own workspace row, and the row holds the plan. So an owner can set plan to the paid tier from the browser. No tool reported it in any of its runs. One /security-review run considered it and dropped it, with the reason that the app has no billing. That is the kind of rule a scanner can't judge. The code does what the policy says, and whether an owner should be able to change that column is a business decision.
There is a twist. When we turned on the database in the first Lovable project, Lovable's assistant listed three problems in the app's code, unasked. One of them was "Studio owners can switch to a paid plan without paying." Lovable's Security view never reported it, in six check runs across two projects. Its Security view even sorts findings into a category for exactly this, "Payments and paid features", which Lovable's docs describe as prices customers can change and paid features they can use without paying. No finding landed in it in any run.
Cross-studio references. An invoice or a project can point at a client that belongs to another studio, because the write rule checks only the row's own studio. The Claude Security plugin named this in all three runs. In two of them, its fix covered invoices and not projects, and when we applied it a project for another studio's client still went through. The other tools said nothing.
Weak sign-up settings. The app accepts sign-ups with no email confirmation and a six-character password. No run reported that as a flaw. Seven runs named "email confirmation is off" in passing, as the way an attacker gets an account for the other attacks.
Things outside a security scan. The app has no tests, nobody has ever tried restoring it from a backup, and its dashboard runs one query per row every ten seconds. We planted those three too, and didn't score them, because no scanner claims to look for them. None mentioned them.
Lovable's checks, in detail
We ran Lovable's checks against the app's own database. That took a new Lovable project, the app's code pushed to its repository, and the app's six migrations applied in the Cloud SQL editor. Then Run checks, three times.

One thing to know before the results. Lovable's docs describe two groups of checks. The automatic checks look at database rules, public tools and packages, and run when you open the publish dialog. The advanced checks read your code, and run when you start them, or on a schedule on the Enterprise plan. So publishing an app does not run the checks that read its code. Run checks runs both, and that is what we scored.
What they missed matters more than the count suggests:
- Users can make themselves an admin. The profile update rule has no column limit, so any signed-in user can set their own
roletoadmin. The three code-reading tools caught it in every run. Lovable's checks never mentioned it. - The view that skips row level security. Supabase's own advisor flags this at ERROR. Lovable's checks didn't mention the view.
- The secret key in the browser, in one run of three. The first run had no finding about it. The second and third rated it Critical.
- The public bucket, named, with advice that doesn't close it. More on that below.
And in every run they rated a harmless table Critical. The app has a plans table, a public price list that anyone may read by design. Lovable grouped it with the invoices table under "Some access rules let everyone through", both at Critical. To be fair to it, the advice ends "or keep it only if the data is meant to be public". Lovable's docs define Critical as needing your attention immediately, Warning as something to review, and Info as a suggestion. But a founder reading the Security view sees a price list and a table of every customer's invoices at the same severity. The storage bucket that serves every invoice PDF to the internet sits below both, at Warning and Info.

The storage fix that leaves the PDFs public
The app keeps invoice PDFs in a public bucket, with rules that let anyone list the files and any signed-in user overwrite them. Lovable's finding names all three rules. Its advice for the two write rules is to bind writes to the file's owner. For the read rule, it says the rule is "Intended for public buckets (avatars, product images)", and to bind reads to the owner for per-user files. Nothing in the finding says to make the bucket private.
We applied all three rows' advice, alone, to a fresh copy of the vulnerable database, and ran the attack again:
| Check | Before | After Lovable's advice |
|---|---|---|
| Signed out, list a studio's invoice files | 60 files listed | 0 listed |
| Signed out, download one by its public URL | HTTP 200, the PDF | HTTP 200, the PDF |
| A client of another studio overwrites a PDF | HTTP 200, replaced | HTTP 400 |
| Staff replace a PDF in their own studio's folder | Works | HTTP 400 |
Listing and the overwrite close. The download stays open, because a public bucket serves files by URL whatever the rules say. And staff can no longer replace a file a colleague uploaded, because the rule now ties each file to one person in an app that files PDFs by studio. Under the rule we fixed before any run, a flaw whose fix leaves the hole open is a miss.
Most of Lovable's findings give no fix text to test. They offer a Fix button, which sends the finding to Lovable's assistant to change the app. We never clicked it, because the test needed the app unchanged. Those findings count as caught on detection alone. Lovable's own docs tell you to review and test the changes a fix makes.
What Lovable's own assistant did
One thing we didn't plan for. In the first project, turning on the database started Lovable's assistant. Before our "Not yet" reached it, it had read the app's migrations and created the tables itself, in a safer form than the app's own SQL. Invoices and messages were closed to strangers, the invoice files were private, and the dashboard view no longer skipped row level security. Nobody could make themselves an admin, or join a studio as owner or staff. It also changed 18 files in the repository.
That made a second test. On that copy, five of our planted flaws were gone. We ran the checks three times there too. Of the eight flaws still present, they caught four and missed four. One miss is worth naming. The assistant's new join rule stops people joining as owner or staff, but any signed-in user can still add themselves to any studio as a client. The checks said nothing about it. In one of those runs they also raised a Critical finding, "Staff can link themselves to client accounts", about access those staff already have.
So Lovable's assistant closed two holes that Lovable's checks never reported on the original app, the self-made admin and the view, and it named a third, the plan upgrade. Lovable's assistant noticed more than its checks reported.
Where a fix didn't hold
The scoring rule was strict on purpose: when a tool names a flaw and its fix would leave the hole open, that's a miss. Where reading the fix couldn't settle it, the fix was applied alone to a freshly reset copy of the vulnerable database, and that flaw's attack script was run. Then 17 checks showed whether the app's legitimate uses still worked. There were 44 such variants.
Most fixes held. These didn't, and you may meet them in your own reports:
| Fix, as the report worded it | Where we saw it | What happened when applied alone |
|---|---|---|
REVOKE UPDATE (role) ON public.profiles FROM authenticated, anon | One plugin report, as its first-listed option, and one /security-review report, as one of four options | Nothing. The user still set their role to admin. The table-level UPDATE grant still covers the column |
A WITH CHECK that reads the same table to pin the role | One plugin report | It blocked the attack by making every profile update fail, with "infinite recursion detected in policy" |
| Composite foreign keys to keep references inside one studio | All three plugin reports | Postgres refused it: "there is no unique constraint matching given keys for referenced table" |
| "Revoke public EXECUTE" on the function that returns the API key | One Codex Security report | Read as the PUBLIC role alone, nothing changed: the two API roles hold their own grants. The report's own test, that untrusted roles can't call it, gave the fix that works |
| Make the bucket private and issue signed links after a server check | Two Codex Security reports | The public URL stopped working. A signed-out visitor holding the app's public key still listed all 60 files and downloaded them through the API, because the open read rule was never dropped |
Two things kept this from being worse. Both tools that offered the column-level REVOKE also offered options that work, and the plugin's report called the working ones "Better". And Codex Security states a test with each fix. In one of its two storage reports, that test is "A visitor cannot read a known invoice PDF path". It fails until the open read rule is gone, so following it gets you to a fix that closes the hole. In the other, the stated tests pass while the files are still readable.
The lesson is the same for all four vendors. A finding tells you where to look. Whether the fix works is something you find out by applying it somewhere safe and trying the attack again. If you'd like a way to keep those checks, our post on testing Supabase RLS policies shows one.
How much the runs disagreed
We ran each AI tool three times because they don't give the same answer twice.
- What they caught was steadier than we expected. Across the four AI tools, the runs disagreed on 5 of 55 scored cells. The secret key in the browser was the one that would have hurt: Lovable's first run didn't report it.
- Severity moved more than detection. The first Codex Security run rated nine findings medium and one low. The third run rated a near-identical list one critical, eight high and one medium. The plugin rated the open invoice function MEDIUM in its first run and HIGH in the next two.
- The count of findings barely moved. 22, 20 and 20 for the plugin. 9, 10 and 10 for
/security-review. 10 each for Codex Security. 9, 9 and 10 for Lovable.
If you act on severity, run the tool more than once, or read every finding whatever its label.
Cost, time and setup
| What it took to run on an existing app | Time per run | Cost per run | |
|---|---|---|---|
| Lovable checks | A Lovable project. Our app wasn't built in Lovable, so we pushed it into a project Lovable created and applied its migrations in the SQL editor | About 5 to 7 minutes | No credits. The two projects' creation prompts cost 0.40 credits each |
| Claude Security plugin | Claude Code, the plugin (in beta), one command | 24 to 32 minutes | $34.03, $35.85, $36.13 |
/security-review | Claude Code, one command, on a branch that holds the changes | 9 to 12 minutes | $6.43, $8.81, $7.21 |
| Codex Security CLI | A ChatGPT plan with Codex Security, which OpenAI's help center lists as a research preview for Enterprise, Edu, Business and Pro. A sign-in for the CLI, one command. See below | About 11 minutes | $1.86 to $3.65, by the CLI's estimate |
| Supabase advisor | The Supabase CLI (supabase db advisors) and a running database, or the Advisors pages in the dashboard | Seconds | Free |
The Claude figures are the tool's own cost figure for each run. Anthropic's docs warn that a plugin scan can use a significant number of tokens, and that the amount grows with the size of the repository.
Two setup notes for anyone repeating this:
- Codex Security 0.11.0, on default settings, did not finish a scan of this app. Four attempts stopped while it was building its threat model. The first was refused because the session wasn't signed in with a hardware key. The next three ended with "This content was flagged for possible cybersecurity risk". The three scored runs added
--model gpt-6-sol --cyber-access-program daybreak_blue, the two flags OpenAI's CLI docs give for Daybreak Blue access. Daybreak Blue is a trusted access tier for defensive security work. It needs OpenAI's approval and a hardware security key, and our account has it. Without it, your result on an app this full of holes may be no result. Version 0.12.1, released the day this post went live, has the same default model. - The plugin's helpers read outside the project. In one plugin run, two of its verifying sub-agents searched the whole disk for a library's source. They read library files in other projects on the same machine. We threw that run away and repeated it inside a sandbox that blocks reads outside the scan's own folder, then ran every later Claude scan the same way. Inside the sandbox it searched again and found nothing of ours. Anthropic's docs describe a sandboxed way to run the plugin from the shell, on Linux only. We ran on a Mac, in a session, where that isn't offered. If you run it on a machine that holds other clients' code, fence it first.
One more finding about /security-review. Claude Code's docs say it covers only the changes on your current branch, and point to the plugin for a whole repository. Anthropic's help center article says it will analyze your codebase. We tested which by running it once on a copy where the app was already on the main branch, so the branch had nothing new. It said the pending diff was empty, then reviewed the commit that added the app, and scored the same 9 of 14. That was one run, on a repository whose only real commit added the whole app. Don't count on it for a repository with a long history.
What a scan can't judge
Put the misses side by side and a pattern shows.
The tools were strong where the mistake is visible in one place. A table with row level security off. A policy that says USING (true). A secret in a variable the browser reads. A function with no caller check. Nine of our 14 flaws were of that kind, and the three code-reading tools caught all nine.
They were weak where the code is consistent and the rule is wrong:
- Who should be allowed to do this? An owner changing their own plan. A member reading other members' profiles. Each policy does exactly what it says.
- What happens later? A client is removed, and the access that hangs off another table stays.
- Does this row belong with that row? An invoice in one studio pointing at a client in another.
- Is this public on purpose? The price list is. The invoices aren't. Lovable's checks rated both Critical. Supabase's advisor flagged neither, and that is by design. The description of its always-true policy lint says read policies with
USING (true)are left out, because public read access is often deliberate. A linter has to pick one answer for every table. The three code-reading tools told the two apart.
Those are the questions we spend most of an audit on. Answering them takes knowing what the product is supposed to do, which is not in the repository.
How we tested
The app. Acme is the demo app behind our sample code audit report: a client portal for small studios, built with Vite and React on Supabase, 50 files. It has 14 flaws we planted, 3 more that our own review found later, and 4 decoys. A decoy looks wrong and isn't, such as the public price list or the publishable key in the client. Eleven of the 14 planted flaws and all 3 review-found ones are scored. The other three planted ones are the no-tests, no-restore and dashboard items above.
Before any run. The answer key, the scoring rules, the questions this post would answer and the conditions under which we would not publish were committed first. The tools saw a frozen copy of the app in a fresh repository, with nothing that names us, the audit or the flaws. We checked each run's output for anything it could only have learned from our own files.
The runs. Three per AI tool, each in a fresh folder, on default settings unless noted:
| Tool | Version and settings | Runs |
|---|---|---|
| Lovable's Automatic checks and Advanced checks | As served on December 2, 2026, started with Run checks | 3 on the app's own database, 3 on the copy Lovable's assistant changed |
| Claude Security plugin | 0.13.1, Claude Code 2.1.325, whole repository, medium effort (the default) | 3, plus one discarded |
Claude Code /security-review | Claude Code 2.1.325, on a branch that adds the whole app | 3, plus 1 with the app already on main |
| Codex Security CLI | 0.11.0, with the Daybreak Blue model and access flags. Default settings were stopped 4 times | 3 |
| Supabase security advisor | supabase db advisors, CLI 3.2.0, local database | 1, with an identical repeat |
| Supabase's lint set | splinter 2026.11.0, each lint's SQL run by us against the local database. Not the hosted product | 1 |
Scoring. The best score went to Anthropic's Claude Security plugin, Anthropic's /security-review tied Codex Security for second, and the scoring was done by Claude. So here is exactly how it worked.
- Each run's output went into a packet with the tool, vendor and model names removed, under a random label.
- Two sets of Claude agents scored all 18 packets against the key, each without seeing the other's work. They ran on Claude Fable 5.2 in Claude Code. The Claude tools under test ran on a different model, Claude Opus 5.5.
- The two scorings agreed on 304 of 306 cells. A separate Claude Code session, which saw the packets by label only, settled every difference and every question about how a rule applied. That happened before the labels were matched to tools. That session ran on Claude Opus 5.5, the same model as the Claude tools under test.
- Every disputed fix was applied to a fresh database and settled by running the attack.
- Every packet, both scoring sheets, each ruling and each changed cell is in the public repository. You can re-score any cell yourself.
Two limits on the blinding. The six Lovable packets weren't blind. The copy Lovable's assistant changed names the platform in its own files, and the answer key says which tool has sign-up settings out of scope. And the session that settled differences could tell the tool type for the Lovable packets and for Supabase's lint set, whose lint names give it away.
"Caught" means the tool named the flaw's mechanism and pointed at its location, at any severity. A decoy reported at the tool's serious level is a false alarm.
Fixes. Each caught flaw's fix was checked against the code. Where that couldn't settle it, the fix was applied alone to a fresh vulnerable database on a local Supabase stack, and that flaw's attack script decided.
What changed along the way, all logged with times: the Codex flags above. The discarded plugin run and the sandbox. Two runs that started some hours earlier than planned. And one gap of ours: Lovable's grouped findings show one row's advice until you click another row, and we first saved only the first. We read the other rows later from the same results page, re-scored that finding with the full text, and the result above uses it.
The evidence. The repository holds the app as the scanners read it, the protocol and the answer key, and each tool's own output for every run. It also holds the packets, both scoring sheets, the rulings, all 44 fix-test variants with their SQL and output, and the attack scripts to run them again. Local paths and account details were removed for publication. The app in it is vulnerable on purpose: run it locally, and never deploy it.
What we didn't test
- More than one app. One small app, 50 files, on one stack: Vite, React and Supabase. A different app would give different numbers.
- Flaws we didn't think of. We built the app and planted the flaws, so the list reflects what we look for.
- An app built in Lovable. Lovable checked our code after we pushed it into a project Lovable created. Lovable didn't build this app, and its build of it was marked unsuccessful.
- A deployed app. The code tools read a local copy. Nothing hosted was attacked, and no tool that tests a running app was included.
- Lovable's Fix button, its Aikido penetration test and its Wiz connector.
- Anthropic's hosted Claude Security and its GitHub Action. OpenAI's cloud Codex Security. Each needs a plan or a connected repository we didn't use.
- Codex Security without the Daybreak Blue flags, beyond the four stopped attempts.
- Fixes on a hosted project. Every fix test ran on a local stack. Two results rest on its default grants to the API roles.
- Fixes that are prose. Where a tool described a fix in words, the SQL is ours: the narrowest statement that matches the words.
- Next month's versions. These tools change monthly. Lovable's changelog shows a redesigned Security view, with the checks under their current names, on November 23, nine days before our runs.
- A blind audit of our own. We wrote the answer key, so our own review of this app was never blind. Our first pass at it, in November, missed the 3 review-found flaws.
So, is a scan enough?
Lovable's docs answer the title themselves: the checks find common problems, but "they can't guarantee that your app is secure or replace a full security review". Our numbers agree. Anthropic's help article says much the same of its own reviews: they should complement manual code review, not replace it.
Run the scanners anyway. On this app, one run of each took about an hour and under $50 in run costs. Each of the three code-reading tools found the same nine of the 14 scored flaws, including every one a stranger with no account could use. If your app has never been scanned, start there. Run more than one tool, because Lovable's checks and the code tools each caught something the other missed.
Then don't stop there. The flaw no tool caught lets a studio owner upgrade for free. The ones only a single tool caught are about who may see what: one client reading another's name and email, and a removed client keeping access. And a caught flaw is only closed once someone has applied the fix and tried the attack again.
That second part is what we do. A Lovable security audit or a code audit is a two-week review at a fixed price, from $5,000, with every risk ranked. It includes a retest of your fixes for the high-severity findings within 30 days. If you'd rather start on your own, our security checklist for Lovable apps has 13 checks you can run today. You can also read a sample report to see what a review adds.
Frequently asked questions
Is Lovable's security scan enough?
Not on its own, in our test. On one demo app with 14 planted flaws (three runs, 2 Dec 2026), Lovable's checks caught 7 of the 13 in their scope. They missed a rule that lets any user make themselves an admin, and a database view that skips row level security. They named the public invoice bucket at Warning, and their advice for it left every PDF downloadable when we applied it. In every run they also rated a public price list Critical. They were free, took about five to seven minutes, and were the only tool to notice that a removed client keeps access. Lovable's own docs say the checks can't guarantee an app is secure or replace a full security review.
Does Claude Code's /security-review scan the whole codebase?
Claude Code's docs say it covers only the changes on your current branch. In our test (Claude Code 2.1.325, 2 Dec 2026) we put the whole app on a branch, so the branch's changes were the whole app. It caught 9 of 14 flaws in each of three runs. We also ran it on a copy where the app was already on the main branch, so the branch had no changes. It said the pending diff was empty, reviewed the commit that added the app anyway, and scored the same. For a whole repository, Anthropic points to its Claude Security plugin.
How much does the Claude Security plugin cost to run?
On our 50-file app, three scans at the default medium effort took 24 to 32 minutes each (plugin 0.13.1, Claude Code 2.1.325, 2 Dec 2026). The tool's own cost figure was $34.03, $35.85 and $36.13. /security-review on the same app took 9 to 12 minutes, at $6.43 to $8.81 by the same figure. The plugin caught 10 of 14 flaws and /security-review 9.
Which flaws did no AI scanner catch?
One planted flaw was caught by no tool in any run: a studio owner can change their own subscription plan from the browser, without paying. A second, found by review, no tool caught by the majority of its runs: an invoice or project can point at another studio's client. Nothing reported weak sign-up settings as a flaw either. Seven runs named "email confirmation is off" only as the way an attacker gets an account. (One demo app, three runs per tool, 2 Dec 2026.)
Does Supabase's Security Advisor find broken RLS policies?
It finds missing row level security, and it flags views that skip it. It does not judge what a policy allows. On our demo app (2 Dec 2026), the local advisor in Supabase CLI 3.2.0 caught 2 of the 11 flaws in its scope. They were a table with RLS off and a view without security_invoker. Supabase's current lint set, which we ran ourselves, added the public bucket's listing rule. Neither flagged the policy that lets anyone read every invoice. Supabase's lint for always-true policies leaves read policies out on purpose, because public read access is often deliberate.
Do AI security scanners give fixes you can trust?
Mostly, but check each one. Where reading a fix couldn't settle whether it closed the hole, we applied it alone to a fresh copy of the vulnerable database and ran the attack again. That made 44 variants in all (local Supabase stack, 2 Dec 2026). A column-level REVOKE offered in two reports did nothing, because the table-level grant still covered the column. A composite foreign key offered in three reports stopped with a Postgres error as written. One storage fix left the files readable by anyone holding the app's public key.

