Mentatcurated
Artificial Intelligence medium · first-party

The bug that ignored capitals

Simon Willison ran three AI coding agents over Datasette, the data publishing tool he maintains, and what they turned up was real enough to ship as an urgent security release.

Datasette's permission layer compared table names letter by letter. SQLite, the database engine underneath it, does not care about capitalization. So a rule protecting a table called Contacts could be walked around by asking for contacts instead, and the check would nod it through. That gap is one of half a dozen fixes in the stable release Simon Willison and Alex Garcia shipped on 11 September, alongside patched holes in search-index lookups, in link-following between tables, and in the caching of pages meant for a single logged-in user.

"We are holding back some of the automated tests from the public repo to give people more time to upgrade before we spell out the details of the vulnerabilities." — the Datasette security release

None of it was found by accident. An outside researcher, Sevban Dönmez, sent the project a set of AI-assisted vulnerability reports, which prompted Willison and Garcia to run several rounds of auditing over the whole codebase using three frontier models, two from OpenAI and one from Anthropic. The discipline lived in the human half of the loop: for each suspected flaw one of them wrote a failing test proving it was real, and the other wrote the fix, so two people had examined every item before anything shipped. The post never says how many problems surfaced, only "a significant number".

In January the curl project, whose data-transfer code sits inside billions of devices, closed its paid bug bounty after a flood of AI-written submissions: twenty reports in the first three weeks of 2026, not one of them a real vulnerability. Datasette received the same category of inbound report and it led somewhere. The difference was not the model but the receiving end, where someone was willing to spend two people's afternoon turning a suspicion into a failing test. Agent auditing is cheap now. Confirming what it reports is not, and that part still runs at human speed.

Want to try it?

If you run a Datasette instance, the upgrade is a single pip command; if you don't, the 0.65.4 changelog linked from the post is a six-line tour of how a permission check can be technically correct and still wrong.

Get the tool at datasette.io →

The lenses

Novelty 3
Impact · breadth 2
Impact · depth 3
Actionable 4
Delight 3
Substance 4
Hype 2

The facts

Fixed inDatasette 0.65.4 (stable) and 1.0a39 (alpha)
Who should upgradeAnyone running Datasette on the public internet, especially with an auth plugin guarding private data
Bugs foundNot disclosed; the post says only "a significant number"
CostFree and open source
Open datasette.io →

How this connects

Tap a node to open it

How this connects