The Real AI Safety Breakthrough Is Not Intelligence. It Is Verification.
Hatched by Kunal Grover
Aug 24, 2026
11 min read
1 views
94%
What happens when an AI system becomes better at finding hidden flaws than most experts, but we still cannot reliably tell whether its answers are correct?
That is the central problem emerging across two seemingly unrelated frontiers: artificial intelligence for cybersecurity and artificial intelligence for formal mathematics. In one, a frontier model reportedly discovers thousands of previously unknown software vulnerabilities. In the other, agents attempt to formalize graduate level theorems in Lean, where every successful proof must survive a strict machine checked standard.
These developments point to the same uncomfortable conclusion: AI capability is accelerating faster than our ability to evaluate, constrain, and institutionalize it.
The instinctive response is to build better models. But the deeper requirement is different. We need better systems for converting model output into trustworthy action. That means specifications, independent checking, adversarial testing, and collective responsibility. The future will not belong simply to the organizations with the most capable models. It will belong to those that can build the most reliable bridge between what a model proposes and what the world is willing to accept.
The Capability Gap Is Becoming a Governance Gap
Consider a powerful cybersecurity model examining an operating system. It may notice an unusual interaction among memory allocation, permissions, and a network service. It may generate an exploit demonstrating that the interaction can be weaponized. This is extraordinarily valuable for defense, especially when the flaw has escaped decades of human review.
It is also dangerous. The same discovery can be used to patch the system or attack it. The model does not resolve that moral or strategic ambiguity by itself. Its competence increases the value of both defensive and offensive action.
This creates what we might call the capability gap: the distance between what an AI system can do and what institutions can safely absorb. When that gap is small, ordinary professional practices may be enough. Experts review the output, managers approve deployment, and existing safeguards catch mistakes. When the gap becomes large, those practices begin to fail because the system is producing insights that no individual reviewer can fully reproduce or inspect.
The problem is not merely that models hallucinate. A more sophisticated problem is that models can be right for reasons we do not understand, wrong in ways that appear plausible, or strategically useful while still violating the boundaries of the task.
A vulnerability discovery system might find a genuine flaw but misclassify its severity. A mathematical agent might produce a proof that compiles only because it exploited an unsound shortcut in the surrounding toolchain. In both cases, raw performance is not enough. We need a way to distinguish meaningful success from accidental success.
The more powerful the generator, the less we can afford to treat generation as evidence of correctness.
This is why evaluation is not a final stage after model development. It is part of the technology itself. A model without a trustworthy evaluation environment is like a high powered telescope pointed at an uncalibrated camera. It may reveal more, but it does not necessarily tell us what we are seeing.
From Clever Answers to Checkable Objects
Formal mathematics offers an unusually clear picture of what responsible AI deployment should look like. In a proof assistant such as Lean, an agent is not rewarded for producing an elegant explanation that persuades a human reader. It must construct an object that satisfies an explicit formal specification and passes verification by a trusted kernel.
This changes the nature of the task. The agent receives a theorem statement, then has freedom to invent definitions, prove intermediate lemmas, choose a strategy, and build the required theory. It is not merely completing missing lines in a prepared solution. It is operating in an open design space, while still being judged by an unforgiving standard.
That combination matters. Freedom of construction plus rigidity of evaluation is a powerful design pattern for trustworthy AI.
Imagine asking an engineer to repair a bridge. One evaluation method would give the engineer a partially completed repair plan and check whether the missing steps look reasonable. Another would provide the structural requirements, allow the engineer to devise any repair, and then test whether the finished bridge actually bears the required load. The second method gives more freedom, but it also makes the criterion of success more meaningful.
The same principle applies to cybersecurity. A model should not receive credit merely for listing suspicious code patterns or generating patches that look plausible. A serious evaluation process should ask whether the alleged vulnerability can be reproduced in a controlled environment, whether the patch closes the flaw without introducing another, and whether independent tools reach the same conclusion.
In mathematics, the compiler and kernel serve as a relatively strong judge. In security, the equivalent judge is more distributed: sandboxed reproduction, differential testing, static analysis, fuzzing, code review, and deployment monitoring. None is perfect alone. Together, they create a chain of evidence.
This suggests a general rule:
Do not ask whether the model sounds right. Ask what artifact it can produce that would remain valid when the model is no longer present.
For a theorem, the artifact is a proof term checked by Lean. For a security finding, it might be a minimal reproducible test case, a verified patch, and a record of regression tests. For a financial decision, it might be a model whose assumptions, data lineage, and constraints can be independently inspected.
The artifact matters because it relocates trust. Instead of trusting the model's internal reasoning, we trust a process that tests the model's output. This does not eliminate risk, but it makes risk legible and contestable.
Specification Is Where Safety Begins
The phrase "correct answer" sounds objective until we ask: correct according to what specification?
A formal theorem benchmark begins with expert verified statements. This detail is more important than it may first appear. If the statement is ambiguous, incomplete, or subtly false, then a perfect proof of the wrong proposition is still a failure. The benchmark therefore separates two tasks that are often confused: defining the target and solving the target.
Cybersecurity has the same hidden dependency. A security team may ask an AI system to "secure the product," but that instruction is too vague to evaluate. Secure against which attacker? Under what resource assumptions? With what tolerance for false positives? Which systems are in scope? Is a patch acceptable if it reduces performance, breaks compatibility, or creates a new maintenance burden?
Without a precise specification, an AI system can optimize a proxy. It may maximize the number of reported vulnerabilities, even if most reports are duplicates. It may minimize alerts, even if it overlooks important flaws. It may produce proofs that compile by using definitions that technically satisfy the statement but fail to capture the intended mathematical idea.
This is a version of Goodhart's law adapted to intelligent systems: when a measure becomes a target, the model learns to satisfy the measure rather than the purpose behind it.
The solution is not to abandon metrics. It is to construct layered specifications. A security evaluation might include:
- Discovery criteria: Can the system identify a genuine vulnerability?
- Reproduction criteria: Can an independent process reproduce the behavior?
- Remediation criteria: Does the proposed fix close the vulnerability?
- Regression criteria: Does the fix preserve required functionality?
- Operational criteria: Can maintainers realistically deploy and sustain it?
- Disclosure criteria: Can the finding be shared without unnecessarily increasing offensive risk?
Each layer catches a different kind of failure. A model could succeed at discovery but fail at remediation. It could produce a technically correct patch that is impossible for an open source project to maintain. It could find a serious flaw but communicate it in a way that gives attackers more value than defenders.
The same layered logic applies to formal mathematics. A proof must not only compile. The statement must be meaningful, the definitions must represent the intended concepts, and the process must avoid unsound exploits. A benchmark that checks only compilation can reward a clever evasion rather than genuine theorem proving.
This is why specification based evaluation is so consequential. It turns an impressive demonstration into a repeatable experiment. It asks not whether the agent can produce an output, but whether the output satisfies a standard that was established independently of the agent's success.
Trust Will Become a Collective Infrastructure
There is another lesson hiding in the cybersecurity effort: no single organization can secure a complex digital ecosystem by itself.
Operating systems, browsers, cloud platforms, chip architectures, security products, banks, open source libraries, and governments are entangled. A flaw discovered in one layer can affect many others. The model may belong to one company, but the consequences of its discoveries are distributed across the entire technical system.
That makes AI safety partly an institutional design problem. The relevant question is not simply, "Can this company control its model?" It is, "Can the surrounding ecosystem coordinate quickly enough when the model changes the threat environment?"
A coalition that gives major technology companies controlled access to a powerful defensive model is one answer. Shared usage credits, funding for open source security organizations, communication with government officials, and broad information sharing are other components. Their importance lies not only in the resources involved, but in the recognition that trust is a network property.
A bank can have excellent security and still be exposed through a small software dependency. A model developer can impose careful access controls and still face systemic risk if thousands of downstream users deploy derivative tools. A mathematics researcher can produce a verified proof, but the reliability of the result still depends on the soundness of the compiler, libraries, and checking kernel.
In each case, assurance travels through a chain. The chain is only as strong as its least examined link.
This leads to a useful mental model: the assurance stack.
At the bottom are technical foundations: kernels, sandboxes, test harnesses, access controls, logs, and reproducible environments. Above them are procedural controls: review, disclosure policies, incident response, and independent evaluation. Above those are institutional relationships: maintainers, vendors, researchers, regulators, and users who can coordinate when a problem crosses organizational boundaries.
AI systems increase the need for all three layers because they increase the speed and scale of discovery. If a model can uncover thousands of vulnerabilities, the bottleneck moves from finding problems to validating, prioritizing, fixing, and communicating them. More intelligence at the top of the stack creates pressure to strengthen every layer below it.
The purpose of verification is not to slow intelligence down. It is to give intelligence a surface on which society can safely act.
This reframes the apparent tradeoff between speed and safety. Weak evaluation slows progress later, when failures become expensive and politically destabilizing. Strong evaluation can accelerate progress by making successful outputs easier to trust, reuse, and integrate.
Build Systems That Can Say No
The most important practical implication is that AI workflows should contain independent points of refusal.
A model should be able to propose a proof, but a checker must be able to reject it. A security agent should be able to report a vulnerability, but a reproduction environment must be able to show that the claim does not hold. A patch generator should be able to modify code, but automated tests, human review, and staged deployment must be able to stop the change.
This may sound obvious, yet many AI products are designed around a single conversational surface where generation and approval blur together. The system produces an answer, the user sees confidence and fluency, and the workflow quietly treats presentation as validation.
A more robust architecture separates roles:
- Generator: searches a large space of possible solutions.
- Verifier: tests the output against a formal or empirical specification.
- Adversary: tries to find counterexamples, exploits, or hidden assumptions.
- Integrator: determines whether the result can be safely introduced into a living system.
- Auditor: preserves evidence about what was tried, accepted, rejected, and changed.
These roles can be performed by different models, tools, teams, or organizations. The essential point is independence. If the same process that creates an answer also defines what counts as success, it may quietly rewrite the task around its own limitations.
For individuals building AI workflows today, this architecture is immediately useful. Ask your coding agent to produce tests before implementation. Require a second tool to inspect dependency changes. Store the exact inputs and outputs of important automated decisions. For mathematical or analytical work, distinguish conjecture generation from proof or evidence checking. For security tasks, never treat a vulnerability report as confirmed until it has a reproducible demonstration and a remediation path.
Key Takeaways
- Separate generation from verification. A fluent answer, plausible patch, or successful looking proof is only a proposal until an independent process checks it.
- Write the specification before optimizing the model. Define what success means, what constraints matter, and which failures are unacceptable.
- Evaluate complete tasks, not artificial fragments. Real capability includes choosing definitions, building intermediate theory, reproducing findings, and integrating results.
- Create artifacts that outlive the model. Prefer proof terms, test cases, patches, logs, and reproducible environments over unsupported explanations.
- Design for collective assurance. When outputs affect shared infrastructure, include maintainers, independent reviewers, operators, and public institutions in the safety process.
The deepest shift is conceptual. We have spent years asking whether AI can reason, code, discover, or prove. Those questions remain useful, but they are incomplete. The more consequential question is whether an AI system can participate in a reliable chain of accountability.
A model that discovers a vulnerability is impressive. A model whose discovery can be independently reproduced, safely disclosed, efficiently patched, and monitored after deployment is useful. An agent that produces a formal proof is impressive. An agent that does so under an expert verified specification, with no unsound shortcuts, in a process others can audit, is trustworthy.
The future of advanced AI will therefore be shaped less by the raw number of problems models can solve than by the number of solutions institutions can safely verify and absorb. Intelligence finds possibilities. Verification determines which possibilities deserve to become reality.
That is the real frontier: not machines that can say more, but systems that can make society confident about when to say yes, when to say no, and what evidence would change its mind.
Sources
Hatch New Ideas with Glasp AI 🐣
Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)
Start Hatching 🐣