“Vibe coding” is building software by prompting a model and accepting the result without reading it closely. The Cloud Security Alliance’s June 2026 research note, The Vibe Coding Governance Gap, traces the term to Andrej Karpathy in February 2025 and says it went from fringe to broad enterprise use in about sixteen months. A policy that was never written for it is now the thing standing between a prompt and production data.

This article lays out what such a policy needs to contain. It is deliberately about controls, not prohibition, because banning the practice mostly moves it out of sight.

The problem a policy has to solve

The CSA note’s central argument is an accountability gap: code can reach production without any accountable person understanding its security properties. It also points to a provenance gap, where many generated apps have no retrievable source code, dependency list, or record of which prompt and model produced them. And it describes “shadow operations,” where employees build data-handling apps on approved platforms without IT or security involvement.

Some of the numbers it cites are worth knowing, with a caveat. They are secondary figures the note attributes to other organizations, we did not trace each to its original study, and several come from security vendors:

  • GitGuardian reported 28.65 million hardcoded secrets in public GitHub commits in 2025, up 34% year over year, and the note reports that commits co-authored by Claude Code leaked secrets at 3.2% versus 1.5% for human-written code.
  • IBM’s survey, as cited, found 63% of 600 organizations had no AI governance policy.
  • Georgia Tech’s Vibe Security Radar counted 6 AI-code CVEs in January 2026, 15 in February and 35 in March. The note itself cautions that rising research attention and rising production use both contribute, so the trend is hard to read.

Treat these as evidence that the risk is real and unmeasured, not as precise rates.

What an enterprise policy actually requires

1. An inventory and an owner for every app

You cannot govern what you cannot list. Require lightweight, non-punitive registration for any AI-built application, and give each one a named owner responsible for patching and retirement. The CSA note recommends starting with an inventory of citizen-built apps on sanctioned platforms and monitoring for unregistered ones. Make registration easy, or people will skip it.

2. Risk tiers that scale the controls

One rule for everything is either too heavy for a throwaway script or too weak for a customer database. The CSA note suggests three tiers:

  1. Internal tools with non-sensitive data.
  2. Apps handling personal or regulated data.
  3. Apps that call AI APIs or take autonomous actions.

Higher tiers get mandatory review, scanning and sign-off before launch. Tier one can stay light.

3. Deterministic gates, not model opinions

Do not rely on one model to certify another’s output. Put the enforcement in tools that behave the same way every time: secret scanning, software composition analysis for dependencies, static analysis, and required authentication configuration before deploy. The CSA note recommends extending composition analysis and secrets scanning to low-code and no-code exports and requiring scans before any app handles regulated data. Where code export is impossible, it suggests requiring vendor security attestations and audit logging.

4. Human review on the path to production

A human must approve anything that touches production data or a shared environment. For engineering teams this is branch protection with required reviewers on every AI-authored change, as described in our guide to reviewing agent-written code. For citizen developers it is a gate between sandbox and production, owned by a person who can read the code or its equivalent.

5. Provenance you can retrieve

Record what generated each app: the tool, the model, the prompt or session reference, and the dependency list. When a CVE lands in a library or a model turns out to have a flaw, you need to find every app it touched. Without this, incident response becomes archaeology.

6. Data and secrets rules

Prohibit pasting credentials or production data into prompts, require secrets to come from a vault, and apply data loss prevention to outbound calls from internal apps to external AI services. The CSA note names the last item among its immediate recommendations.

7. Backend defaults that fail closed

The incidents the note cites, such as exposed databases where row-level security was off or an unauthenticated Firebase backend, share a pattern: generated code worked in a demo with permissions open. Require platform templates that ship with authentication and access rules enabled, so the insecure state is the one a builder must opt into.

What to leave out

  • Blanket bans. They create shadow use, which is the worst outcome for visibility.
  • Policies keyed to a tool name. Tools change monthly. Write controls around data class, deployment target and autonomy.
  • Unenforced documents. A policy without a scanner, a gate or a registry is a statement of intent. If a rule cannot be checked automatically, say who checks it.

A starting sequence

First, find what already exists: inventory the apps and the platforms your people use. Second, adopt the three tiers and apply the heavy controls only to tiers two and three. Third, wire secret and dependency scanning into every path to production, including the no-code ones. Fourth, add provenance logging. The CSA note also points out that standards such as NIST’s AI RMF and OWASP’s LLM Top 10 give little guidance for non-professional builders, so expect to write much of this yourself and revisit it as the standards catch up.