Review recent patches for nearby SQLite flaws
A Gemini agent followed one fixed SQLite bug into surrounding commits and found another memory-safety issue before it shipped.
- What they did
- Researchers used Gemini 1.5 Pro inside Project Zero’s Naptime framework, which provided a code browser, debugger, reporter, and a Python sandbox. They started with one SQLite bug that had already been patched, then gave the agent current commit notes and code changes and asked it to hunt for similar unresolved defects. It tied the original issue to other parts of the codebase, built a test case, reproduced a crash, and wrote up the cause.
- How it went
- The agent identified a stack buffer underflow in seriesBestIndex. SQLite corrected it the same day, and the problem never reached a release. Later fuzzing for 150 CPU hours did not rediscover the flaw, and the researchers described Big Sleep as highly experimental.
- Tips
- A good setup is to seed the agent with one confirmed fix and ask it to look for the same pattern elsewhere. For agents doing security work, stop before any external report, submission, or code change until you review the findings.
Try it yourself with Gemini
In [repo path or URL], start from [known fixed bug or patch] and inspect the newer commits around it. Search for places where the same mistake may still be present, especially [bug class or component]. For each candidate, explain the clue that makes it suspicious and how you would test it. Do not edit files or share results outside this workspace. If the next step would change code, send something, delete anything, or submit a report, stop first and ask me to approve it.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
1 more report of this
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Test a math agent on hard open questions
DeepMind’s Aletheia, built on Gemini Deep Think, found proofs for four Erdős problems in a large benchmark run.
Run Spot step by step with Gemini
A developer paired Gemini Robotics ER 2 with Boston Dynamics Spot so it could plan, check, and continue multi-step chores.
Have Gemini write robot control plans from vision and speech
A developer used Gemini to turn camera input and robot tools into Python plans, then drove robot actions with voice commands.
Scan open-source projects for possible security bugs
Big Sleep found and reported 20 previously unknown issues in widely used open-source projects.
Use local rules to sort waste from photos
Have Gemini check local recycling rules online, identify items in a photo, and assign each one to compost, recycling, or trash.
Use Ghidra tools to map a binary faster
An MCP bridge let an agent decompile code, trace relationships, and rename symbols inside Ghidra from Claude or Cursor.