Is Vibe Coding Bad? Four Tools, Four Guardrails
Is vibe coding bad? Not by itself. Here is which tool fits which job and the setting to change before company data goes in.
In this article · 7 sections
Banning AI app building does not stop it. Our view: it moves it. The team lead whose Lovable prototype gets blocked on Tuesday rebuilds it on a personal account by Wednesday. You now have no workspace to configure, no plan tier to check and no setting to change.
So, is vibe coding bad? Our view is no. The tool is rarely the problem.
The problem is company data going into a tool nobody matched to the job, with the vendor’s defaults left exactly as shipped. That is how shadow AI spreads: out of reach of the people who write the rules, not because the tools are reckless.
Every vendor in this article, Microsoft included, documents real controls. Each one then says in writing that review stays with the builder. You will see each of those lines below, in the vendor’s own words.
The useful question is not “allow or block”. It is “which tool, for which job, under which rule”.
Is vibe coding bad, or is the tool choice bad? A three-question test
Before anyone debates features, ask three questions of every tool request. Answer each one from that vendor’s own documentation, not from its marketing page.
- What job is it built for? A clickable prototype, an internal agent and a production codebase are different jobs.
- Where do data, code and runtime live? Inside your tenant, on the vendor’s hosting, or on the builder’s laptop.
- What controls exist before company data goes in? These are the defaults you can change, the admin settings you can enforce, and the plan tier those settings require.
Read all four sets of docs the same way. Each is a vendor describing its own product, and that includes Microsoft Learn.
One more thing to be plain about. No public source ranks these four tools by security outcomes, and no vendor page we reviewed compares Copilot Studio with the other three. The routing in this article is our practitioner opinion, built from the documented controls. An analyst quoted in the press points at who is building. Erik Nost of Forrester told Computerworld that “Vibe coding makes writing apps more accessible to teams that don’t have developer or security experience, which expands the enterprise attack surface.”
Takeaway: score every tool request against these three questions and write the answers down. That record is what you defend later.
Copilot Studio: inside your tenant, with its own trap
Built for, in our view: internal agents that employees reach with their Entra ID sign-in, working over data your tenant already governs. Wrong job, in our view: anything customer-facing that a maker set up without an admin review, and any app you need in production built on a surface Microsoft still labels preview.
Microsoft documents where the agents live: “You store the agents you create in an environment.” The same environments page carries a note: “Use a non-default production environment for agents that you want to deploy to production.” Your rule follows directly: no production agent in the default environment.
The authentication default looks reassuring. Microsoft’s data policies page says “the Authenticate with Microsoft authentication option is on by default.” It then adds: “However, agent makers in your organization can select No authentication to allow anyone with the link to chat with your agent.”
The control is yours to set. Microsoft documents it this way: “To prevent agent makers from publishing agents that don’t require authentication, configure a data policy that blocks the connector Chat without Microsoft Entra ID authentication in Copilot Studio.”
The page also notes that “Since early 2025, data policy enforcement is in effect for all tenants, as announced in the message center alert MC973179: Copilot Studio - Upcoming updates to data loss prevention enforcement.” It adds: “Agent data policy enforcement exemption is no longer supported.” If you were counting on an exemption, you no longer have one.
“It’s in our tenant” is not a guardrail. Microsoft’s security scan page says “By default, agents are secure” and that “Copilot Studio automatically runs a security scan and warns makers before publishing.” The docs promise a warning. Our view: a warning is something a maker can click past under deadline.
Two changes deserve a gate you own. The first is moving from End user credentials to Maker-provided credentials, which the scan only warns about. The second is sharing: “The default agent is shared with no one and makers can then share it with everyone in the organization.” Treat both as review triggers, not as maker choices.
Be honest about status when people ask about building apps rather than agents. The controls above are documented for agents, so do not assume they carry over.
Microsoft’s app migration page states: “Apps in Copilot Studio is in public preview. Preview features aren’t meant for production use and might have restricted functionality.” For Copilot Cowork, it also says: “The App skill is available only to Frontier program members.” Microsoft’s own security and governance page for Copilot Managed Runtime, where these apps run, says: “These protections don’t replace reviewing app code and dependencies.”
That last line is Microsoft’s version of what every vendor here says. The platform helps. The review is still yours. Our view for Power Apps makers is the same: know when to stop prompting and call an architect.
Takeaway: ship the data policy that blocks “Chat without Microsoft Entra ID authentication in Copilot Studio” this week. Write down that production agents live only in a non-default production environment.
Lovable: fast prototypes on a backend you must review
Built for, in our view: clickable prototypes, demos and idea validation with synthetic data. Wrong job, in our view: real customer or employee records, before someone has reviewed the database rules.
Lovable documents its own scope: “Lovable hosts the apps you publish, so your visitors can open them on the web” (hosting), and “Lovable includes a built-in backend (Cloud) for your app, with a database, storage, authentication, realtime, and functions.” That built-in backend runs on Supabase’s open-source foundation. Your data and runtime are therefore on vendor hosting, not in your tenant.
The defaults deserve your attention first. In Lovable’s agent permissions table, both “Modify database” (“Make schema and policy changes via SQL migrations”) and “Change data” (“Add, update, or delete data in your database tables”) default to “Always allow”. Lovable defines that setting as: “Lovable automatically performs the action, without asking for review or approval.”
Backward-incompatible migrations default to “Never allow”, which is the right instinct. The other two are the settings to tighten before real data goes in.
Two terms matter here. Row-level security (RLS) is a set of rules inside the database that decide which rows each signed-in user can read or change. The service role is the backend’s master key to the database, and it skips those rules.
Lovable’s security best practices put it this way: “Server-side code that uses the service role, the privileged database access your backend has, bypasses RLS, so that code must check permissions itself.” On setup, Lovable says it “sets up basic RLS policies automatically, but you should review and adjust them early in development.” Basic is a starting point, not a review.
Keys cause confusion too. Lovable says browser-exposed VITE_ values such as the publishable key “are embedded into the client bundle at build time and are safe to be public,” so that key is not a secret (Lovable secrets). The rule that matters comes from Supabase: “Never use a secret key in the browser or expose it to customers.”
Plan tier decides what you can enforce. Lovable’s plan comparison lists single sign-on on Business and Enterprise only, and SCIM and audit logs on Enterprise only.
“Workspace data excluded from AI model training by default” is “Yes” on Business and Enterprise. On Free and Pro it is “Opt out per account”. A team on Pro accounts gives you no SSO and a per-person training opt-out to chase.
Access has two switches, not one. Lovable documents that “Publishing does not change who can access your project in the editor, and changing project access does not affect who can visit the published app” (project access). A private project does not make a private app.
Public incidents illustrate the controls. In its April 2026 incident post, Lovable says a researcher reported that data within public Lovable projects could be accessed by any authenticated user, and that “Private projects and Lovable Cloud were never impacted.” CVE-2025-48757, which describes an insufficient RLS policy, is disputed by Lovable, and NVD lists it as “Deferred”. The first points to project visibility, the second to RLS.
Lovable’s security overview closes the loop: its checks “can’t guarantee that your app is secure or replace a full security review.”
Takeaway: use Lovable’s own “Before going live, verify:” list as your gate. “RLS is enabled on all sensitive tables”, “Users cannot access other users’ private data”, “Shared and public data behaves as intended”, “New tables are not missing policies”. No sign-off, no real data.
Replit: separated databases, public by default in personal workspaces
Built for, in our view: prototypes and small internal tools, built inside an organization workspace. Wrong job, in our view: anything with real data built in a personal workspace.
In our view, one setting carries most of the risk. Replit’s access docs say “apps in your personal workspace default to Public, and apps in an organization workspace default to a private option.” Public means “Anyone on the internet with the URL can use your app.” Where the builder starts sets who can see the result by default.
The database story has changed. In July 2025, Jason Lemkin (@jasonlk) posted that “@Replit goes rogue during a code freeze and shutdown and deletes our entire database.” Replit’s Amjad Masad replied that it was “Unacceptable and should never be possible,” and said Replit “started rolling out automatic DB dev/prod separation to prevent this categorically.”
Today Replit documents that “Every Replit App works with two databases” and that “Agent is not able to modify the production database” (development and production). The caveat is on the same page: “At the time of publishing, any changes you’ve made with Agent to the structure of your development database (adding and deleting columns or tables) are applied to your production database.” Replit adds that publishing applies changes to “row-level security policies” along with tables and columns. Publish is the moment schema reaches production, so publish is where your review belongs. Taking an app from an outside builder into production at work? See how we take a vibe-coded app to production.
Recovery is not rollback. Replit’s data recovery page says “Checkpoint rollback never touches your production database.” Point-in-time recovery is “turned on when the database is created, with a 7-day window”. Make sure builders know which tool restores which database before they need it.
The admin controls sit on Enterprise. Replit’s Enterprise page lists “Admin governance controls” as “Require private deployments, ban public apps, mandate security scans, and pin deployment geographies.” The security page adds a publish control, “In Publish > Advanced, use Block publishing of critical vulnerabilities to stop critical findings from shipping.” It also says plainly: “AI-generated code still needs security review, especially around authentication, database queries, secrets, and data handling.”
Takeaway: if Replit is in use, require organization workspaces. On Enterprise, turn on require private deployments, ban public apps and mandate security scans. Make “Block publishing of critical vulnerabilities” part of the standard publish checklist.
Claude Code: a power tool for people who already read code
Built for, in our view: speeding up developers who review every diff. Wrong job, in our view: handing it to citizen developers as a no-code shortcut.
Anthropic documents that “Claude Code runs locally” and that “Cloud sessions run in Anthropic-managed virtual machines by default instead of locally” (data usage). In our analysis, the data risk depends on what the generated code connects to: your database, your APIs and your credentials.
Permission modes are the settings that decide how often Claude Code stops to ask before it acts. The default does not ask before every action. Anthropic’s permission modes page says: “With Claude Code v2.1.283 or later, auto mode is the built-in starting permission mode for interactive terminal and VS Code sessions.” It also says: “Auto mode reduces permission prompts but does not guarantee safety.”
On Team and Enterprise, “Administrators can turn it off for the organization by setting permissions.disableAutoMode to “disable” in managed settings.” Deny rules hold everywhere: “Deny rules block in every mode, including bypassPermissions.”
The sandbox reads better in the headline than in the detail. Anthropic’s sandboxing page says “The sandbox is off by default.” It “covers shell commands only. Claude’s file tools, MCP servers, and hooks run outside it.”
The same page adds: “On native Windows, Claude Code runs commands unsandboxed.” The working-directory boundary is a prompt, not a wall: “a Bash command you approve can still write anywhere your user account can” (security).
Central control does exist. Anthropic’s admin setup page documents that “Claude Code enforces organization policy through managed settings that take precedence over local developer configuration,” delivered “from the Claude admin console, your mobile device management (MDM) system, or a file on disk.” On training, Anthropic’s data usage page says that Anthropic “does not train generative models using code or prompts sent to Claude Code under commercial terms, unless the customer has chosen to provide their data to us for model improvement”.
Anthropic’s security page states the review duty plainly: “You’re responsible for reviewing proposed code and commands for safety before approval.”
Takeaway: deliver managed settings centrally, with your deny rules and your decision on auto mode. Allow bypassPermissions only in “isolated environments like containers, VMs, or dev containers without internet access”. Keep human review as the gate: every diff, and every proposed command Claude Code asks you to approve.
The one-page decision rule and the first setting to change in each tool
Paste this into your internal wiki as it stands. The “Built for” bullets and the rule below are our practitioner opinion. The other three bullets for each tool trace to that vendor’s own docs, linked in the sections above.
Four tools, matched to the job
Copilot Studio
- Built for (CDA view): Internal agents for signed-in employees
- Where data and code live (vendor docs): Agents stored in a Power Platform environment
- Default to change first: Block the “Chat without Microsoft Entra ID authentication in Copilot Studio” connector by data policy
- Status notes: Apps in Copilot Studio is preview
Lovable
- Built for (CDA view): Prototypes and demos with synthetic data
- Where data and code live (vendor docs): Lovable hosts the app and the built-in backend
- Default to change first: Set “Modify database” and “Change data” away from Always allow, then review RLS
- Status notes: SSO on Business and Enterprise only. Training exclusion is opt out per account on Free and Pro
Replit
- Built for (CDA view): Prototypes and small internal tools in an org workspace
- Where data and code live (vendor docs): Every Replit App works with two databases, one for development and one for production
- Default to change first: Build in an organization workspace, not a personal one (personal apps default to Public)
- Status notes: Admin governance controls are listed on Enterprise
Claude Code
- Built for (CDA view): Developers who review every diff
- Where data and code live (vendor docs): Runs locally. Cloud sessions run in Anthropic-managed virtual machines
- Default to change first: Set auto mode policy and deny rules in managed settings
- Status notes: Auto mode is the starting mode for interactive terminal and VS Code sessions since v2.1.283. Sandbox off by default
The routing rule uses three inputs: data sensitivity (synthetic, internal, customer or regulated), destination (inside your tenant, vendor-hosted, or on the builder’s machine), and builder (a citizen developer, or a developer who reviews code). In our practitioner view:
- If the data is synthetic, any of the four tools is fine, as long as the default to change first for that tool has been changed. Claude Code still stays with developers who review code.
- If the data is internal and the destination is inside your tenant, build Copilot Studio agents in a non-default production environment, with the authentication data policy in place and your review gate on Maker-provided credentials and organization-wide sharing.
- If the data is internal and the destination is vendor-hosted, the work goes ahead only on a Replit organization workspace or a Lovable Business or Enterprise plan (the Lovable tiers with SSO). The default to change first for the tool in use must be changed, someone must sign off on access rules before real data goes in (RLS in Lovable, publish review in Replit), and who can visit the published app must be set deliberately (the private option in Replit, Require private deployments on Replit Enterprise, published website access in Lovable).
- If the data is customer or regulated and the destination is vendor-hosted, line 3 still applies, and no build takes real records or goes live without a named reviewer who signs off on access rules (RLS in Lovable, publish review in Replit).
- Claude Code sits outside lines 2 to 4. Whatever the data and wherever it runs, only a developer who reviews code may use it, under centrally delivered managed settings. Customer or regulated data also needs a named reviewer’s sign-off before the code touches real records. The review covers the systems the code connects to, not only the code.
- Whatever the lines above allow, a build that depends on a preview surface (Apps in Copilot Studio) stays a pilot on synthetic data, because Microsoft says preview features “aren’t meant for production use”.
- Anything that does not match a line above, including customer or regulated data in Copilot Studio agents, stays on synthetic data until someone in IT reviews it.
Then change these settings, each one traceable to the vendor’s own docs:
- Copilot Studio: the data policy blocking “Chat without Microsoft Entra ID authentication in Copilot Studio”. A non-default production environment for production agents. A review gate on Maker-provided credentials and organization-wide sharing.
- Lovable: the “Modify database” and “Change data” agent permissions. The four-item “Before going live, verify:” list. A Business or Enterprise plan, the tiers with SSO, for anything beyond synthetic data.
- Replit: organization workspaces only. On Enterprise, require private deployments, ban public apps and mandate security scans. “Block publishing of critical vulnerabilities” under Publish > Advanced.
- Claude Code: permissions.disableAutoMode set to “disable” in managed settings. If you keep auto mode on, Anthropic says to use it “for tasks where you trust the general direction, not as a replacement for review on sensitive operations.” Deny rules for the commands and destinations you never want touched. bypassPermissions limited to isolated environments.
Takeaway: circulate this rule before the next tool request lands, not after the first incident. One page on a wiki, one changed default per tool, set before anyone pastes in a customer record.
Not sure which experiments crossed a line?
Is vibe coding bad for your company? That depends on what your teams have already built and where the data went. Bring the experiments your teams have shipped or plan to ship. On the call we look at what has been built or is planned with AI, name the top three risks, and recommend one next step.
Related articles
What Is AI Development Governance? A Plain Definition
What is AI development governance? How an organization governs the apps people build with AI: a plain definition, an eight-part model, and how it differs from APM.
Customer-Facing Agent Governance: What to Settle Before Launch
Customer-facing agent governance on one page: the written boundary a department head brings IT before a Customer Conversation harness agent goes live.
Copilot Cowork Governance for IT: One Control Map for Managed Runtime Apps
Copilot Cowork governance for IT leads: one control map for Cowork, Copilot Studio and CLI apps on Copilot Managed Runtime, and the gaps to close.