Security review · v0
Security review for v0 apps on Vercel
Rare Agentics is a UK software and AI agent engineering firm that reviews apps built with v0. We check first that every server action and route handler confirms who is calling and what they own, and that no secret carries the NEXT_PUBLIC prefix. Every finding is reproduced and ranked in a written report. A review takes 1 to 3 weeks.
- Fixed price in writingYou approve the plan and the price before any paid work starts.
- You own the code from the first commitIt lives in your repositories and your cloud accounts.
- 30 day launch warrantyDefects against the agreed acceptance criteria are fixed at no cost.
How v0 builds
What does v0 set up for you?
v0 is made by Vercel. It generates code with Next.js, React, Tailwind and shadcn/ui, and deploys it to Vercel in one click. Environment variables are stored with the Vercel project, and server-side code runs as Functions.
Failure modes
Where do apps built with v0 usually go wrong?
Server actions with no check inside
The Next.js documentation says a server action is reachable by a direct POST request and not only through your pages, and that a page-level sign-in check does not extend to the actions defined within it. An action that deletes a record without checking the caller can be called by anyone who finds it.
Route handlers that trust the identifier
A handler that loads a record by the identifier in the address and returns it has checked nothing about ownership. Changing the identifier returns someone else’s record.
Secrets with the NEXT_PUBLIC prefix
Next.js inlines any variable that starts with NEXT_PUBLIC_ into the JavaScript sent to the browser. Vercel has written that language models misuse this by placing database credentials and API keys in public variables.
Authorisation that lives only in middleware
A single check in middleware looks tidy and leaves every action and handler unprotected if it is bypassed. CVE-2025-29927 allowed exactly that bypass in Next.js versions before 12.3.5, 13.5.9, 14.2.25 and 15.2.3.
Whole records sent to the browser
Passing a full database row to a client component, or returning it from a server action, sends every field to the browser, including the ones the page never shows. The Next.js documentation recommends returning only the fields the page needs.
No limit on expensive routes
Vercel offers rate limiting through its firewall, but a rule has to be created for it. A sign-up form, an email sender or an AI route with no rule can be called as fast as a script can run, at your cost.
Our checks
What do we check in a v0 app?
- 01
Every server action, called directly
We list each action in the build and call it outside the interface as a visitor and as two test users, checking authentication, ownership and input validation in each.
- 02
Every route handler and dynamic segment
We test each handler and each bracketed folder with identifiers that belong to another test user and with malformed input.
- 03
Environment variables in Vercel and in the bundle
We read the list of variables in the Vercel project, flag any secret with the public prefix and search the built JavaScript for key material.
- 04
Next.js and React versions
We check the versions the app ships against published advisories, including the middleware bypass in CVE-2025-29927 and the React Server Components flaw in CVE-2025-55182.
- 05
What crosses from server to client
We read the props of client components and the return values of actions for fields that should stay on the server.
- 06
The database behind the app
We review how the app reaches its database, whether access goes through one server-only layer and, where it uses Supabase, the row level security on every table.
- 07
Deployment protection and preview links
We check which deployments are protected and who holds shareable links. Vercel’s Standard Protection covers every deployment except production domains.
- 08
Firewall rules and rate limits
We check which firewall rules exist and whether sign-in, forms and AI routes have a limit.
Check it yourself
What can you check in your v0 app today?
- 01Read your environment variable names in VercelOpen the project settings and read every name that starts with NEXT_PUBLIC_. Each one is visible to every visitor, so none should hold a secret key, a database address or a token.
- 02Rotate anything that was publicIf a secret did carry the public prefix, create a fresh key with the provider first, then rename the variable and redeploy.
- 03Check your Next.js versionOpen package.json and confirm the Next.js version is a current release, later than the fixed versions for CVE-2025-29927.
- 04Ask v0 to run its security checkOn a paid plan, ask v0 in chat to run DeepSec and read the confirmed findings. It reviews the riskiest files and not every file in a larger project.
- 05Test with two accounts of your ownCreate two test accounts in your app. Sign in as one, copy the address of a record, then sign in as the other and open it.
- 06Add a rate limit rule in the Vercel firewallOpen Firewall in your project, create a rule for your most expensive route with the Rate Limit action and start it in Log mode to watch the effect.
Run these on your own app only. The full pre-launch security checklist covers every area, for any tool.
Questions
Questions about reviewing a v0 app.
Do we have to rebuild our v0 app?
Rarely. Most v0 apps need targeted fixes such as a check added inside each action, variables renamed and rotated, and a rate limit rule. If a rebuild is the honest answer we will say so in the report and explain why.
Vercel says v0 blocks insecure deployments. Is that not enough?
It helps, and it catches exposed secrets in particular. It cannot know your business rules, such as which user owns which record. The Next.js documentation tells developers to verify authentication and authorisation inside every server action, and that is what we test by hand.
Is a secret safe if it only appears in a server action?
A variable without the public prefix stays on the server. The risk moves to what the action returns and who can call it, since Next.js treats each action as reachable by direct request.
Our preview links are protected. Is production protected too?
Not by that setting. Vercel’s Standard Protection covers all deployments except production domains, which is the intended behaviour for a public site. Your own sign-in and authorisation checks are what protect production data.
Is the review a penetration test?
No. It is an engineering-led review of your code, configuration and hosting set-up, with every finding reproduced. It is not a certification. If a customer or investor needs a certified penetration test we will say so and work alongside the firm you choose.
The review, and what follows it
Sources
- Security, Vercel (v0 documentation)
- DeepSec, Vercel (v0 documentation)
- What is v0?, Vercel (v0 documentation)
- v0 vibe coding, securely, Vercel
- How to think about data security in Next.js, Vercel (Next.js documentation)
- Row Level Security, Supabase
- How to use environment variables in Next.js, Vercel (Next.js documentation)
- Deployment Protection on Vercel, Vercel
- WAF Rate Limiting, Vercel
- CVE-2025-29927, CVE Program (GitHub)
- CVE-2025-55182, CVE Program (Meta)
- A01 Broken Access Control, OWASP Top 10 2025, OWASP Foundation
About Rare Agentics
- What we do
- We are a UK software and AI agent engineering firm. We build bespoke software, custom AI agents and operating platforms, and run security reviews of apps built with AI coding tools.
- Who for
- Founders and growing businesses across the United Kingdom, in any sector, from a London base.
- How we price
- Scoping is free, every piece of paid work has a fixed price in writing before it starts, and a proof sprint starts from £3,000.
- How we control agents
- Senior engineers lead every build and AI agents do the heavy lifting. Agents cannot reach production, and a person signs off every release.
- Where code lives
- Your code lives in your repositories and your data in your cloud accounts from the first commit.
Send a brief
Send us your v0 app. We will tell you what we would check first.
Send a brief. It does not need to be technical. Within two working days you get a first view, and within a week a written plan, a fixed price and the risks.