/ Marcin Mroczka
How to audit and govern vibe-coded internal apps
Audit and govern vibe-coded internal apps with a practical framework for risk containment, security reviews, stabilization and production ownership at scale.

Vibe-Coded Internal Apps in Production: How to Audit, Stabilize and Govern Employee-Built Software
Employees can now create useful internal software with hosted app builders, low-code platforms and AI coding assistants. "Vibe-coded" usually means software produced through natural-language prompts with limited review of the resulting code.
These tools carry different risks. An IDE assistant generates code inside an existing workflow. A hosted builder may also control deployment, storage and authentication. An AI agent can take actions through connected tools.
An app should be treated as production software once people depend on it, it processes company data or it can change business systems. OWASP's Citizen Development Top 10 now covers low-code tools, AI-assisted coding and AI agents. CSA also identifies a governance gap around employee-built AI applications that operate outside normal development controls. (owasp.org)
Contain urgent risks first
Do not begin with a routine inventory if an app may be actively compromised. Remove public access when warranted and revoke exposed credentials, tokens and sessions. Preserve logs and deployment evidence before making destructive changes.
Review access records to determine whether data or connected systems were affected. Remove secrets from code, build artifacts and repository history where appropriate. Search for copied credentials in other systems. Then notify security and involve privacy, legal or compliance teams when confidential or regulated data may have been exposed.
This is different from imposing a blanket ban. Most employee-built apps can enter a structured review process. Confirmed exposure or unlawful processing may require immediate suspension.
Discover and inventory applications
Voluntary registration should be simple and non-punitive, but it cannot be the only discovery method. Compare submissions with identity-provider logs, cloud resources, source-control organizations, DNS records, procurement data, approved platform dashboards, endpoint telemetry and data-loss-prevention alerts.
Record enough information to support triage:
- business purpose, active users and last deployment
- business owner, technical owner and backup maintainer
- repository, hosting, environments and deployment process
- internet exposure, authentication and privileged connections
- data classification, residency, retention and deletion
- vendors, APIs, databases, AI models and model-data reuse settings
- upstream dependencies and downstream business systems
- regulatory obligations, recovery targets and continuity needs
A lunch-order form should not receive the same review as an app handling payroll or customer records. Use the inventory to assign a risk tier based on data sensitivity, exposure, privilege, user population, criticality, compliance scope, maintainability and recoverability.
Audit what the application can actually do
Combine automated testing with architecture, threat-model and business-logic review. Depending on the stack, use static analysis, dependency and license scanning, secret scanning, infrastructure-as-code checks, dynamic testing and API authorization tests. Review database policies, tenant isolation, build scripts and CI/CD permissions. Scanner findings still require human validation.
Check lockfiles, package sources, protected branches, peer review and artifact provenance. Consider a software bill of materials for higher-risk systems. Set remediation deadlines based on severity rather than leaving dependency updates unscheduled. CISA guidance supports protecting build secrets, declaring dependencies and retaining useful security logs. (cisa.gov)
Separate identity controls clearly. Use workforce SSO and MFA for employees. Test authorization for every sensitive action. Give workloads scoped identities or service accounts and eliminate shared credentials where technically feasible.
AI-enabled apps need additional review. Confirm what prompt and context data leave the organization and whether providers retain or reuse it. Test direct and indirect prompt injection, retrieval-source trust and output handling. Restrict agent tools and permissions. Require human approval before consequential actions. Track model-version changes and monitor unsafe or incorrect outputs. NIST and OWASP identify prompt injection, sensitive-data disclosure, insecure output handling and excessive agency as material generative-AI risks. (nvlpubs.nist.gov)
Approve, stabilize, rebuild, isolate or retire
Apply documented criteria and choose one outcome:
- Approve when controls match the risk and the architecture is supportable.
- Stabilize when targeted fixes can make the current app safe.
- Rebuild when business value is proven but the design cannot be supported.
- Isolate when replacement needs time and exposure can be reduced.
- Retire when value does not justify remediation or ongoing risk.
Each decision needs an approver, deadline and exit criteria. Temporary exceptions should expire.
A public dashboard containing copied CRM data should be removed from public access immediately. Credentials should be revoked and evidence preserved. The organization should then assess exposure and begin incident or privacy review when personal or confidential data may have been disclosed.
Establish production ownership
Every surviving app needs a business owner and a technical support owner. Critical apps also need backup maintainers, runbooks, handover procedures and service expectations.
Production readiness should include tested restores, rollback procedures, environment separation, access reviews, monitoring ownership, patch targets and an incident plan. Review risk periodically and after material changes. Define retention, vendor-management and decommissioning requirements before the original employee-builder leaves.
This process turns accidental software into a managed portfolio without discarding useful innovation.
Commercial note: Organizations without internal capacity may engage an external provider for a technical audit, containment plan and stabilization roadmap.




