Skip to content

Service

Take a Vibe-Coded App to Production Safely

Your team built a vibe-coded app with Lovable, Replit, Bolt or Cursor, and people want to use it at work. We check it, put it under your control and tell you plainly whether to harden it or rebuild it. It is a production readiness review, not a pen test or a compliance certificate.

The direct answer

To take a vibe-coded app to production at work, put staff sign-in behind your company’s Entra ID accounts, test row access with two accounts, move keys out of the browser, keep the code in your own repo with CI checks, and make a hosting decision: harden, move or rebuild.

Our view: the idea is rarely the problem, and a working prototype proves it. What it usually lacks is the part nobody asked the AI for: who may sign in, who may see which record, where the keys live and who owns the code next month.

  • What it is: a production readiness review for a vibe-coded app (built with Lovable, Replit, Bolt or Cursor), covering secrets, sign-in, data exposure, row-level access, dependencies and logging. It is not a pen test or a compliance certificate.
  • Who it is for: a business owner, department head or IT lead whose team built an app with AI and now wants staff or customers to rely on it.
  • What you get: ranked findings, the code under your control with checks on every change, and a plain hosting decision (harden, move or rebuild). Each piece is a document, repo or configured workflow you keep.

Book the free 30-minute review and leave with the top three risks and one next step.

Who does the work. Led by Alex Pechenizkiy: two decades on the Microsoft business apps stack and 250+ projects across 6 countries (his record on az365.ai). We are a Microsoft Learning Partner for training. Public write-ups on az365.ai:

Updated November 30, 2026. Every vendor statement on this page links to its source.

What we check before production

We read the code and the configuration of one app and test it with two accounts, in the seven areas below.

AreaWhat we checkWhy it matters
SecretsAPI keys, database keys and tokens in the code, the browser bundle and the repo historyA key in the front end is readable by every visitor
Sign-inWho can sign in, how accounts are created, admin accounts and default passwordsAn open sign-up page lets anyone in
Data exposureWhat each page and API returns, and what loads with no sign-inA screen can hide data the API still sends
Row-level accessWhether one user can read or change another user’s records, tested with two accountsOne customer reading another customer’s records is the gap that matters most, in our view
DependenciesOutdated or vulnerable packages, and packages nobody usesEvery package is code you now own
LoggingWhether sign-ins, errors and data changes are recorded, and whereWithout logs you cannot tell what happened
AI featuresModel API keys, prompts that take user input, spend limits and data sent to the modelA prompt can be steered, and an open key can run up the bill

Not this one?

Hiding data on screen does not protect it, so we test the database and the API directly, not only the screens. Two sources behind that:

  • Supabase, on row-level security (RLS), the database rule that limits which rows each user can read: “A table in an exposed schema without RLS is readable and writable by any role with a grant on it” (Supabase docs).
  • OWASP lists, under A01:2025 Broken Access Control, “Bypassing access control checks by modifying the URL (parameter tampering or force browsing)”. The same entry covers changes to the app’s internal state, the HTML page and API requests.

For AI features, we review against the OWASP Top 10 for LLM Applications as a reference list; attack testing, such as prompt injection, is scoped separately in writing. For the incidents behind each area, see vibe coding security: public incidents and the control that would have stopped each.

Company sign-in with Entra ID

In plain terms: staff sign in with the work account they already have, and a leaver loses access when IT disables that account.

If your company runs Microsoft 365, your staff already have Microsoft Entra ID accounts: Microsoft 365 “uses Microsoft Entra ID to manage user identities behind the scenes” (Microsoft Learn). IT can also revoke a leaver’s Entra sessions; a session the app itself issued ends when it expires (Microsoft Learn), so the sign-in plan sets how long the app’s own sessions last. That holds only if the app’s own sign-up and local accounts are switched off, and the plan removes those.

How the app gets there depends on who uses it and where it runs:

Who or whereSign-in usedWho limits accessSource
Staff and adminsYour Entra ID work accountsYour IT team, with assignment required and sign-in policiesMicrosoft Learn
CustomersA customer sign-in, such as Microsoft Entra External ID, or the provider you use todayThe app’s own access rulesMicrosoft Learn
On Azure App ServiceBuilt-in authentication with Entra, sign-in required on every request, your tenant onlyApp Service settings, then the app’s own rulesMicrosoft Learn
As a Power Apps code appEntra authentication, built inPower Platform sharing limits and your IT team’s policiesMicrosoft Learn
Anywhere elseThe app registered in Entra ID, signing users in with OpenID ConnectThe app’s own access rulesThe sign-in plan names the library and the changes

The last route needs a host that allows a custom sign-in provider. Where the current host does not, the hosting decision covers exporting the app or moving it to a host you control.

Two settings we always include in the plan:

  1. Limit who can use it. Microsoft says apps registered in a tenant are, “by default, available to all users of the tenant who authenticate successfully” (Microsoft Learn). Setting assignment required to Yes means users “must first be assigned this application before being able to access it” (enterprise app properties).
  2. Apply your sign-in rules. Conditional Access policies “at their simplest are if-then statements”, for example requiring multifactor authentication to reach an app (Microsoft Learn). Your IT team owns those policies; the plan lists which ones should cover the app, based on the licenses below.

For your IT team:

Your Microsoft licensesWhat the plan uses
Microsoft 365 Business Premium or E3 (Entra ID P1)Conditional Access policies for the app, plus assignment required
Microsoft 365 E5 (Entra ID P2)The same, and risk-based policies if you use them
No Entra ID P1Security defaults, plus assignment required

Sources: Microsoft says “Using this feature requires Microsoft Entra ID P1 licenses”, Business Premium customers “can also use Conditional Access features”, risk-based policies need Microsoft Entra ID Protection, “a Microsoft Entra ID P2 feature”, and security defaults “are available for all customers” (license requirements). Microsoft 365 E3 includes P1 and E5 includes P2 (Microsoft Learn).

Sign-in answers who the user is. Which records that user may see is still the app’s job, which is why row-level access stays on the list above. When sign-in moves to Entra, the row rules must check the Entra identity; the plan lists every rule that changes. Built-in sign-in guards requests that reach App Service. If the browser calls the database directly, the database must trust the Entra sign-in too, for example with Microsoft as a Supabase Auth provider (Supabase docs), or those calls move behind an API. The sign-in plan says which.

Should you harden or rebuild an AI-built app?

We ask three questions, in this order:

  1. Do customers or other outside users rely on it? Harden it, on its current host or moved to Azure App Service.
  2. Only your staff, and mostly forms, lists and approvals? Rebuild it as a canvas or model-driven app on Dataverse.
  3. Only your staff, built with React or Vue, and users hold Power Apps Premium? Move it to a Power Apps code app.

Otherwise, harden it. These are our fit rules; the hosting decision applies them to your app.

RouteFits whenDoes not fit whenData stays in
Harden it where it runs (Azure App Service or your current host), with the repo in your GitHub orgThe code is readable, the data model is sound, and customers or outside users rely on itThe data model is wrong, or nobody on your side can own the codeThe database it uses today
Move it to a Power Apps code appUsers are your own staff with Microsoft accounts, and the app is built with a framework such as React or VueThe app serves the public, or users lack the Power Apps licenses code apps needDataverse, or the current database reached through a connector
Rebuild it on Power Platform with DataverseThe app is mostly forms, lists and approvals over business recordsThe app depends on a custom interface Power Apps cannot reproduce, or users lack Power Apps Premium use rightsDataverse

Facts behind the table:

  • Code apps. Developers “Build with popular frameworks (React, Vue, and others)”, code apps follow your organization’s policies, including “app sharing limits, Conditional Access, Data Loss Prevention”, “End users that run code apps need one of the following”, starting with a Power Apps Premium license, and “Code apps don’t support Power Platform Git integration”, so the repo stays in your own GitHub org or Azure DevOps project (Microsoft Learn). Code apps are a newer route, and the overview carries no preview label as of November 30, 2026. We check Microsoft’s published limitations and confirm your policies apply to a test app in your environment before we recommend it.
  • Rebuild licensing. Microsoft says “Model-driven apps use Dataverse and are premium apps by default” (Power Apps licensing FAQ).
  • Moving the data. On the code app route, the data layer (for example a Supabase database) moves to Dataverse or is reached through a connector. In our experience that move is usually the main work, and the plan sizes it.
  • Dataverse has row-level access built in, and it still needs security roles and business units designed: “A user’s record access combines all their security roles, business unit membership, team memberships, and shared records” (Microsoft Learn).

Our view: a rebuild is the right call more often than owners expect, because the prototype has already done its job of proving what the app should do. The rebuild starts from that, not from a blank page. For apps already on Power Platform, see retrofitting Power Apps with AI and vibe coding in Power Apps.

What you get

Every deliverable names its form, so you can check it and keep it.

DeliverableFormWhat it answers
Ranked findingsDocumentWhat is wrong, how bad it is and what to fix first, with a plain map of the app
Sign-in planDocumentEntra ID where you run Microsoft 365, or your current provider: how people sign in, who may use the app and which policies cover it
Repo in your GitHub org or Azure DevOps projectRepoThe code under your organization’s control, with history and access you manage
CI checks for secrets, dependencies and codeConfigured workflowSecret scanning, code scanning on every change, and dependency alerts, where your GitHub plan includes them; on Azure DevOps, the same checks through GitHub Advanced Security for Azure DevOps
Hosting decision (harden, move or rebuild)DocumentHarden where it runs, move to a Power Apps code app, or rebuild on Power Platform
Ownership and support planDocumentWho owns the app, who reviews changes and who answers when it breaks
Re-check after fixesDocumentEach finding in the document marked fixed, open or accepted. New code gets secret, dependency and code scanning on every change; access-rule changes still need a two-account retest, and the ownership plan names who runs it

The read-through also records where the code, the hosting and the database live today, and how each one moves to your accounts.

A sample row from the findings document. Illustrative example, not from a client:

SeverityAreaFindingFixStatus
HighRow-level accessTest user B read user A’s orders through /api/ordersAdd RLS keyed to auth.uid() (with Supabase Auth; with Entra, keyed to the mapped identity), retest with both accountsOpen

On the CI checks:

  1. Push protection blocks supported secret types before they land. GitHub says anyone with write access “can bypass push protection by specifying a bypass reason”, and GitHub “Adds the bypass event to the audit log” (GitHub Docs).
  2. Licenses on private repos. On organization-owned private repos, secret scanning needs GitHub Secret Protection and code scanning needs GitHub Code Security; the plan says which checks your current GitHub plan covers.
  3. The pattern is the one in scanning AI-generated code in pipelines on az365.ai.

What this review does not cover

  • A penetration test.
  • A compliance or legal sign-off.
  • Load testing.
  • A backup or disaster recovery test.
  • A promise that no other flaws exist.
  • Attack testing of AI features, such as prompt injection, unless it is scoped in writing.
  • Hosting or running the app after handover. Support after handover is scoped separately in writing.
  • Fixing the findings or a rebuild. Those are scoped in writing after the findings.

What stays with your team

  • Licenses: GitHub Secret Protection or Code Security on private repos, Entra ID P1 for Conditional Access, and Power Apps Premium for the Power Platform routes.
  • Acting on scanner alerts and dependency updates.
  • Conditional Access and Power Platform policies.
  • Incident response.

How we take your app to production

From AI-built app to production Six steps from top to bottom. A free 30-minute review, then a code and config read-through, then ranked findings. The fourth step, the fix or rebuild plan, splits the path into three routes: harden the app where it runs, move it to a Power Apps code app, or rebuild it on Power Platform. The routes join again to implement with your team, and the last step is a re-check of every finding. Free 30-minute review Code and config read-through Ranked findings Fix or rebuild plan Harden where it runs Power Apps code app Rebuild on Power Platform Implement with your team Re-check every finding
One path in, three routes after the findings, one re-check at the end.
  1. Free 30-minute review. Top three risks and one next step, in writing. Book it here; we reply by email to agree a time.
  2. Code and config read-through. Read-only access to the repo, the builder project and the database settings, plus access tests with two test accounts on a copy, with test or masked data where the app allows it. It also records where the code, the hosting and the database live today.
  3. Findings. The ranked findings document, with anything that exposes data today flagged first.
  4. Plan. The sign-in plan, the hosting decision (harden, move or rebuild) and the ownership plan.
  5. Implement with your team. We do the repo move and the CI setup with your team. Fixes and any rebuild are scoped in writing after the findings: your team, us, or both, under your change control.
  6. Re-check. We test every finding in the document again and mark each one fixed, open or accepted. New code gets secret, dependency and code scanning on every change; access-rule changes still need a two-account retest, and the ownership plan names who runs it.

Business owner with a first app? Start with our guide for business owners who built an app with AI. IT lead finding apps you did not approve? See governing AI-built apps for IT. Want a governed way to build the next one? See the AI software factory.

FAQ

Is this a pen test?

No. We read the code, the configuration and the settings, and we test the access rules with test accounts in a copy of the app. We do not attack your systems or run a penetration test. If your industry or a customer contract needs a pen test, the findings tell you what to fix before that test, and you hire a pen test firm for it.

Do you rely on scanners?

Not alone. Scanners run in the CI checks we set up, because they catch known patterns on every change: GitHub describes Dependabot alerts as helping "you find and fix vulnerable dependencies before they become security risks" (GitHub Docs). In our view, the issues that matter most in AI-built apps are logic issues a scanner cannot judge, such as who may read which record. Those come from reading the code and testing with two accounts.

Can you work with code we do not fully understand?

Yes. In our experience that is the usual case with an AI-built app. The read-through starts with a plain map of what the app does, where its data lives and which outside services it calls, so your team understands it before anything changes. The map is part of the ranked findings document.

Do we have to move to Microsoft?

No. If the app is sound, we harden it where it runs or on the host you choose. We work with Microsoft tools first, so where you already run Microsoft 365, company sign-in with Entra ID and hosting on Azure or Power Platform are on the table, and the hosting decision says which fits and why.

Our code lives in Azure DevOps, not GitHub. Does that work?

Yes. The repo stays in your Azure DevOps project. Microsoft offers GitHub Advanced Security for Azure DevOps as two products, Secret Protection and Code Security, and both work with Azure Repos (Microsoft Learn). The plan says which of those your organization has turned on.

How do you handle our secrets?

We never ask for them in email or chat. We work in your GitHub organization and your tenant, under accounts you grant and can remove. If we find a secret in the code, we tell you to rotate it first; GitHub's guidance is to "rotate the affected credential immediately" (GitHub Docs). Then the key moves to server-side settings or a key vault.

What if customers already use the app?

Then we do not change the live app first. We work on a copy, rank the findings by risk to the data your customers have already entered, and plan fixes so the live app keeps running. On the copy we use test or masked data where the app allows it; otherwise we work inside your tenant under accounts you grant and can remove, and the findings document holds no customer records. If a finding exposes customer data today, it goes to the top of the list and we tell you as soon as we find it.

How long does it take and what do you need from us?

The length of the read-through is set in the written scope after the free review, because it depends on the size of the app. We need read-only access to the repo, the builder project and the database settings, plus one person who knows what the app should do.

Can a Lovable app use Entra ID sign-in?

We do not rely on any builder's own sign-in feature for this. The route we check is the general one: the app is registered in Entra ID, signs users in with OpenID Connect, has its own sign-up and local accounts switched off, and has assignment required set to Yes. That needs a host that allows a custom sign-in provider; where the current host does not, the hosting decision covers exporting the app or moving it to a host you control.

Is the review a sales call?

No. The 30 minutes are about your app. You leave with the top three risks and one next step, in writing, and the note is yours to use with anyone. If none of our services fits, the note says so.

What does it cost?

The review is free. We scope in writing after the free review; we do not publish a price list.

We already have a Microsoft partner or MSP. Why talk to you?

Keep them. An app built in Lovable or Replit often has no owner in either the MSP contract or the partner contract. We add governance of AI-built apps: the code read-through, the access tests and the hosting decision (harden, move or rebuild). We start read-only, we use Microsoft tools first, such as Entra ID sign-in and Power Platform policies, and the findings go to whoever runs your tenant.

Is your AI-built app ready for real users?

Tell us what the app does, where it runs and who uses it. You leave with the top three risks and one next step. We reply by email to agree a time.

Book the free review