Have your AI-generated app audited - Audit of code and operations, plus a pentest with proof per confirmed finding. The one-off pentest costs €1,000 to €2,000 excl. VAT, depending on the size of the application. Book an intro call · Pentest for web applications and APIs
An app built with Lovable, Bolt, Replit, v0 or Base44 can be checked in three ways: with the built-in scan of the builder, with a pentest that the builder brokers through a partner, and with an independent white-box pentest. This article compares the three stages against the vendor documentation (as of 22 November 2026) by basis, proof and data flow. It is not about pentests of AI systems (chatbots, prompt injection); the distinction is in the section Pentest of an AI-generated app: what is meant and what is not.
Table of contents
- Pentest for AI-built apps: the short answer
- Pentest of an AI-generated app: what is meant and what is not
- Stage 1: the built-in scan of the builders
- Stage 2: pentest through a partner of the builder
- Stage 3: independent white-box pentest
- The three audit stages compared
- Typical findings in AI-built apps and what a test adds
- Which stage when: data type, customer requirement, release
- Our approach at WZ-IT
- Common misconceptions
- Status and methodology
- Further guides
Pentest for AI-built apps: the short answer
The audit of an AI-generated app can be arranged in three stages. Stage 1 is the built-in scan of the builder: depending on the tool, it checks database rules, code, configuration or dependencies according to the vendor documentation (scope per tool: see stage 1) and returns a list of findings in the tool. Stage 2 is a pentest that the builder brokers through a partner and that attacks the running app. Stage 3 is an independent white-box pentest with source code, a running test instance and test accounts. The vendors describe their scans as a complement themselves: according to Lovable they do not replace a thorough security review, according to Replit a scan is not a complete one. Which stage is appropriate depends, in our assessment, on data, roles, customer requirement and release.
| Question | Short answer |
|---|---|
| Is the built-in scan enough? | In our assessment, as a baseline check on every release, yes. For sensitive data or critical functionality, Lovable recommends considering an additional professional review (Lovable Docs: Security overview) |
| What does white box mean for an AI app? | At WZ-IT the testing party knows the source code and additionally tests the running test instance with accounts per role and tenant; the sources define the term differently. The BSI generally recommends white-box tests (BSI guide, section 1.3, in German) |
Pentest of an AI-generated app: what is meant and what is not
Three terms carry similar names in search results and offers but mean different things. This article covers the first row.
| Term | Subject of the test | In this article |
|---|---|---|
| Pentest of an AI-built or AI-generated app (vibe coding pentest, AI app pentest) | An application whose code was largely created with AI tools such as Lovable, Bolt, Replit, v0 or Base44 | Yes, this is the subject |
| Pentest by an AI (AI pentest) | Any application; the attacks are carried out by AI agents or automation | Only as classification: the partner pentests of Lovable and Base44 and Replit’s Level 3 are AI pentests according to the documentation and appear here as stages |
| Pentest of an AI system (LLM pentest, prompt injection, RAG) | A language-model system, for example a chatbot with a knowledge connection | No, not the subject of this article. The WZ-IT pentest page covers web applications and APIs |
WZ-IT applies the same test areas to AI-generated apps as to other web applications: sign-in, access rights, secrets, dependencies and inputs. This article is about which test delivers which proof.
Stage 1: the built-in scan of the builders
All five tools offer a built-in security check: Lovable, Replit and Base44 a security scan, Bolt a security audit, v0 DeepSec. The table reproduces what the vendors document (retrieved on 22 November 2026). We did not run the scans and do not compare detection performance. For Lovable, the detailed version is in the article Security checklist for Lovable apps.
| Tool | Check and trigger | What is checked according to the documentation | Result and limit according to the vendor |
|---|---|---|---|
| Lovable (audit scope) | Quick scan on every publish, Deep scan on request (exception: MCP access without sign-in), free of charge; classed by Lovable as static analysis (Security overview, pentest integration) | Quick: database rules (tables without row-level security, rules that let everyone through), npm dependencies, MCP servers without authentication. Deep (includes the Quick scan): the whole application code, including access control, endpoints without sign-in, inputs, secrets, payments, authentication | Findings labelled Critical, Warning or Info in the Security view (Security view). Limit: “cannot guarantee complete security”, no replacement for a thorough review; from the dependency audit only critical vulnerabilities become findings |
| Bolt (audit scope) | Audit from the Publish menu, without token use, according to the support page on paid plans, according to the blog “free”; plus a database check on all plans (support) | The whole project including code and database: access to other users’ data, publicly visible error messages, sign-in and sessions, misuse of flows, visitor input, keys and settings. The page lists no dependency check | Bolt fixes what it can and lists actions for the user; according to the blog of 30 July 2026 “No report to read”, only a short overview of the fixes (Bolt blog). Limit: up to 30 audits per day; “a first pass, not a replacement” for existing security tools |
| Replit (audit scope) | Level 1 dependencies (free), Level 2 plus Agent analysis of the source code (paid plan), Level 3 plus black-box test of the running Preview (Scan levels) | Level 2: routes, APIs and data flows, threat model, model-based review plus static analysis; patterns such as SQL injection, XSS, CSRF (Agent security scans) | Findings in the Security Center by severity (Project Security Center). Limit: “A scan is not a complete security review”; the publish check replaces neither Level 2 nor Level 3 |
| v0 (audit scope) | DeepSec, only on request in the chat, on paid plans (v0 Docs) | Missing authentication and authorization checks, injection, SSRF, unsafe input handling; changed files or up to 50 of the riskiest project files, each finding is checked against the whole project | List of confirmed findings in the chat with severity, file, line and suggested fix, plus the dismissed findings. Limit: in larger projects not every file; skips, among others, lockfiles, environment files, credentials and keys; a run stops after 15 minutes |
| Base44 (audit scope) | Security scan on all plans, static code analysis from the Builder plan; warns but does not stop publishing (scan) | Among others permissions of data tables, fields users can change, private fields in public tables, exposed secrets, backend functions without sign-in, dependencies, code patterns, security headers | List by category and severity, fixes are not applied automatically. Limit: checks neither Base44’s hosting nor the systems the app runs on; the operator is responsible for the security of the app |
The scope differs per tool. According to the documentation, Lovable, Replit (all levels) and Base44 check dependencies; Bolt’s support page lists no dependency check, and v0 skips lockfiles. Code is read by Lovable’s Deep scan, Replit from Level 2, Bolt, Base44 (from the Builder plan) and v0 (at most 50 selected files per run). Of the documented scans, only Replit Level 3 includes a test of the running app. Lovable and Replit write that scans do not guarantee complete security.
Stage 2: pentest through a partner of the builder
Two builders describe a pentest that an external partner carries out through a connection: Lovable and Base44. Replit offers a black-box test as Level 3 in its own scan menu; according to the documentation, Replit runs it itself. For Bolt and v0, the pages we read (support page on project security, DeepSec, v0 Security) describe no pentest integration; a text search for “pentest” and “penetration” in v0.app/docs/llms.txt and support.bolt.new/llms-full.txt (possibly truncated according to the file) returned no match on 22 November 2026. This says nothing about the vendors’ overall offer.
| Tool | Connection and billing | Basis and data flow | Result according to the documentation |
|---|---|---|---|
| Lovable (pentest integration) | Workspace admin or owner connects the partner; pentests start per project. Paid partner account, billing by the partner; at least one test user in the project | AI agents attack the running app, black box and white box. Lovable uploads the repository on creation, “whitebox testing is always included”. Without credentials the test is limited to flows without sign-in | Per finding technical details, attack analysis and reproduction steps; transfer into the Security view by click; report and certificate, “structured for SOC 2, ISO 27001” and security questionnaires. According to Lovable, findings are confirmed before they are reported |
| Base44 (pentest with partner) | Workspace owner or admin connects the partner; from the Builder plan, partner account, billing by the partner; up-to-date scan required, full-stack apps not supported | Test against the published app with a temporary test login from Base44; the page we read says nothing about source code. Runs on test data and may create or change test records | PDF report: per finding impact, attack path with the requests sent as proof, remediation. The test only covers the version published at the time |
| Replit Level 3 (Black-box pen tests) | Part of the built-in scan menu, with additional plan and project-access requirements; according to the documentation Replit runs the test, a connected partner is not described | Black-box test of the running Preview through browser and network interactions without source code; in parallel the Agent analysis of the source code. With Clerk Auth one anonymous and one authenticated pass with a synthetic user | Findings of both tasks in the Security area; according to Replit neither task replaces the other |
| Bolt, v0 | No pentest integration described on the pages we read | - | - |
Lovable recommends this order: first the built-in scans, fix the findings, then confirm with a pentest before a major release (Security overview). Before a partner pentest, two questions need answering in our assessment. How long and where do code and data stay at the partner? The pages we read do not answer this. Which instance is tested, and can the test create or change data there? Lovable requires confirming a warning about database changes before the start, and Base44 points to changed test records.
Stage 3: independent white-box pentest
“Independent” in this article (our use of the term) means: the operator of the app commissions the testing party itself, and that party neither belongs to the builder nor is connected by it. The BSI requires testers to be independent of the test object: “Die Prüfer müssen zu jeder Zeit unabhängig von dem Prüfobjekt bleiben, damit sie, ähnlich wie Angreifer, neue Ideen aus einem unbeteiligten Blickwinkel heraus entwickeln können.” In our translation: the testers must remain independent of the test object at all times so that, like attackers, they can develop new ideas from an uninvolved perspective. (BSI guide, section 1.4.2, in German). Whether the scan of a tool that generated the code meets this independence, the BSI does not assess. In our assessment, with the built-in scans the vendor also checks the app that its tool generated.
The term white box is not uniform in the sources:
| Source | What white box means there |
|---|---|
| BSI | The testers have extensive information about the systems to be tested, such as IP addresses of the internal network and the software and hardware in use. The BSI generally recommends white-box tests because vulnerabilities can be missed in a black-box test. The definition does not mention source code (BSI guide, section 1.3, in German) |
| Lovable documentation (partner pentest) | Full access to the source code to reason about application logic, roles and data flows (pentest integration) |
| WZ-IT | Source code, running test instance and test accounts per role and tenant, attacks on the test instance (Pentesting) |
OWASP advises handing available source code to the testers because the code can reveal vulnerabilities that a black-box test misses. According to OWASP, static analysis alone cannot identify design flaws because it does not know the context. True vulnerabilities can be told apart from unexploitable ones when the results of penetration tests and source code analysis are combined (OWASP Web Security Testing Guide 4.2, Introduction). The difference between the three test forms is covered in the article White box, black box, grey box.
What stage 3 at WZ-IT does not cover: a test instance is tested, not the production system, and the runtime view of the routes is currently available for Express (Node.js). The offer covers web applications and APIs; the security audit checks configuration and hardening of servers, cloud and network and is expressly not a pentest. The BSI recommends stating in the contract that the results are only valid at the time of the test and that it is not guaranteed that all existing errors are found (BSI guide, section 2.3, in German).
The three audit stages compared
The division into three stages is our arrangement, not the vendors’. Replit Level 3 does not fit in clearly: it is a dynamic test in its own scan menu that, according to the documentation, Replit runs itself.
| Feature | Stage 1: built-in scan | Stage 2: partner pentest of the builder | Stage 3: independent white-box pentest |
|---|---|---|---|
| Basis | Per tool code, database rules, configuration or dependencies, not all of them in every product (stage 1 table); Replit Level 3 additionally a black-box test of the Preview | Attacks on the running app; with Lovable with the uploaded repository, with Base44 against the published app with a temporary test login | Source code, running test instance, test accounts per role and tenant; attacks on the test instance |
| Who tests | The vendor’s tool | A partner connected by the vendor, with its own account and billing | The party commissioned by the operator itself; at WZ-IT automated runs, the team reviews severe confirmed findings by hand |
| What is checked | Areas of its own per tool (stage 1 table): data access, sign-in, secrets, dependencies, inputs | According to Lovable authentication, authorization and API flows; according to Base44 public pages and pages after sign-in | Nine test areas from sign-in and access rights to robustness (Pentesting) |
| Proof | List of findings in the tool with severity; Bolt: overview of the fixes in the chat | Report of the partner, with Base44 with attack path and proof, with Lovable with a certificate | Report with proof and one of four states per finding, rating of the dependencies and a coverage table; retest after the fix |
| Not covered | According to the vendors no complete security review; limits per tool (stage 1 table) | Only the version tested; Base44 not for full-stack apps; Lovable without a test user only flows without sign-in | Production system; servers, cloud and network (the security audit covers these); runtime view currently only for Express (Node.js) |
| Where code and data go | Replit Level 2: Replit infrastructure, no sharing with third parties (Replit); v0: read-only copy outside the project, project code is not run, zero data retention according to v0 for model requests (v0); Lovable, Bolt, Base44: no statement on the pages we read | Lovable: repository to the partner; Base44: test login to the partner; report in the partner account | Source code, test instance and test accounts to WZ-IT after an ownership check; processing according to the Pentesting page |
| Value as proof for third parties | The recipient decides; the vendors call the scans an aid | The recipient decides; Lovable calls the report structured for questionnaires | The recipient decides; WZ-IT does not promise acceptance |
Typical findings in AI-built apps and what a test adds
The table assigns classes of findings to the test areas that the vendors name for their scans. The right column is our assessment, not a statement of the vendors. The OWASP categories in the first column (numbers and names of the OWASP Top 10:2025) are our assignment per class of finding, not a statement of OWASP or the vendors; a class can be assigned to several categories. OWASP itself places, for example, SSRF and CSRF under A01 and flaws in business logic under A06.
| Class of finding (WZ-IT assignment to OWASP Top 10:2025) | What vendor scans document on it | What a test on the running system adds (WZ-IT assessment) |
|---|---|---|
| Access to other accounts’ data (A01 Broken Access Control) | Lovable Deep scan: users who can view or change data that is not theirs; Bolt: who can see and change data; Base44: permissions and fields users can change; v0: missing authorization checks | Whether account A actually receives data with identifiers of account B, per role and tenant |
| Database rules missing or too broad (A01 Broken Access Control, A02 Security Misconfiguration) | Lovable Quick scan: tables without row-level security, rules that let everyone through; Bolt database check; Base44 permissions | What effect the rules have through the generated interface, with anonymous and signed-in access |
| Functions and routes without sign-in (A01 Broken Access Control, A07 Authentication Failures) | Lovable: endpoints anyone can trigger; Base44: backend functions a stranger could call without signing in | Whether the route answers without sign-in on the running target and what it reveals |
| Secrets in the frontend or repository (A07 Authentication Failures, A02 Security Misconfiguration) | Lovable Deep scan: secrets in the source code; Bolt: keys not in code or browser; Base44: exposed secrets. v0 skips environment files, credentials and keys | What a key that was found allows on the target |
| Dependencies with known vulnerabilities (A03 Software Supply Chain Failures) | Lovable (only critical as findings), Replit at all levels, Base44; Bolt and v0 not according to the pages we read | Whether the vulnerability is reachable and exploitable in this application |
| Inputs and injection (A05 Injection) | Lovable Deep scan, Bolt (uploads, links, text), v0 (injection, SSRF), Replit Level 2 (SQL injection, XSS, CSRF); OWASP places SSRF and CSRF under A01 | Attack on the running target with proof |
| Business logic (A06 Insecure Design) | Bolt: changing prices, skipping steps, claiming a single-use item twice; Lovable: payments | Flow with manipulated values and in the wrong order on the target; according to OWASP, static analysis alone does not identify design flaws |
On the frequency of such findings in AI-generated code, with the primary sources of the studies: Vibe coding risks. On the database side with Supabase: Is Supabase secure?.
Which stage when: data type, customer requirement, release
The assignment is our assessment, not a requirement of a standard or of the vendors.
| Situation | Recommended stage | Reasoning |
|---|---|---|
| Prototype or internal demo without real user data | Stage 1 and self-check | According to the documentation, Lovable, Bolt, Base44 and v0 recommend scans before publishing (pages: see stage 1, for v0 additionally Security), Replit before a new version. Self-check: Vibe coding risks |
| Accounts, roles and personal data or payments, before go-live | Stage 1, fix the findings, then stage 2 or 3 | Lovable recommends scans, fixes, then a pentest, and names an additional professional review for sensitive data. Details on release: Pentest before go-live |
| Several tenants or roles | Stage 3 or a partner pentest with test accounts | The test needs accounts for this: our offer requires at least two accounts of equal rank, Lovable’s partner pentest at least one test user |
| Major change by prompt | Scan again; pentest on changes to sign-in, roles or interfaces; with frequent releases the pentest subscription | Replit recommends scans after major code changes, Base44 tests only the published version. On intervals: How often to run a pentest |
On the relation to vulnerability scans: Pentest vs vulnerability scan; on the process before the start: Review AI-built software before production.
Our approach at WZ-IT
For AI-built applications, WZ-IT offers the audit of AI-generated apps in three separately bookable services: the Production Readiness Audit (code, configuration, data access and operational readiness, with an action plan), the pentest and continuous review of changes (AI Code Review). The pentest is an automated white-box pentest for web applications and APIs and runs as follows:
- Handover: source code, a running test instance and test accounts per role and tenant, at least two accounts of equal rank.
- Ownership check: we verify that the repository and the application belong to you and that you are entitled to commission the test; without this proof we do not start a test.
- Inventory: the routes of the application are recorded in an inventory.
- Attack: against the test instance in an isolated test environment, not against the production system.
- Proof: confirmed findings come with proof; every finding carries one of four states (confirmed, refuted, suspicion without confirmation, not tested).
- Manual review: the team reviews severe confirmed findings by hand.
- Report: summary, findings, rating of the known vulnerabilities in the dependencies and a coverage table that shows what was tested and what was not.
- Retest: with the one-off pentest, included within 30 days after the fix.
Which test instance and test data come into question is covered by the article Pentest before go-live. The runtime view of the routes is currently available for Express (Node.js); whether your framework fits is clarified before the offer. Whether a report is accepted for a specific audit or certification is decided by the testing party in question.
The one-off pentest costs a fixed price by size of the application: €1,000 (small), €1,500 (medium) or €2,000 (large), excl. VAT. The pentest subscription costs, excl. VAT per year, €2,500, €3,750 or €5,000 with quarterly and €4,000, €6,000 or €8,000 with monthly tests (small, medium, large). On request we fix the findings and take over hosting and operations.
Common misconceptions
| Misconception | Correct | Source |
|---|---|---|
| The built-in scan is a pentest. | Lovable classes the scans as static analysis and contrasts them with the AI pentest as dynamic analysis. Replit introduces the black-box test only at Level 3. Base44: the scan checks the code, a pentest checks how the running app holds up against attacks. | Lovable, Replit, Base44 |
| If the agent fixes the findings, nothing more needs doing. | Replit advises scanning again after the fixes because larger projects can reveal further findings once severe ones are fixed. Bolt: fixes change code or database and can be rolled back through version history. Base44 does not apply fixes automatically and advises checking each change first. | Replit, Bolt, Base44 |
| White box means: the source code is enough. | The BSI separates code review and pentest: in a code review the source code is systematically examined, in a pentest unexpected behaviour is deliberately provoked during live operation. OWASP names the combination of pentest and source code analysis. At WZ-IT a running test instance and test accounts belong to it. | BSI guide, section 1.4.3, in German, OWASP WSTG |
| After a pentest the app is permanently checked. | Base44: a test only covers the version published when it runs. The BSI names significant changes as the usual occasion for a pentest, recommends repeat tests every two to three years, and the results are only valid at the time of the test. | Base44, BSI guide, sections 2.3 and 3.1.1, in German |
Status and methodology
Research status: 22 November 2026. On that day the pages the article relies on (see sources) were retrieved and the quoted passages checked against their wording. The documentation changes continuously; the tables reflect the status on the day of retrieval. We do not name the partners of the pentest integrations; the linked vendor pages do.
The details on the individual tools come from the vendor documentation; comparisons, the division into three levels and the OWASP mapping are our own classification. Statements such as “does not state” apply only to the pages we read and the day of retrieval. We ran no scan and no partner pentest and assess neither detection performance nor hit rate. On the availability of Bolt’s audit the blog (“free”) and the support page (paid plans) differ; we follow the support page. We did not evaluate the prices of the builders and partners or the partners’ terms on retention and place of processing. Bolt’s security page (bolt.new/security) is built with JavaScript and was not read. We did not adopt third-party studies from Bolt’s blog. We do not assess legal questions (liability, obligation to run a pentest).
The division into three stages, our use of the term “independent”, the assignment of classes of findings to OWASP categories, the right column of the findings table, the table “Which stage when” and all statements marked “WZ-IT assessment” or “our assessment” are our own classification. Process, prices, test areas and limits of stage 3 describe the WZ-IT offer according to the offer pages of 22 November 2026, not the sources. The BSI guide (version 1.2, November 2016) and the OWASP Web Security Testing Guide 4.2 are older than the vendor documentation and describe pentest and white box in general, not for AI builders. The article contains no technical instructions.
Further guides
- Vibe coding risks: vulnerabilities in AI-generated code and how to check for them
- Lovable app security: gaps and a checklist before go-live
- Is Supabase secure? Responsibility, component table and self-test
- Pentest before go-live: checklist, test environment and release criteria
- White box, black box, grey box: penetration test types compared
- Audit of AI-generated apps: audit and pentest
- Automated white-box pentest for web applications and APIs
- AI code audit, code review or penetration test: which one fits?
Which stage fits your app? We assess your application, clarify repository, test instance and test accounts and tell you which check makes sense. Book an intro call · Request a pentest
Sources
- Lovable Docs: Security overview
- Lovable Docs: Project security view
- Lovable Docs: Run AI-powered penetration tests (pentest integration of an external partner)
- Bolt Support: Check your project's security
- Bolt Blog: Security belongs in the platform, not in your backlog (30 July 2026)
- Replit Docs: Security scan levels
- Replit Docs: Agent security scans
- Replit Docs: Black-box pen tests
- Replit Docs: Project Security Center
- Replit Docs: Replit shared responsibility model
- v0 Docs: DeepSec
- v0 Docs: Security
- Base44 Docs: Running a security scan
- Base44 Docs: Security overview
- Base44 Docs: Pentest through a connected partner
- BSI: Praxis-Leitfaden für IS-Penetrationstests (practical guide to IS penetration tests), version 1.2, November 2016, in German
- OWASP Web Security Testing Guide, version 4.2: Introduction and Objectives
- OWASP Top 10:2025











