Skip to content
Misconfiguration Write-up Beginner

Wiz Research Discovers One in Five Organizations Exposed to Systemic Risks in Vibe-Coded Applications - Here's How to Secure Them

Wiz Research found that many applications built with vibe-coding platforms like Lovable have client-side authentication, hardcoded secrets, overly permissive database access, or no authentication at all. An attacker could read passwords or API keys from JavaScript, bypass login by setting a local storage flag, or access exposed database tables to steal sensitive data.

Gal Nagli Follow

Published on wiz.io

The LLM revolution has profoundly transformed code generation, giving rise to "vibe coding," where natural language prompts replace traditional programming. This paradigm shift empowers a new generation of builders (many with little to no technical background) to create and deploy fully functional applications with…

Gal Nagli, on wiz.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the root cause is that developers trusted the browser to enforce security, embedding secrets and authentication logic in client-side code and leaving database access rules too permissive.

Impact

Attackers could gain unauthorised access to applications, steal user credentials and API keys, and read sensitive data such as PII and IP addresses from exposed databases.

What the attacker needed

Access to the application's client-side code; a publicly reachable vibe-coded app; no authentication on internal apps

The fix

Authentication and authorisation should be enforced on a backend server, secrets should be stored securely and proxied through a backend, database access should follow a deny-by-default policy, and internal applications should require authentication.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Vibe-coding platforms let people build apps by describing what they want in plain language. The researchers found that many of these apps put secret passwords or API keys directly in the code that runs in your browser, where anyone can see them. They also found databases that were left open, so anyone could read private information.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by Gal Nagli

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.