In February 2026, security researchers at Wiz found that Moltbook, a social network for AI agents, had left its production database accessible to people who weren't signed in. The researchers could read private records and change live data. The exposed information included roughly 1.5 million agent authentication tokens, 35,000 email addresses, and private messages. Wiz reported the problem, and the team secured the database within hours.
The technical failure was surprisingly ordinary. Moltbook used Supabase, which is designed to expose certain connection details in browser code. That's normal. Access to the data itself is supposed to be controlled by rules that determine who may read or change a particular record. Those protections weren't working as intended.
The website was working. The database was working. It was just working for people who should never have had access.
I wasn't involved in Moltbook, and I have no idea what its team specified, tested, or discussed before launch. A security report can establish what researchers found; it can't tell us everything about the decisions that led there. But it does raise a question I keep coming back to: How do we decide what needs to be checked before something is ready for other people to use?
I've spent much of my career building, leading, and teaching. The question follows me into all three, and frankly into plenty of decisions at home. The difficult part often isn't fixing a problem. It's recognizing the question that would've changed the work before the problem existed.
What do we measure before we cut?
I learned that rather literally in manufacturing.
At Cursed Crypt, we made a magnetic tabletop game system built around a steel board with a writable ceramic coating. It sounds simple enough. Steel, magnets, a surface you can write on. Except the finished product involved steel, ceramic coating, magnets, ink, resin, and adhesive, all with their own requirements. They weren't particularly interested in ours.
A coating can need heat that a magnet can't tolerate. An ink that bonds to one surface may wipe off another. A part cut just a fraction too small can throw off everything it needs to fit against. Each material can behave exactly as expected and the finished product can still fail. We weren't trying to get six materials to pass six independent tests. We needed them to work together.
We tested adhesion with scratch and peel tests, magnetic retention with pull-force measurements, and dimensions against tolerances using calipers. We also had to establish the sequence of work before putting stock through the line. Cut, coat, print, assemble, pack. Discover a missing requirement at the end and you've bought the privilege of making the same thing twice.
I wrote about the materials and their constraints in The Material Is the Contract. What interests me here is the decision that came before any of those tests.
“Measure twice, cut once” is excellent advice. It leaves out the part I find most interesting: what, exactly, are we measuring?
Measure the length perfectly and overlook the coating, and you've made a very precise mistake. Write a detailed production plan around the wrong requirement and you've given the mistake excellent documentation. The problem wasn't that nobody checked anything. It was that we checked what we knew to check.
The same thing happens in smaller, more familiar decisions. Imagine buying nonrefundable plane tickets for your family. You can compare flights, fares, layovers, and destinations as quickly as you like. Before you pay, somebody needs to check the names on the tickets, the dates, and who's actually going. Catch a mistake in the cart and it's mildly annoying. Catch it after buying five nonrefundable seats and you're about to have a very different afternoon.
Nothing about searching for the flights needed to slow down. The check mattered because of what the next click would do.
I started paying much closer attention to that moment: the last place where correcting something is still cheap, complete, and mostly under our control. Afterward, we might be able to fix the system, but we aren't necessarily undoing what happened. We can revert a code change. We can't make someone unread an email. We can repair a database permission. We can't retrieve every copy of a record that's already escaped.
Not everything has such a sharp boundary. Some consequences accumulate slowly. Other decisions can be reversed without much trouble. The point isn't to declare every choice irreversible. It's to understand what changes when we act, and to find the questions that need answering while their answers can still change the outcome.
That question became the subject of my earlier essay Distance from Gray, and eventually an in-progress manuscript under Judgment Machines, The Last Undo. The terminology came later. The problem came first.
The question has to come before the test
Back to the database.
You can run a hundred tests on a beautiful frontend and still leave private records available to strangers. The tests may be perfectly good. They simply establish what they were written to establish. They can't answer a question nobody asked.
If I'm preparing an application for public use, one question is who can read and change which records. Can someone who isn't signed in request private data? Can one signed-in account access another account's information? We can test those cases as different users and compare the responses with what our access rules actually permit.
If a forbidden request succeeds, we've found something to fix. If we haven't run the check, then we don't know. A green dashboard doesn't change the answer.
This matters just as much to the person defining the work as to the person writing the code. When I taught web development, I could've told students to “build a good website” and left it at that. Suppose a student handed me a polished result and I waited until the final review to ask whether somebody could navigate it with a keyboard. I'd have introduced an important requirement at precisely the moment it was hardest to accommodate. The student would need to fix the work, but I'd have some explaining to do too.
The professional version isn't much different. Teams finish an implementation only to find that “ready” also meant accessible, recoverable, limited to particular users, or safe under a condition nobody included in the original discussion. Those are often expensive changes because they touch the structure, not just the presentation.
I don't think the answer is to gate every experiment or turn every decision into a committee meeting. An agent changing a button label on a private branch doesn't need the same scrutiny as an agent sending a customer email, modifying production data, or changing permissions. The requirements have to fit the action.
We also have to separate what the evidence establishes from who gets to make the decision. A person with the right authority may decide to accept a known, disclosed risk. Their approval doesn't make an untested claim true. We should be able to say a requirement passed, failed, or hasn't been established yet, without turning the third answer into the first because the deadline is close.
The system ought to remember why
Once we make a decision, there's a second problem. How does the next person know why we made it?
Version control is excellent at recording what changed. It doesn't automatically preserve which question led to the change, the alternatives we rejected, the assumptions we accepted, or what we actually tested. Those details tend to live in conversations. Conversations are a terrible place to keep the only copy of something important.
I've written about the input side of this problem in Living Documentation. If the knowledge an agent receives describes a system that existed three refactors ago, it'll work impressively quickly against a system that no longer exists. That's not the kind of speed I'm interested in.
In my own projects, I use a reusable project bootstrap that points an incoming agent toward the project's authoritative documents, decisions, history, and constraints. The .agents directory is a map, not a replacement for the source material. I don't need to stuff the entire project into the first prompt. The agent needs to know where the current answers live, and which information it may rely on.
Work then needs a reason to exist. I've developed a project engine around declared intent, bounded tickets, evidence, and the distinction between completing a task and proving that the result qualifies for use. There’s plenty left to test about how much the approach helps, but the distinction is already useful: a completed ticket isn’t automatically a verified result.
A more personal example exposed the need for this. I've had agents invent information about my career and projects, then write about those inventions with complete confidence. I could catch them because I knew the history. Somebody else reading the result wouldn't have that advantage. “Be accurate” wasn't enough. The agent needed somewhere to check the claim, and a way to stop or ask when the record couldn't support it.
The same principle applies to the small annoyances. If an agent keeps inserting em dashes after I've repeatedly said not to, another reminder might fix the next response. But why is it happening again? Is the preference missing from the project's context? Is an older example contradicting it? Did we fix the output but leave the source alone? Find that problem and the correction can survive the next agent.
Of course, a writing preference and a permission to deploy software aren't equivalent. One might need a simple output check. The other needs a real authority boundary. In ACP Gateway, I explore that difference by putting policy decisions in a separate service. An agent can ask whether a protected action is authorized, but it doesn't get to invent the permission or interpret a convenient exception for itself. A system that may draft an email doesn't automatically have authority to send it.
That's also why I'm not particularly bothered by “vibe coding.” I enjoy exploring ideas with agents. I'll give one a strange problem, see what it builds, take it apart, and try something else. There's enormous value in that freedom. But exploration and release aren't the same commitment. As a prototype moves toward other people's data, money, or decisions, it needs the context and checks appropriate to what it can affect.
The point isn't to slow the whole process down. It's to put the effort where mistakes stop being ours alone.
Did any of it help?
There's a problem with building all of these checks, of course: you can become very good at checking without making anything better.
I've built enough software, products, and process to know that a system doesn't earn its place because I can explain why it should work. It has to do something useful.
First, I need to know what was established before the action. Which requirements were tested? Which passed or failed? Which remained unresolved? And were they the same requirements we agreed mattered before the results arrived? Otherwise it's too easy to move the goalposts until the score looks good.
Then I want to know what changed. Did we catch costly errors earlier? Did fewer defects escape? Was remediation cheaper? What did the checks cost to maintain and review? Did useful work continue to ship?
A gate reporting more failures might be good news if it's catching problems that used to get through. Fewer failures might mean the gate stopped looking. And a process that prevents every release can have an immaculate production record while delivering absolutely nothing to anybody.
I'd compare like with like, record the costs, and decide in advance what result would make me keep the check, change it, or remove it. That doesn't mean value can be reduced to one number. It means we should be able to point to a real difference between what we were doing before and what happens afterward.
I haven't published a measured production improvement for this entire approach. The factory and the security incident help explain the problem; they don't establish the value of every solution I've built in response. That still has to be measured.
Which brings me back to the database. Once a private record has been exposed, closing the permission hole is necessary. It doesn't make the exposure unhappen.
Before release, the question was smaller. Who should be able to see this, what happens when somebody else asks, and how will we know the rule holds? It's a question an engineer can test, a product lead can understand, and a person responsible for the release can insist on answering.
I'd rather ask it while the answer can still change what we build.
Related work and further reading: The Material Is the Contract (manufacturing and process constraints); Distance from Gray (unestablished properties at commitment); Living Documentation (keeping context current); The Last Undo (in-progress manuscript); Formal Project Bootstrap, Intent and Evidence Project Engine, and ACP Gateway (working software and evolving specifications).
External case: Wiz's February 2026 Moltbook disclosure. The flight-booking and classroom scenes are illustrations, not reports of specific incidents. The security report documents the vulnerability, not Moltbook's internal release process.