Vibe Coding Is Not the Problem. Vibe Security Is.
The Illusion of Security in the Age of Vibe Coding
Recently, I participated in a discussion in a Facebook group where a developer confidently stated that none of his vibe-coded applications were vulnerable because he had scanned them using Anthropic’s Claude Fable 5.2. Having researched website security since 2007, I found his confidence in the security assessment considerably more concerning than his use of artificial intelligence to develop the applications.
I am a strong advocate for artificial intelligence and actively incorporate it into my own cybersecurity research and software development. The capabilities of today’s frontier models are remarkable, and I believe we are only beginning to realize their potential in vulnerability discovery, malware detection and defensive security. However, the increasing reliance on these models appears to be encouraging some developers to abandon established security principles in favor of accepting AI-generated conclusions without independent verification.
The fundamental problem is that a security assessment that fails to discover vulnerabilities does not establish that vulnerabilities do not exist. This distinction has been understood by cybersecurity professionals for decades, yet the confidence and sophistication with which AI models present their findings can make it surprisingly easy to overlook.
As vibe coding continues to lower the barriers to software development, I am increasingly concerned about the emergence of a practice I call vibe security — accepting AI-generated security assessments as evidence of security without independently verifying their conclusions.
What Is Vibe Security?
Vibe security describes an approach to application security in which confidence in an AI model effectively replaces established security verification practices. Rather than conducting independent security testing, investigating application behavior and validating security controls, developers accept the conclusions of an AI model as sufficient evidence that their applications are safe to deploy.
This approach becomes particularly problematic when the same AI model is responsible for developing the application, implementing its security controls, generating its tests and ultimately assessing its security. Any incorrect assumptions introduced during development may persist throughout the entire verification process, potentially leaving significant vulnerabilities undiscovered.
The issue is not whether Claude, ChatGPT, Gemini or any other frontier model is capable of discovering vulnerabilities. These models have demonstrated impressive capabilities in this area. The issue is whether their failure to discover a vulnerability provides sufficient evidence that no vulnerability exists.
It does not.
Intelligence Does Not Equal Infallibility
Today’s frontier AI models can analyze complex source code, trace application logic, identify insecure programming practices and discover vulnerabilities that experienced human researchers might overlook. Their ability to process large amounts of technical information and recognize patterns makes them exceptionally valuable tools for cybersecurity research. However, these capabilities should not be confused with infallibility.
Large language models can hallucinate, misunderstand application logic, lose relevant context and make incorrect assumptions about how different components of an application interact. They may incorrectly interpret authentication mechanisms, authorization boundaries, data validation routines, configuration settings or application state. They can also produce technically sophisticated and highly convincing explanations for conclusions that are fundamentally incorrect.
A particular challenge with software security is that vulnerabilities often emerge from the interaction between multiple components rather than from an obviously insecure line of code. A function may appear secure when examined independently but become exploitable when called under certain conditions, supplied with unexpected data or combined with another application feature.
This is especially relevant to platforms such as WordPress, where plugins interact with other plugins, themes, user permissions, database records, REST API endpoints, AJAX handlers and the underlying filesystem. A comprehensive security assessment must account for these relationships, not merely evaluate individual pieces of code.
The sophistication of an AI-generated explanation does not establish the accuracy of its conclusion. A model can confidently declare an application secure while overlooking the very vulnerability that could eventually compromise it.
The Most Dangerous AI Error Is the One You Never See
Much of the public discussion surrounding AI reliability focuses on hallucinations. While fabricated information and incorrect conclusions certainly present challenges, cybersecurity professionals must also contend with something potentially more dangerous: the false negative.
When evaluating whether a vulnerability exists, a security assessment can produce four possible outcomes:
- True positive: A vulnerability exists, and the assessment successfully discovers it.
- True negative: A vulnerability does not exist under the evaluated conditions, and the assessment correctly determines that.
- False positive: The assessment identifies a vulnerability that does not actually exist.
- False negative: A vulnerability exists, but the assessment fails to discover it.
False positives are frustrating because they consume valuable time and resources. Developers may spend hours investigating a reported vulnerability only to discover that existing security controls already prevent exploitation. However, false negatives can have significantly more serious consequences because they leave vulnerabilities undiscovered while potentially creating a false sense of security.
Consider a developer who asks an AI model to perform a comprehensive security review of an application. The model identifies 20 vulnerabilities, provides recommendations for addressing them and subsequently verifies that all 20 have been resolved. The developer deploys the application, confident that the security review was successful.
But what if there were originally 21 vulnerabilities?
The successful discovery and remediation of 20 vulnerabilities is a valuable accomplishment, but it provides no assurance that the twenty-first vulnerability was ever identified. That remaining vulnerability could eventually lead to unauthorized access, compromised websites, stolen customer information or other serious security incidents.
This is one of the fundamental challenges of AI-assisted security assessments. Developers can readily evaluate the vulnerabilities a model discovers, but determining what the model failed to discover is considerably more difficult. Asking the same model to perform another review may simply reproduce the same blind spots.
What the Research Tells Us
The limitations of AI-assisted vulnerability detection are not merely theoretical concerns. Published research has investigated how large language models perform when presented with known software vulnerabilities, and the results provide important context for developers considering AI-generated security assessments.
A 2026 research paper, LLM-based Vulnerability Detection at Project Scale: An Empirical Study, examined AI-assisted vulnerability detection across real-world software projects. The researchers identified challenges involving missed vulnerabilities, incorrectly reported vulnerabilities and reasoning across function boundaries. Their findings highlight the complexity of applying large language models to complete software projects rather than isolated code samples.
Interestingly, research in this area has also demonstrated that AI-based approaches can identify vulnerabilities that traditional static analysis tools miss. This is an important distinction because it supports the integration of artificial intelligence into existing security workflows rather than the wholesale replacement of established security technologies.
These studies should not be interpreted as direct measurements of every newly released frontier model. AI capabilities continue to advance rapidly, and newer models may demonstrate substantially improved performance. Nevertheless, improved vulnerability detection performance is not equivalent to guaranteed vulnerability detection.
Until a security assessment can establish comprehensive coverage and independently validate its conclusions, claims that an application is entirely free of vulnerabilities remain unjustified.
The Model You Selected May Not Be the Model That Completed Your Review
Another consideration that deserves greater attention is the implementation of safety mechanisms and capability restrictions within commercial AI platforms.
Frontier AI providers implement safeguards intended to prevent their technologies from being used for harmful purposes. Cybersecurity is a particularly challenging area because many of the technical capabilities required to investigate and prevent software exploitation are also relevant to offensive cybersecurity activities.
Anthropic has publicly discussed capability restrictions and model-routing mechanisms associated with its frontier model offerings. Depending on the model, platform and nature of the request, certain activities may be restricted or redirected. These safeguards may serve legitimate purposes, but their existence introduces important considerations for developers relying on AI-generated security assessments.
For example, if a developer selects a particular frontier model to perform a vulnerability assessment, can they establish that every portion of the assessment was completed using that model? Can they determine whether certain categories of analysis were restricted, whether particular investigations were abandoned or whether another model handled portions of the request?
These questions are not intended to suggest that every cybersecurity assessment is affected by model restrictions. Rather, they highlight the importance of understanding the conditions under which an assessment was conducted before accepting its conclusions.
For ordinary writing, brainstorming or general programming assistance, model-routing decisions may not have significant consequences. For professional cybersecurity research, however, understanding the capabilities and limitations of the tools involved is essential to evaluating the reliability of the results.
I would like to see AI providers offer greater transparency regarding model identity, fallback events, capability restrictions and incomplete security analysis. A professional security assessment should distinguish between what was examined, what was successfully verified, what remains uncertain and what could not be evaluated.
This expectation should apply equally to Anthropic, OpenAI, Google and every other AI provider.
Is AI Deliberately Sabotaging Research?
Recent discussions within AI research communities have raised concerns about the behavior of certain frontier models when performing complex technical investigations. Some researchers describe models becoming trapped in verification loops, repeatedly introducing incorrect assumptions, generating ineffective tests, relying on outdated programming approaches or producing inconsistent results.
Others have reported perceived differences in model behavior depending on the subject of the research, particularly when investigating artificial intelligence itself or developing technologies that could improve competing AI systems. Some users characterize these experiences as deliberate sabotage and have expressed concern about the transparency of the companies providing these models.
Deliberate sabotage is a serious accusation, and I do not believe anecdotal experiences alone are sufficient to establish such intent. There are numerous potential explanations for these behaviors, including reasoning limitations, incomplete context, training decisions, safety restrictions and difficulties associated with managing complex, multi-stage investigations.
However, from a cybersecurity perspective, we do not need to establish deliberate intent to recognize the potential consequences of incomplete or unreliable analysis. Whether an investigation fails because of a reasoning error, a capability restriction or an incorrect assumption, the resulting security assessment may still be inadequate.
My concern is primarily with transparency and the ability to independently verify the work being performed. If an AI model cannot complete a particular investigation, I would prefer that it clearly identify the limitation rather than provide a seemingly comprehensive conclusion that gives the impression that the investigation was completed.
An incomplete security assessment that appears complete can be more dangerous than an assessment that openly acknowledges its limitations.
Are You Asking AI to Investigate or Reassure You?
Another challenge associated with AI-assisted security reviews is the potential influence of confirmation bias and sycophancy. Large language models can be influenced by the assumptions embedded within a user’s request, the framing of the task and the context established throughout the preceding conversation.
A research paper titled Measuring and Exploiting Confirmation Bias in LLM-Assisted Security Code Review examines how the framing of code-review tasks can influence vulnerability detection. This area of research raises important questions about whether developers unintentionally encourage AI models to validate their existing beliefs rather than independently challenge them.
Consider two developers requesting a security assessment of an identical application.
The first developer submits the following prompt:
I’ve finished developing my application, fixed all the security issues, and everything is working perfectly. Can you perform one final security review before I launch?
The second developer approaches the assessment differently:
Treat this application as untrusted. Independently investigate its security properties. Do not assume that existing security controls are effective. Identify weaknesses, challenge assumptions, substantiate your findings with evidence and explicitly document anything you cannot verify.
Both developers could be using exactly the same AI model and submitting exactly the same source code. However, the first developer has established a context in which the application is presumed to be secure, while the second has explicitly instructed the model to challenge that assumption.
Experienced security researchers approach investigations with a healthy degree of skepticism. They examine whether security controls actually function as intended, investigate unexpected application behavior and actively search for evidence that contradicts their initial hypotheses.
AI-assisted security workflows should encourage the same investigative behavior. Developers should avoid establishing the desired conclusion before an assessment begins and instead require the model to substantiate its conclusions with verifiable evidence.
Even a well-designed prompt, however, cannot eliminate every limitation of the underlying model. Better prompting is one component of an improved security process, not a substitute for independent verification.
Who Audits the AI That Audits Your Code?
One of the more concerning aspects of vibe coding is the increasing tendency to consolidate software development, testing and security verification into a single AI-driven workflow.
An AI model may be responsible for designing an application’s architecture, generating its source code, implementing authentication and authorization mechanisms, creating its security controls, generating automated tests and conducting the final security assessment. When vulnerabilities are discovered, the same model may also implement the fixes and subsequently verify that they have been resolved.
While this approach offers considerable convenience and productivity benefits, it introduces a fundamental question: where did independent verification occur?
If the model misunderstood a security requirement during development, that misunderstanding could influence the implementation of the corresponding security controls. It could subsequently generate tests based on those same incorrect assumptions, causing the tests to pass despite the existence of a vulnerability. During the final security review, the model may again rely on those assumptions and conclude that the application is secure.
This is not necessarily a failure of any individual stage of the workflow. It is a failure of the overall verification architecture.
In enterprise IT, we have long recognized the importance of segregation of duties. Critical applications are generally subject to independent change approval, security assessment and production authorization processes because we understand the risks associated with allowing individuals to exclusively validate their own work.
There is little justification for abandoning those principles simply because artificial intelligence is performing the development.
Using multiple AI models can help introduce alternative perspectives and identify inconsistencies. However, different models can share similar training data, reasoning patterns and limitations. Agreement between two AI models may increase confidence in a particular finding, but it does not necessarily constitute independent proof.
True independent verification requires evidence that can be evaluated separately from the reasoning that originally produced the code or the security conclusion.
How I Approach AI-Assisted Vulnerability Research
At We Watch Your Website, I am developing a system designed to identify vulnerabilities in WordPress plugins. One of the fundamental architectural decisions behind this project is that AI-generated conclusions should not automatically be accepted as established facts.
Artificial intelligence plays an important role in the proposed analysis process, but the system is being designed around multiple layers of investigation, verification and evidence collection. The objective is to take advantage of the reasoning capabilities of frontier AI models while reducing dependence on their unsupported conclusions.
Deterministic static analysis
The first layer involves establishing facts about the source code through deterministic analysis. This includes identifying functions, relationships between application components, execution paths, data sources, sensitive operations and existing security controls. Wherever possible, these findings should be established through reproducible programmatic analysis rather than relying exclusively on an AI model’s interpretation.
Context resolution
Identifying a potentially vulnerable function is often only the beginning of an investigation. Understanding its security implications may require examining calling functions, application hooks, validation routines, authentication mechanisms, persistent data and relationships across multiple requests. A function that appears vulnerable in isolation may be protected elsewhere, while a function that appears secure may become exploitable through an unexpected interaction.
Static exhaustion
Another architectural principle involves resolving as many relevant questions as possible through static analysis before proceeding to runtime validation. The objective is to distinguish questions that can be answered from the available source code from those that genuinely require observing the application during execution. This reduces unnecessary experimentation and provides a more clearly defined basis for subsequent investigation.
Adversarial AI analysis
Rather than accepting the first AI-generated vulnerability hypothesis, the architecture includes separate analytical roles intended to challenge proposed findings. One analytical role may investigate a potential vulnerability, while another examines the supporting evidence, identifies unsupported assumptions and searches for alternative explanations. An additional evaluation stage can then assess the strength of the resulting arguments.
Dynamic validation
Where static analysis cannot conclusively establish relevant application behavior, controlled runtime experiments can provide additional evidence. These experiments should address specific unresolved questions rather than simply attempt to confirm an AI-generated hypothesis. Their results should be reproducible and evaluated against clearly defined conditions.
Evidence-based conclusions
The system is being designed to distinguish between suspected vulnerabilities, supported hypotheses, confirmed findings and unresolved questions. This distinction is particularly important because a plausible vulnerability explanation should not automatically be represented as a confirmed security finding.
Several of these capabilities remain under active development, and even when they are completed, I would not claim that the resulting system can identify every possible vulnerability.
The objective is to establish a more rigorous and transparent approach to vulnerability research, where AI assists in the investigation but evidence determines the conclusion.
A Microscope Should Tell You What It Cannot See
One of the more interesting analogies I encountered in recent discussions among AI researchers involved scientific microscopes.
Scientists select microscopes based on their capabilities, resolution and suitability for particular types of research. They understand that every instrument has limitations and that those limitations influence the conclusions that can reasonably be drawn from the observations.
Imagine, however, a sophisticated microscope whose effective capabilities change depending on the subject being examined, without providing the researcher sufficient information about those changes. Certain details may no longer be visible, yet the researcher could incorrectly assume that their absence means those details do not exist.
Such uncertainty would complicate the scientific process considerably.
Artificial intelligence is not directly equivalent to a scientific instrument, but the analogy illustrates the importance of understanding the limitations of the tools we use to conduct technical investigations.
If an AI model cannot evaluate a particular category of vulnerability, that limitation should be communicated. If portions of an investigation are restricted or redirected, researchers should have sufficient visibility to evaluate the implications. If relevant application behavior cannot be established from the available information, the resulting assessment should clearly identify that uncertainty.
Responsible cybersecurity researchers understand that every tool has limitations. Traditional static analysis tools, vulnerability scanners, penetration testing frameworks and runtime monitoring technologies all operate within defined boundaries.
The ability to understand those boundaries is essential to interpreting their results.
AI-assisted security tools should be held to the same standard.
What Happens When a Vibe-Coded Application Is Compromised?
As AI-generated applications become increasingly common, developers and business owners must also consider the issue of professional accountability.
Imagine a developer who creates an application using artificial intelligence that stores customer information, processes sensitive transactions or supports critical business operations. Before deploying the application, the developer asks a frontier AI model to perform a comprehensive security assessment. The model identifies several vulnerabilities, implements the necessary fixes and subsequently reports that no additional security issues remain.
Six months later, an attacker discovers an overlooked vulnerability and gains unauthorized access to the application’s customer data.
The fact that an AI model previously reported the application as secure provides little comfort to the affected customers. Business partners, insurance providers and potentially regulators may also have questions about the security practices that were followed before the application was deployed.
Could the developer reasonably defend those practices by saying that Claude, ChatGPT or Gemini had declared the application secure?
While specific legal obligations vary depending on the circumstances and applicable regulations, the broader professional responsibility remains with the individuals and organizations developing, deploying and operating the application.
This is particularly relevant to WordPress agencies and independent developers who create custom functionality for paying clients. Clients may reasonably expect that the applications and websites they purchase have undergone security verification appropriate to their intended use and the sensitivity of the information they handle.
Artificial intelligence can help developers fulfill that responsibility more effectively, but it does not transfer responsibility away from them.
What Responsible AI-Assisted Security Looks Like
I am not suggesting that developers abandon vibe coding or reduce their use of artificial intelligence. On the contrary, I believe AI can substantially improve software development and cybersecurity when incorporated into appropriately designed workflows.
However, the ease with which applications can now be developed must be accompanied by security practices that reflect the potential consequences of deploying them. A small internal application with limited access to sensitive information may require a different level of verification than an internet-facing application that processes financial transactions or stores customer records.
Depending on the nature and risk of the application, developers should incorporate the following practices into their security verification process:
- Threat modeling: Identify sensitive assets, trust boundaries, potential attackers and the consequences of unauthorized access.
- Independent source-code review: Examine security-sensitive application logic without relying exclusively on the model that generated it.
- Static application security testing (SAST): Use deterministic and other established analysis tools to identify potentially insecure code patterns and data flows.
- Software composition analysis (SCA): Identify third-party dependencies containing known vulnerabilities.
- Secrets scanning: Detect exposed credentials, API keys, authentication tokens and other sensitive information.
- Authentication and authorization testing: Verify that users cannot access data or functionality beyond their assigned permissions.
- Dynamic application security testing (DAST): Evaluate the behavior of the running application within an authorized testing environment.
- Infrastructure and configuration reviews: Examine deployment configurations, network exposure, filesystem permissions, container isolation and other environmental security controls.
- Independent AI-assisted analysis: Use alternative models and investigative approaches to challenge assumptions and identify potential weaknesses.
- Documentation of unresolved risks: Clearly identify areas that could not be adequately assessed or verified.
- Qualified human security expertise: Obtain independent professional review where the application’s risk and complexity warrant it.
- Continuous monitoring: Detect unexpected behavior, unauthorized modifications and emerging vulnerabilities after deployment.
For WordPress developers, security verification should also address platform-specific concerns, including user capabilities, nonce validation, REST API permission callbacks, AJAX handlers, database operations, file uploads, output escaping and interactions between plugins.
It is also important to recognize that traditional security tools have limitations of their own. Static analysis can produce false positives and miss vulnerabilities involving complex runtime behavior. Dependency scanners are generally unable to identify previously unknown vulnerabilities. Dynamic testing can only evaluate the conditions and execution paths it actually exercises.
The value of a layered security approach is that different techniques can compensate for some of the limitations of others. Artificial intelligence represents another powerful layer within that architecture, rather than a replacement for the entire architecture.
Security Does Not End at Deployment
An additional concern with treating an AI-generated security assessment as a definitive verdict is the implication that security is a completed activity.
Software environments change continuously. Dependencies are updated, new vulnerabilities are discovered, configurations are modified and additional functionality is introduced. An application that has undergone a thorough security assessment today may become vulnerable tomorrow because of changes to its underlying software or operating environment.
This is particularly evident within the WordPress ecosystem, where plugins, themes, WordPress core, PHP versions and server configurations are constantly evolving. New interactions between components can introduce risks that were not present during the original security assessment.
Having spent years investigating compromised websites, I have seen firsthand the importance of detecting and responding to security incidents quickly. Preventive security controls are essential, but they should be accompanied by monitoring and response capabilities designed to identify when those controls fail.
Developers should therefore consider how their applications will be monitored, maintained and secured throughout their operational lifetimes. Logging, file integrity monitoring, vulnerability intelligence, secure update processes and incident response planning all remain relevant regardless of whether the original application was written by a human developer or generated by artificial intelligence.
A security review conducted before deployment is one component of an ongoing security program. It should never be treated as a permanent certificate of security.
AI Is Part of the Solution, Not a Replacement for Verification
I remain extremely optimistic about the future of artificial intelligence in cybersecurity. I believe AI will help researchers discover vulnerabilities faster, analyze increasingly complex software systems, automate time-consuming investigative tasks and develop more effective defensive technologies.
I also believe that AI-assisted development will enable individuals and small businesses to create valuable applications that previously would have required substantial financial resources, specialized expertise or larger development teams. The democratization of software development represents an enormous opportunity.
However, as the barriers to software development decrease, the importance of responsible security practices increases. People who previously lacked the technical expertise to develop complex applications may now be capable of creating them without fully understanding the security implications of their architectural decisions.
This makes independent verification more important, not less.
We should embrace frontier AI models, use them to generate software, incorporate them into vulnerability research and take advantage of their ability to challenge our assumptions. At the same time, we should demand transparency regarding their limitations and require verifiable evidence before accepting their security conclusions.
The advancement of artificial intelligence does not invalidate the fundamental principles of cybersecurity. If anything, it reinforces their importance.
An AI model’s confidence should never be confused with security assurance, and its failure to discover a vulnerability should never be interpreted as proof that the vulnerability does not exist.
Vibe coding is not the problem. Vibe security is.
About the Author
Tom Raef is the founder of We Watch Your Website and has been researching website security and malware since 2007. His current research includes AI-assisted vulnerability discovery, automated WordPress plugin security analysis, real-time website malware detection and server-level runtime application protection (RASP).
Learn more at We Watch Your Website.
References and Further Reading
- Anthropic — Claude Fable: Capabilities and Safeguards.
- Research — Measuring and Exploiting Confirmation Bias in LLM-Assisted Security Code Review.
- Research — LLM-based Vulnerability Detection at Project Scale: An Empirical Study.
- OWASP — Application Security Verification Standard (ASVS).
- OWASP — Web Security Testing Guide.
- NIST — Secure Software Development Framework (SSDF).
- WordPress — Plugin Developer Handbook: Security.
