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:
- A vibe-coded CRM, built and checked
- Vibe coding on Dynamics 365
- Scanning AI-generated code in pipelines
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.
| Area | What we check | Why it matters |
|---|---|---|
| Secrets | API keys, database keys and tokens in the code, the browser bundle and the repo history | A key in the front end is readable by every visitor |
| Sign-in | Who can sign in, how accounts are created, admin accounts and default passwords | An open sign-up page lets anyone in |
| Data exposure | What each page and API returns, and what loads with no sign-in | A screen can hide data the API still sends |
| Row-level access | Whether one user can read or change another user’s records, tested with two accounts | One customer reading another customer’s records is the gap that matters most, in our view |
| Dependencies | Outdated or vulnerable packages, and packages nobody uses | Every package is code you now own |
| Logging | Whether sign-ins, errors and data changes are recorded, and where | Without logs you cannot tell what happened |
| AI features | Model API keys, prompts that take user input, spend limits and data sent to the model | A prompt can be steered, and an open key can run up the bill |
Not this one?
- Five checks an owner can run in a browser: the vibe coding security checklist.
- The top three risks in 30 minutes: the free AI app review.
- A whole Microsoft tenant, with Copilot, agents and shadow AI: the AI security audit.
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 where | Sign-in used | Who limits access | Source |
|---|---|---|---|
| Staff and admins | Your Entra ID work accounts | Your IT team, with assignment required and sign-in policies | Microsoft Learn |
| Customers | A customer sign-in, such as Microsoft Entra External ID, or the provider you use today | The app’s own access rules | Microsoft Learn |
| On Azure App Service | Built-in authentication with Entra, sign-in required on every request, your tenant only | App Service settings, then the app’s own rules | Microsoft Learn |
| As a Power Apps code app | Entra authentication, built in | Power Platform sharing limits and your IT team’s policies | Microsoft Learn |
| Anywhere else | The app registered in Entra ID, signing users in with OpenID Connect | The app’s own access rules | The 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:
- 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).
- 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 licenses | What 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 P1 | Security 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:
- Do customers or other outside users rely on it? Harden it, on its current host or moved to Azure App Service.
- Only your staff, and mostly forms, lists and approvals? Rebuild it as a canvas or model-driven app on Dataverse.
- 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.
| Route | Fits when | Does not fit when | Data stays in |
|---|---|---|---|
| Harden it where it runs (Azure App Service or your current host), with the repo in your GitHub org | The code is readable, the data model is sound, and customers or outside users rely on it | The data model is wrong, or nobody on your side can own the code | The database it uses today |
| Move it to a Power Apps code app | Users are your own staff with Microsoft accounts, and the app is built with a framework such as React or Vue | The app serves the public, or users lack the Power Apps licenses code apps need | Dataverse, or the current database reached through a connector |
| Rebuild it on Power Platform with Dataverse | The app is mostly forms, lists and approvals over business records | The app depends on a custom interface Power Apps cannot reproduce, or users lack Power Apps Premium use rights | Dataverse |
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.
| Deliverable | Form | What it answers |
|---|---|---|
| Ranked findings | Document | What is wrong, how bad it is and what to fix first, with a plain map of the app |
| Sign-in plan | Document | Entra 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 project | Repo | The code under your organization’s control, with history and access you manage |
| CI checks for secrets, dependencies and code | Configured workflow | Secret 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) | Document | Harden where it runs, move to a Power Apps code app, or rebuild on Power Platform |
| Ownership and support plan | Document | Who owns the app, who reviews changes and who answers when it breaks |
| Re-check after fixes | Document | Each 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:
| Severity | Area | Finding | Fix | Status |
|---|---|---|---|---|
| High | Row-level access | Test user B read user A’s orders through /api/orders | Add RLS keyed to auth.uid() (with Supabase Auth; with Entra, keyed to the mapped identity), retest with both accounts | Open |
On the CI checks:
- 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).
- 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.
- 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
- Free 30-minute review. Top three risks and one next step, in writing. Book it here; we reply by email to agree a time.
- 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.
- Findings. The ranked findings document, with anything that exposes data today flagged first.
- Plan. The sign-in plan, the hosting decision (harden, move or rebuild) and the ownership plan.
- 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.
- 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.