
Do I need insurance for an app I built with AI (vibe coding)?
Yes, once real users or paying customers depend on it. The law and your customers treat an app built with Cursor, Lovable, Bolt, Replit, v0 or Claude Code exactly like any other app, and you are the one responsible for it. Technology errors and omissions (E&O) insurance pays when a customer says your app lost them money. Cyber insurance pays when user data leaks. Neither is automatic, so you check the wording, and the underwriter will want to know how the code was reviewed.
Tell us the situation.
One licensed human replies the same business day — not five agents, not an auto-responder. If the policy you have is already the right one, we will tell you.
We use this to quote and service your insurance, and we do not sell it or pass it to lead networks. Privacy policy.
Send us what you have. We’ll tell you if it’s right.
Your current policy paperwork, a renewal notice, or nothing at all. A licensed agent reads it and replies the same business day.
What “vibe-coded” changes about liability, and what it does not
Vibe coding means describing what you want to an AI tool, such as Cursor, Lovable, Bolt, Replit, v0 or Claude Code, and shipping what it writes, often without reading all of it. It is a way of building, not a legal category. A customer who loses money because your app failed does not ask how it was written. They ask you.
The tools say the same thing in their own terms. Replit’s terms warn that code its AI generates or suggests may be erroneous or incomplete, and Lovable’s supplier position on its published vulnerability record is that each customer is responsible for protecting the data in their own application. Read that plainly: the tool is a contractor you cannot hold to the result, and the liability sits with you.
What does change is the odds and the questions. The documented failures below are almost all the same few mistakes, repeated, and an insurer who knows that will ask whether anyone with security experience looked at the app before it held other people’s data.
The failures that have actually been documented
The most common one is an unlocked database. Supabase, the database behind many AI-built apps, gives the browser a public key and relies on row level security rules to decide who can read which rows. When those rules are missing, the public key opens everything. Wiz found exactly this at Moltbook in early 2026, with the founder saying he wrote none of the code: about 1.5 million authentication tokens, about 35,000 email addresses and private messages, some containing other companies’ API keys. A separate CVE record describes the same class of problem across sites generated by Lovable, through April 2025, and the supplier disputes who is responsible for it.
The second is a platform door left open. In July 2025 Wiz showed that Base44, owned by Wix, let an outsider create a verified account on a private app knowing only its app ID. It was fixed within a day and the vendor found no customer impact, but an app built on a shared platform inherits the platform’s mistakes, and the app’s owner still has to tell the users if their data is touched.
The third is the agent that acts. In July 2025 an investor testing Replit’s agent reported it deleted his production database during a code freeze. By his own account the data was recovered and the app was an experiment, so it is not a loss story. It is a warning that an AI agent with write access to production can do damage nobody approved, which is a business-interruption and data-loss question, not only a coding one.
Underneath all three is the wider pattern. Veracode’s 2025 testing found models picking the insecure way to write code 45 percent of the time when both ways were available, and that it did not improve as models got better at writing working code. None of this means AI-built apps cannot be run safely. It means the review step you skip is the step that decides the claim.
Which policy answers which failure
Technology E&O, short for errors and omissions, is the policy for a customer who says your app did not work and it cost them money: a bug that corrupts their data, an outage in the middle of their business day, a feature that did what the screen said not to. It pays to defend you and to settle covered claims. Most apps selling to businesses need it because the customer contract asks for it.
Cyber liability is the policy for the breach. First-party cyber pays your own costs of responding, such as forensic investigation, notifying users, credit monitoring and restoring systems. Third-party cyber pays when users or customers sue or regulators ask questions after their data leaked. The two are often sold together and the split matters, so the guide on first-party and third-party cyber explains it.
Media and intellectual property coverage answers a claim that your app, or what it showed, copied someone else’s material. Generative tools can produce code, text and images that resemble existing work, and not every policy treats that the same way.
General liability is the policy people already own, and it is the least likely to help. It is written for accidental injury and property damage, not for lost data or failed software, and a newer family of endorsements lets insurers exclude generative AI outright. That is its own page, and this one links to it rather than repeating it.
Contingent bodily injury sits on top of all of these if your app tells people what to do with their bodies, their cars or their equipment. It is the grant that lets E&O answer an injury caused by your app’s output. A fitness, diet or health app needs it; a scheduling tool usually does not.
Ownership, platform rules and what you can promise
Who owns the code is less settled than people assume. The U.S. Copyright Office’s January 2025 report said that prompts alone do not make you the author of what the model writes, though your own edits, selection and arrangement can be protected. For a founder this matters in two places: a buyer who wants to acquire your app will ask what you actually own, and a customer contract that has you warrant ownership or non-infringement is making you promise something you may not be able to prove.
Platform rules matter next. Apple requires a privacy policy, plain disclosure of what you collect and permission before sharing personal data with outside services, including third-party AI. If your app sends a user’s information to an AI model and your policy does not say so, you have made a promise you are breaking, and that is the kind of claim a regulator or a class action starts from.
Breach notice is the part that surprises people. Every state has a law requiring notice when personal information is exposed, and the duty falls on the business that holds the data, not the tool that built it. Notice, forensics and credit monitoring are real costs even when nobody sues, which is exactly what first-party cyber is for.
An example from our own desk
Our founder, Kevin Kelsey, builds apps himself. TrainRec, at www.trainrec.app, is a workout and food app that runs training plans made with your own AI assistant, guides each workout one set at a time, logs food from a description and syncs with Apple Health. It carries the exposures on this page, and its footer says it is not medical advice. We mention it so you know the person writing this has had to answer the same questions for his own product, not to suggest any particular coverage fits yours.
Which failure goes to which policy
Typical results. Your policy wording decides the real answer, and an exclusion can change any row.
A bug corrupts a customer’s data or an outage halts their business
- Technology E&O
- Yes, this is the core of E&O
- Cyber
- Only if a security event caused it
- Other
- General liability: usually no, nothing physical was damaged
An open database leaks your users’ emails and tokens
- Technology E&O
- Customers who sue you for the failure may fall here
- Cyber
- Yes: response costs first-party, lawsuits and regulators third-party
- Other
- Check whether the policy asks about security controls
Your AI agent deletes or overwrites production data
- Technology E&O
- Maybe, if a customer loses money
- Cyber
- Maybe, if the policy treats it as a system failure
- Other
- Ask how “system failure” and data restoration are defined
A user is hurt following what your app told them
- Technology E&O
- Excluded unless contingent bodily injury is added
- Cyber
- No
- Other
- See the bodily injury guide
A client says your code copies their code or content
- Technology E&O
- Possibly, depending on the IP wording
- Cyber
- No
- Other
- Media and IP coverage may be the better fit
A customer contract asks you to indemnify them for your product
- Technology E&O
- Only for what the policy covers
- Cyber
- Only for data events
- Other
- Read the contract’s insurance exhibit first
Many E&O and cyber policies now carry AI wording of their own. Ask whether any exclusion or endorsement mentions artificial intelligence or code written by a model.
The detail
Veracode tested more than 100 language models on 80 coding tasks and reported that the models chose the insecure way of writing the code 45 percent of the time.
Veracode, 2025 GenAI Code Security Report press release (July 30, 2025)
Wiz researchers reported in February 2026 that Moltbook, whose founder said he did not write a single line of its code, exposed its production database because a Supabase key was left in public JavaScript with no row level security configured; the exposed data included about 1.5 million API authentication tokens and about 35,000 email addresses. Moltbook secured it within hours.
CVE-2025-48757 describes an insufficient database row level security policy in Lovable, through April 15, 2025, that allows unauthenticated attackers to read or write arbitrary database tables of generated sites. The record notes the supplier disputes it, because each customer accepts responsibility for protecting the data of their application.
Wiz found that two unauthenticated sign-up and verification endpoints on Base44, a vibe coding platform, let anyone create a verified account on a private app using only its app ID, bypassing even single sign-on. Wiz reported it on July 9, 2025, the fix came within 24 hours, and the vendor said it found no evidence of customer impact.
Investor Jason Lemkin reported in July 2025 that Replit’s AI agent deleted a production database during a code freeze he had told it to respect; the account rests on his posts and screenshots, and Replit’s first statement that a rollback was impossible was later contradicted by his own report that it worked.
Replit’s terms state: “Code generated or suggested by our AI systems may be erroneous or incomplete.” Responsibility for what is shipped is the builder’s, not the tool’s.
Replit Terms of Service, Section 6(a) (page dated August 3, 2026)
The U.S. Copyright Office concluded in January 2025 that prompting an AI system does not alone provide sufficient human control to make the user the author of the output, while original human expression that modifies or arranges the output can be protected.
Apple’s App Store rules require every app to link a privacy policy that says what data it collects and how long it keeps it, and to disclose, and get permission for, any sharing of personal data with third parties, including third-party AI.
All 50 states, the District of Columbia and the U.S. territories have laws requiring notice to people when their personal information is exposed.
National Conference of State Legislatures, security breach notification laws
What this means for you
- Treat the first real user as the trigger. Before real users, a founder carries mostly their own time. Once the app holds other people’s email, payments, health information or business data, or a customer signs a contract with an insurance clause, buy the coverage before you launch, not after the first incident.
- Review what the AI wrote before it touches real data. Turn on row level security and test that a logged-out visitor cannot read anything, keep secret keys on the server and out of the browser, use separate development and production databases, and do not give an agent write access to production. These are the failures that are documented, and they are the ones an underwriter will ask about.
- Answer the application as true on the day you sign. A policy can ask you to confirm that specific controls are in place. If you say they are and they are not, a claim can be disputed. Say what you really do, or fix it first.
- Ask for the AI wording in writing. Ask whether the policy excludes or limits claims arising from artificial intelligence, whether code a model wrote is treated differently from code you wrote, and whether defense costs count against the limit.
- Match the policy to the customer contract. An enterprise buyer will ask for a minimum E&O or cyber limit and for you to indemnify them. Check that your policy’s coverage matches the promise before you sign, not after.
- Say what you collect, and say it before the app does. Keep the privacy policy true: what you store, which AI services receive user data, and how long you keep it. The store rules and the state breach laws both start there.
Related questions
- Am I liable if the AI wrote the bug?
Yes. The customer’s contract is with you, not with the tool, and the tools say so in their own terms: Replit states that code its AI generates may be erroneous or incomplete. You can try to recover from a tool provider, but their terms rarely promise much, so the realistic protection is your own insurance.
- What is the difference between tech E&O and cyber for an app?
Tech E&O pays when a customer says your app failed and it cost them money. Cyber pays when data is stolen or exposed, covering your response costs and lawsuits that follow. A bug is E&O; a leak is cyber. Many apps need both, and they are often written together.
- Tech E&O against cyber
- Will an insurer refuse to cover an app because AI wrote the code?
We have not found a published rule that says so, and we will not guess. What is documented is that new generative AI exclusions exist on some policies, and that underwriters ask how security is handled. A founder who can show the app was reviewed, with access rules tested and keys kept off the browser, is in a better position than one who cannot.
- The generative AI exclusion on general liability
- Does my general liability policy cover a data leak?
Generally no. General liability is built for accidental injury and property damage, and standard forms do not treat exposed data or failed software as either. Data and software failures are what cyber and technology E&O are for.
- First-party and third-party cyber, explained
- Who owns the code an AI wrote for me?
It is not settled. The U.S. Copyright Office said in January 2025 that prompts alone do not make you the author of what the model produces, though your own edits and arrangement can be protected. That is a legal question for an attorney, but it affects any contract where you promise to own or not infringe what you deliver.
- What if my app gives health, fitness or financial advice?
Then injury or loss can follow from what the app tells people, which standard E&O often excludes. For a health or fitness app the coverage to ask about is contingent bodily injury, and the separate page on that explains how it works.
- Bodily injury against contingent bodily injury
- My client contract asks for tech E&O. Can I just add it later?
Not safely. Most of these contracts ask for proof before work starts, and coverage written on a claims-made basis only responds to claims made while the policy is in place. Read the contract’s insurance clause before you sign, then compare it with the policy you plan to buy.
- Tech contract insurance requirements, clause by clause
- Do you build vibe-coded apps yourselves?
Our founder does. TrainRec, at www.trainrec.app, is his own workout and food app, and it carries the same exposures this page describes. It is mentioned only so you know the questions on this page are ones he asks of his own product.
- Insurance for health and fitness apps
Need this handled?
Reading about it and having it handled are different jobs, and the second one is ours. We place the accounts other brokers decline — claims history, a cancellation, an unusual operation, a business nobody wants to underwrite twice — and we will tell you when the policy you already have is the right one. Tell us the situation and a licensed human replies the same business day.
Written by Kevin Kelsey, founder and principal agent, CA License #6011822, at Boring Insurance. Last updated 2026-10-25. See all guides.