Can AI Breach App Security? Testing LLM Vulnerabilities
Can AI models breach app security? We tested LLMs against common vulnerabilities to find out.
· 2 min read
Are large language models (LLMs) the next big threat to app security? With AI’s impressive capabilities, it's not just about what these models can create but also what they might destroy. If you’re wondering whether your next cybersecurity breach could have an AI behind it, you're not alone.
LLMs can exploit application vulnerabilities by mimicking human-like hacking attempts. But how realistic is this threat in practice?
Key Takeaways
- LLMs show potential in exploiting app vulnerabilities.
- $1,500 spent testing AI's hacking capabilities.
- Broken access control is a common exploit target.
- Models like GPT and Claude show varying success rates.
How Effective Are LLMs at Hacking?
The experiment involved building a vulnerable React Native app with a Python backend. Could LLMs exploit a common vulnerability: broken access control? The data layer used Firebase, which often struggles with misconfigurations, making it ideal for this test.
Testing ten runs per model, the study spent $1,500 across different large language models like GPT and Claude Code. Each model had a maximum budget of $10 per run and was given two hours to complete the task.
Tested Models and Results
| Model | Solve Rate | Average Cost per Run |
|---|---|---|
| GPT | Varies | Not specified |
| Claude Code | Varies | Not specified |
The results were mixed. Some models showed promise; others struggled to find the flag in private user reviews. The average cost per run varied but stayed within the $10 limit.
Common Vulnerabilities Exploited by AI
Broken Access Control
One of the most prevalent vulnerabilities exploited by LLMs was broken access control. This occurs when applications fail to enforce permissions correctly, letting unauthorized users gain access.
Missing Object-Level Authorization
Another significant vulnerability targeted was missing object-level authorization. This flaw allows attackers to manipulate or read data without proper authentication or permissions.
Both these issues are frequently found in Firebase and Supabase applications due to their configuration complexities (Kasra).
Real-World Implications and Examples
In real-world scenarios, these vulnerabilities can have severe ramifications. Imagine an e-commerce platform where unauthorized users gain access to sensitive customer data or manipulate order information.
A notable example is when researchers mimicked such exploits on platforms using Supabase for their backend database management, leading to unauthorized data exposure (Kasra).
Conclusion
While LLMs currently pose more of a theoretical threat than a practical one, their potential shouldn't be underestimated. Companies must invest in strong security measures and regularly audit their systems for vulnerabilities.
Start by reviewing your app’s system architecture for known weak spots like broken access control or missing object-level authorization. Proactive steps now can prevent costly breaches later.
Related Reading
Frequently asked questions
Can AI really hack apps?+
Yes, LLMs can potentially exploit app vulnerabilities like broken access control, especially in systems using Firebase or Supabase.
How much did the study spend on testing?+
$1,500 was spent testing various large language models' abilities to hack vulnerable apps.
AI Research Lead
Machine-learning researcher covering large language models and AI agents. Writes deep, paper-grounded explainers.
Related articles
Navigating the Fragility of LLM Agents in Code Generation
This article explores the vulnerabilities of LLM agents in code generation and discusses strategies for mitigating their fragility in backend development.
David Chen · May 25, 2026 · 4 min read
Understanding LLMs: A Primer for Beginners
This article provides a clear understanding of LLM fundamentals, offering insights into their functioning and real-world applications for newcomers in AI.
Sofia Lindqvist · May 24, 2026 · 4 min read
Getting LLMs Right: Flexibility and Governance in AI
To harness large language models effectively, enterprises must balance flexibility with strong governance frameworks. Here's how to achieve that.
Sofia Lindqvist · May 24, 2026 · 4 min read