Google has achieved a significant milestone in the field of cybersecurity. Their AI agent, Big Sleep, successfully identified a previously unknown zero-day vulnerability in the widely used SQLite database engine. This marks a potential turning point for how AI can be used to bolster software security.
Table of Contents
Google’s Big Sleep Project
The Big Sleep project is a collaboration between Google’s elite security research team, Project Zero, and Google’s AI division, DeepMind. It evolved from Project Naptime, which aimed to develop an AI-assisted vulnerability research framework. Big Sleep uses a Large Language Model (LLM) agent to assist in vulnerability detection and finding zero-days.
Big Sleep Discovers of Vulnerability in SQLite
In October 2024, the Big Sleep AI agent by Google discovered an exploitable stack buffer underflow vulnerability in the widely used open-source SQLite database engine. SQLite is used in many applications and websites. The vulnerability could allow attackers to crash the database program or achieve remote code execution. Google reported it to SQLite developers, who fixed it the same day before any attacks.
How Big Sleep AI Find Vulnerability in SQLite
Big Sleep aims to find variants of previously known vulnerabilities that evade detection by fuzzing. Providing details of past bugs helps LLMs analyze similar issues. It tested this approach on SQLite. After reviewing recent SQLite code changes, the agent identified a potential issue in constraint handling and crafted an exploit.
The Discovered Bug
The vulnerability lies in how a special value -1 used in an index field is handled. It allows writing beyond array bounds when constraints involve the database ID/ROWID column. The agent was able to reproduce the bug by running a query on SQLite’s generate_series table with a ROWID constraint, crashing the program as expected.
Significance of the Discovery
This is the first publicly disclosed instance of an AI agent finding a previously unknown exploitable memory safety issue in real-world widely used software, according to Google. It highlights the potential of AI to uncover vulnerabilities that fuzzing and other traditional techniques may miss. However, Google cautioned that the Big Sleep project is still experimental. Overall, fuzzing is likely more effective currently, but AI could help fill gaps in the future. Researchers hope AI-assisted vulnerability analysis leads to a more robust defence of software.
| Latest From Us
- Forget Towers: Verizon and AST SpaceMobile Are Launching Cellular Service From Space
- This $1,600 Graphics Card Can Now Run $30,000 AI Models, Thanks to Huawei
- The Global AI Safety Train Leaves the Station: Is the U.S. Already Too Late?
- The AI Breakthrough That Solves Sparse Data: Meet the Interpolating Neural Network
- The AI Advantage: Why Defenders Must Adopt Claude to Secure Digital Infrastructure

