Most of the SOC 2 controls fast-built apps miss are process controls: reviewing and removing access, multifactor login, a record of who reviewed each change, logging, vendor management, backups you have actually restored, encryption, incident response, a written risk assessment, and policies that match the system you run. Apps built with AI coding tools tend to add a few technical gaps on top, such as database access rules that are switched off and secrets sitting in browser code. Every one of these can be fixed, and every one has to be provable before an auditor tests it.

If you are new to SOC 2, start with our guide to SOC 2 for startups.

What does a SOC 2 auditor actually test?

SOC 2 is an examination performed by a licensed, independent CPA under the AICPA's attestation standards, as the AICPA describes it. The auditor tests your controls against the Trust Services Criteria and reports what they found. There is no pass or fail grade. A Type II report checks that controls kept working over a period of months, so a control that starts late shows up in the report. See SOC 2 Type I vs Type II for which one your customer is likely to want.

Which tool typed your code is not part of the test, as our article on SOC 2 for AI-built apps explains. The auditor checks whether the controls around the code exist, whether people follow them, and whether records prove it. Your platform's own report does not cover you either. Lovable says its SOC 2 report lets you assess Lovable as a vendor and does not audit your business or your app, in its October 2026 post on compliance and customer apps.

Why do fast-built apps miss the same controls?

Speed is most of it. A small team, or a founder working with an AI coding tool, ships features first, and controls rarely look like features. Nobody asks the tool for an access review schedule or a restore test, so nobody gets one.

AI tools also build what they are asked for, and security rules are often the part nobody says out loud. In an academic audit of 200 deployed apps mostly written by AI, 91% had at least one vulnerability, and the largest share of flaws traced back to security requirements the user never stated, according to an arXiv preprint updated in September 2026 that has not been peer reviewed. The missing SOC 2 pieces are usually decisions a person has to make and write down.

The technical gaps one firm maps to SOC 2

Cybersecify, a penetration testing firm in Bengaluru that also sells SOC 2 readiness work, publishes a guide to SOC 2 readiness for vibe-coded SaaS (updated November 2026) that maps five common gaps to specific Trust Services Criteria. It is one firm's view, and your auditor may scope things differently.

GapWhat it looks likeCriterion Cybersecify maps it to
Row Level Security offSupabase tables holding customer data with access rules disabled or misconfigured, while the public key sits in the browserCC6.1, logical access
Unsigned webhooks and no rate limitsA Stripe webhook endpoint that never checks the signature, and public endpoints with no limit on requestsCC6.6, protection against external threats
Secrets in public variablesKeys exposed through NEXT_PUBLIC_ or VITE_ environment variables, and CORS open to every originCC6.7, transmission of information
Stale dependenciesPackages with known vulnerabilities in production, no scanning schedule, and no third-party pentestCC7.1, vulnerability monitoring
No review record for AI changesAI-generated code merged without a documented review or approvalCC8.1, change management

Each gap has a direct fix. Turn on Row Level Security with policies that match who should see what, as our Supabase Row Level Security guide explains; Supabase's database advisors flag tables with it disabled, though Supabase says to check each finding against the access model you intended. Verify every webhook signature, which Stripe's integration security guide says you must do, and check prices on the server, as covered in securing prices, payments, and webhooks. Move secrets out of the browser bundle (see how API keys leak from AI-built apps). Then add rate limits to sign-in and other public endpoints; in July 2026 tests by Xint, a security vendor, missing rate limits were the largest category of exploitable issues, as SecurityWeek reported.

Cybersecify also says auditors expect a third-party pentest as evidence, while Drata, which sells compliance software, says on its SOC 2 cost page that a pentest is not always required. Ask your auditor early which they expect.

Access: reviews, offboarding, and MFA

Start by listing who can reach production data, the database dashboard, the cloud console, the code repository, and the AI builder account that can change all of them. Three controls keep that list honest:

  • Access reviews. On a schedule your policy sets, someone lists every account with access to each system, confirms each one is still needed, and removes the rest. Save the list, the date, and who signed off. That record is the evidence.
  • Offboarding. When an employee or contractor leaves, their access comes off every system promptly, from a written checklist. The freelancer who built your first version counts.
  • Multifactor login. Turn it on for email, the code host, the cloud and database consoles, the payment dashboard, and the AI tools that can read or change your code. Shared logins defeat it, so give each person their own account.

Inside the app, access control means one customer cannot read another customer's records. The fastest way to check is a two-account access test with fake data.

Change management when AI writes the code

Change management means every change to production is reviewed, approved, and recorded before it ships. Auditors test it by picking changes and asking for the trail, and on AI-heavy teams the trail is the part that tends to be missing. Cybersecify says auditors increasingly ask how a team reviews AI-generated changes before merging them. A workable setup for a small team:

  1. All changes go through pull requests, and branch protection blocks direct pushes to the main branch.
  2. A person reviews and approves each pull request before it merges. Where the team is big enough, the reviewer is someone other than the author.
  3. The pull request notes when an AI tool wrote the code and what the reviewer checked, such as access rules, secrets, payment logic, and new dependencies.
  4. Development and production are separate, with separate databases and keys, so an agent working on a feature cannot touch live data.

The fourth step matters. In July 2025, Replit's agent deleted data from a production database during a code and action freeze while SaaStr's founder was testing it, and Replit's CEO then announced automatic separation of development and production databases, as Fortune reported.

Scanners in the editor help, but the record has to come from a person. Snyk's documentation for its agent integrations warns that an agent can skip a requested scan. Writing security requirements into the prompt also helps. A small, preliminary twin-prompt study on arXiv (August 2026) found that doing so cut confirmed findings from 51 to 24.

Logging, backups, encryption, and incident response

Logging and monitoring

Log the events an investigator would need: sign-ins, failed sign-ins, admin actions, permission changes, data exports, and billing changes. Send the logs somewhere the app itself cannot edit or delete, keep them for the period your policy sets, and route alerts to a named person who reads them. Keep secrets out of the logs, and watch for code that logs whole request bodies, which can carry passwords, tokens, and personal data.

Backups with a tested restore

A backup becomes a control once you have restored from it. Restore a recent backup into a separate environment, check the data, and write down the date, how long it took, and what went wrong. Repeat on a schedule. Cyber insurers check for this too, according to broker guides such as CyberUnit's 2026 underwriting checklist. Our guide to cyber insurance and tech E&O covers the rest of that list.

Encryption

Encrypt data in transit with current TLS and at rest in the database, backups, and file storage. Your hosting and database providers handle much of this, so confirm it applies to your plan and save their documentation. Keep card numbers with your payment processor.

Incident response

Write down who decides something is an incident, who fixes it, who tells customers, and how fast. Practice it once with a tabletop exercise and record the date. Our guide to an incident response plan a small software team will actually use covers this in more detail.

Vendors, risk assessment, and policies that match the system

Vendor management, including AI model providers

SOC 2 expects you to know which outside services your system depends on and to manage the risk they bring. For a fast-built app the list is long: the AI builder platform, hosting, the database, sign-in, email, payments, analytics, and every AI model API that receives customer data. For each one, keep a short record of what data it touches, its own security report if it has one, and its data terms.

Model providers deserve a close read. OpenAI, for example, says on its enterprise privacy page that it does not train on API business data by default but may keep API inputs and outputs for up to 30 days to provide the service and identify abuse, with zero data retention available for eligible endpoints (as of November 2026). Each provider belongs on the subprocessor list you share with customers; see the AI questions in security reviews. Platform terms count too. Lovable's terms of service bar protected health information and payment card data unless your plan or a separate written agreement allows it.

Risk assessment

A SOC 2 risk assessment lists what could go wrong with your system, how likely and how serious each risk is, and what you do about it. It has to be about your system. In May 2026 the Journal of Accountancy reported that the AICPA told peer reviewers that engagements with identical reports, risk assessments, and test procedures across clients are nonconforming. A template with your logo on it is what that guidance targets.

Written policies

Auditors test your policies against what they find in practice. If your access policy promises quarterly reviews and you held one last year, that gap can show up as an exception in your report. Write policies that describe what you actually do, at a pace you can keep, and update them when the system changes. For AI tools, a one-page AI policy is a practical start.

What to do next

Start with the free two-minute self-check. It runs in your browser, stores nothing, and shows where to look first.

If a customer or an auditor is already asking, our Compliance Readiness Review maps your sensitive data, runs a two-account access test with fake records, checks the places AI-built apps usually slip, and ties every finding to the SOC 2 requirement it affects in a ranked plan. We are not a CPA firm and we never issue reports. We get you ready and work alongside the auditor you choose. For how the audit itself works, see our SOC 2 overview.