惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
人人都是产品经理
人人都是产品经理
博客园 - 司徒正美
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
罗磊的独立博客
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
J
Java Code Geeks
L
LangChain Blog
S
SegmentFault 最新的问题
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog

Wiz Blog | RSS feed

Meet Wiz for M365: Bringing SaaS into the Security Graph Bringing Security Visibility to Vercel with Wiz Axios NPM Distribution Compromised in Supply Chain Attack Tracking TeamPCP: Investigating Post-Compromise Attacks Seen in the Wild The Wiz Blue Agent, now Generally Available Beyond the Badge: What Achieving Microsoft’s Certified Software Designation Means for Your Cloud Security Introducing the Green Agent: AI-Powered Remediation for the Cloud Three’s a Crowd: TeamPCP trojanizes LiteLLM in Continuation of Campaign KICS GitHub Action Compromised: TeamPCP Strikes Again in Supply Chain Attack Introducing the Wiz Red Agent- AI-Powered Attacker Introducing Wiz AI Application Protection Platform (AI-APP) Introducing Wiz Agents & Workflows: Security at the Speed of AI AI Runtime Threat Detection: From Input to Real-World Impact Trivy Compromised: Everything You Need to Know about the Latest Supply Chain Attack It’s Official: Wiz Joins Google Understanding and Reducing AI Risk in Modern Applications Introducing Wiz Tenant Manager: Multi-Tenant Management for Federated Organizations The Agile FedRAMP Playbook, Part 4: Reactive Risk Management through Enriched Incident Response Wiz Achieves CPSTIC Certification in Spain Seeing AI Clearly: Building Visibility Across Modern AI Applications The Agile FedRAMP Playbook, Part 3: Preventative Risk Management by building Secure by Design Wiz Leads the 2026 Latio Application Security Report with awards in 4 categories Building an Agentic Cloud Security Ecosystem: A Reference Architecture with Wiz MCP and Infosys Cyber Next The Agile FedRAMP Playbook, Part 2: Proactive Risk Management with Continuous Monitoring Cloud-native Security for your Windows environment: Announcing the Wiz Runtime Sensor for Windows Would You Click ‘Accept’? Automatically detecting malicious Azure OAuth applications using LLMs Wiz Named a Leader in The Forrester Wave™: Cloud Native Application Protection Solutions, Q1 2026 From Detection to Remediation: It’s Time to Rethink AppSec Around Exploitability and Root Cause Fixes The Agile FedRAMP Playbook, Part 1: Why Risk is Your Best Starting Point Introducing AI Cyber Model Arena: A Real-World Benchmark for AI Agents in Cybersecurity
Wiz Research Discovers One in Five Organizations Exposed ...
Gal Nagli, Alon Schindel · 2025-09-19 · via Wiz Blog | RSS feed

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 unprecedented ease.

Pioneering platforms like Lovable are at the forefront of this movement. They have enabled the creation of millions of applications, from simple personal tools to enterprise-grade solutions. Organizations now rely on these platforms to build internal chatbots, create complex automations, and, critically, entrust them with sensitive corporate data.

As part of our mission to identify emerging cloud and AI risks, Wiz Research investigated the security posture of applications generated by these vibe-coding platforms. Our findings were significant; we discovered a pattern of common, high-impact misconfigurations and found that 1 in 5 organizations build on these platforms, inadvertently exposing themselves to risk.

The good news is that these issues are easily preventable. This post details the most common pitfalls we found and provides clear, actionable guidance to help you secure your vibe-coded applications.

1. Authentication Logic Living Entirely in the Browser

A common flaw we discovered is applications that handle the entire authentication process—password entry and validation—on the client side, without contacting any backend server. In these cases, the browser downloads all the code meant to ‘protect’ the app, meaning the password is embedded directly in the JavaScript files and visible to anyone who inspects them.

Here are two practical, anonymized examples of this flaw that we saw in the wild:

Example A: Hardcoded String as the Password

What's happening in the code:

The login function checks if the provided password(s) is exactly equal to the string "welcometoredacted". If they match, it sets an authentication flag in LocalStorage. The password is plainly visible to anyone who views the application's source code.

Example B: Password in a Variable

What's happening in the code:

The password "marketingdocs2025" is first assigned to a variable pC. The login function then compares the user's input (l) to this variable. While it's not a direct string comparison inside the function, the password variable is defined in the same client-side file, making it just as easy for an attacker to find and use.

These two real-world examples share the same fundamental flaw. They treat the user's browser as a trusted environment for authentication, which it is not. Whether it's a single password as a string, a password stored in a variable, the outcome is identical; the secrets are shipped directly to the client.

Furthermore, both examples rely on setting a simple, predictable flag in LocalStorage (like "authenticated" or "true") to manage the session.

This creates a second, often easier, path for attackers. An attacker doesn't need to bother with the login form at all; they can read the code to see what value is expected in LocalStorage, manually set it using their browser's developer tools, and gain immediate, unauthorized access.

SOLUTION:

Enforce Server-Side Authentication. Ensure that all authentication and authorization decisions are made on a backend server, the client-side application should only send user-provided credentials to the server for validation; it should never contain the logic or data required to validate them itself.

The best way is to enforce server-side authentication with providers such as OAuth or Cognito, and to ensure AI prompts always treat client-side code as publicly exposed.

We have worked together with Lovable to help enforce a global system prompt change to consider client-side secrets embedding a security risk and unwanted act. For further guidance, see Lovable's best practices on Authentication Security.

2. API Keys and Secrets Exposed in Client Side Code

Beyond user credentials, we frequently found other sensitive secrets like third-party API keys and service account credentials hardcoded directly into client-side JavaScript files, which often looks like the following:

SOLUTION:

The solution is to proxy all third-party API calls through a secure backend - a role perfectly handled by Supabase Edge Functions in a Lovable application. Store your API Keys and secrets securely in Supabase Secrets, then have your client-side code call your Edge Function, which retrieves the key at runtime and forwards the request to the third-party service. This simple pattern ensures sensitive credentials never reach the browser, eliminating the risk of exposure as we have seen in many cases across vibe-coded applications.

3. Database Tables Wide-Open to the World

Vibe-coding platforms make it easy to connect applications to powerful databases like Supabase, which use Row-Level Security (RLS) to control data access. However, we found that developers often implement overly permissive RLS policies or forget to enable them at all across sensitive tables, leaking confidential and private information.

Example: A vibe-coded enterprise game leaked all of its users’ PII, IP addresses, and more when players submitted personal details

Attackers would look for applications that expose their Anon Supabase key on their Javascript, it looks similar to.

Now, they need to check the permissions of the Supabase service, list all the tables and probe 1 by 1 if there are any that expose sensitive data. We have made a simple scanner for that which runs with the following methodology:

SOLUTION:

Adopt a 'Deny-by-Default' Policy for Data Access. When configuring database security rules like RLS, always start with a policy that denies all access. Then, write explicit and rigorously tested rules to grant access only to the necessary data based on the authenticated user's ID or role. Every database query should be forced to pass through these restrictive filters. Lovable provides detailed guidance on preventing data exposure via Supabase RLS.

4. Internal Applications that are Publicly Facing without Authentication

The speed of vibe-coding makes it an ideal choice for building internal tools, admin dashboards, and staging environments. However, we observed many cases where these applications were deployed on the public internet without authentication. This makes them discoverable by attackers who actively scan and fingerprint web applications to identify those built with specific Vibe-Coding platforms.

Using a simple fingerprinting technology, we searched for matches to “lovable.app” and an additional set of identifying strings, which yielded numerous vibe-coded applications that were never intended to be publicly facing. These included:

  1. Mock websites with real data without any authentication enforced

  2. Internal Knowledge bases leaking propriety information

  3. Internal Chatbots trained on sensitive data 

And more…

SOLUTION:

Always enforce authentication for any application handling sensitive data or internal information to ensure data is not public facing. It all starts with visibility. As an organization, you should know all the vibe-coded applications your developers are interacting with. From there, enforce them to be strictly for public information with no sensitive running on them - at least when authentication is not enforced.

Collaborating with Lovable to Drive Change

Identifying security risks is only the first step. To drive meaningful change across the entire Vibe-Coding landscape, Wiz Research actively partners with the leading platforms in this space to promote secure practices.

A prime example of this is our collaboration with the Lovable security team. We shared our research on these common misconfiguration patterns, and in response, they created a comprehensive Security Best Practices Guide on their website.

This guide provides their users with clear, actionable steps to avoid the exact pitfalls detailed in our research, and is a testament to how they take the security of their users seriously. A proactive, collaborative approach is crucial for securing the Vibe-Coding ecosystem at its source by empowering developers to build securely from the start.

How Wiz can Help

For Wiz customers, identifying potentially vulnerable Vibe-Coding applications is straightforward. You can easily view all your publicly facing Lovable applications with the below query in the Wiz portal.

Find your Lovable applications in Wiz

Summary

Vibe-Coding platforms are an essential part of modern software development, enabling organizations to innovate at an unprecedented pace. These platforms, however, create a new shared responsibility paradigm where the security of an application depends heavily on its implementation. One misconfiguration can jeopardize sensitive data and expose the organization to significant risk. In this blog post, we have described four common vibe-coding misconfigurations and provided tips on how to remediate them. These misconfigurations include client-side authentication, hardcoded secrets, insecure data access policies, and the exposure of internal applications. Implementing the best practices above can significantly reduce your organization’s attack surface and secure your applications. We appreciate the collaboration with Lovable, who showed deep commitment to improving their customers’ security as part of this research.

Get Wiz's State of Code Security Report