Formal Verification for High Assurance Security

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2228 papers250 conceptsfrozen 2026-10-04

In the traditional security lifecycle, a designer proposes a mechanism, and a cryptanalyst attempts to break it. This "arms race" often relies on informal security arguments or "sketches of proofs" that appeal to mathematical intuition but lack exhaustive rigor. As Jung Hee Cheon demonstrated in A Universal Forgery of Hess's Second ID-based Signature against the Known-message Attack, these informal sketches can hide devastating algebraic vulnerabilities, leading to the total collapse of systems once thought secure.

To move beyond this cycle, researchers are developing frameworks for formal verification: the use of machine-checked mathematical proofs to guarantee that a system's implementation strictly adheres to its security specification.

The Fragility of Manual Proofs

The primary motivation for formal verification is the inherent fallibility of manual, pen-and-paper proofs. In complex systems—such as multi-party computation or oblivious algorithms—the interaction between memory separation and probabilistic distributions is too intricate for human reviewers to verify reliably. Pengbo Yan and Toby Murray argue in Combining Classical and Probabilistic Independence Reasoning to Verify the Security of Oblivious Algorithms that a significant gap exists between theoretical design and machine-checked reality.

When proofs are conducted manually, subtle oversights are common. For instance, Benjamin Grégoire and Gilles Barthe noted in Verified Indifferentiable Hashing into Elliptic Curves that even high-level security properties can fail if the underlying computational building blocks, like polynomial factoring, are not themselves verified.

Building a Mathematical Foundation

Formal verification works by translating a system's behavior into a rigorous mathematical language that a computer can "reason" about. This process typically involves three steps:

  1. Formal Semantics: Defining exactly what every instruction in a system does. Ilya Grishchenko, Matteo Maffei, and Clara Schneidewind pioneered this for the blockchain space in A Semantic Framework for the Security Analysis of Ethereum Smart Contracts. By creating a small-step semantics for EVM bytecode, they moved security from "shaky heuristics" to a foundation where properties like reentrancy protection can be mathematically proven.
  2. Program Transformation: Simplifying complex behaviors into forms that existing tools can handle. A prime example is the "Speculation-Passing Style" introduced by Santiago Arranz-Olmos and Gilles Barthe in (Dis)Proving Spectre Security with Speculation-Passing Style. By transforming speculative hardware behavior into standard sequential code, they allow developers to use mature verification tools to catch elusive Spectre vulnerabilities.
  3. Machine-Checked Proofs: Using "proof assistants" like Isabelle/HOL or F* to verify the logic. David Butler and Adrià Gascón demonstrated this in How to Simulate It in Isabelle, providing the first machine-checked simulation-based proofs for Multi-Party Computation.

Why Empirical Search is Not Enough

A common alternative to formal verification is empirical testing—using tools like Charlie Hou’s SquirRL to search for vulnerabilities using reinforcement learning. While these tools are excellent at finding bugs, they cannot provide a proof of absence. The failure to find an attack does not mean the system is secure; it only means the search budget was exhausted.

In contrast, formal verification aims for "High Assurance." As Wojciech Ozga and colleagues argue in Towards a Formally Verified Security Monitor for VM-based Confidential Computing, sectors like aviation and nuclear power require mathematical guarantees that security properties hold under all conditions, not just the ones tested by an adversary.

Avoiding Security Theater

The transition to formal methods also serves as a check against "security theater." Andrew Craig Cullen warns in Certified Robustness Does Not (Yet) Imply Model Security that narrow mathematical certificates can create a false sense of safety if they don't account for real-world attacker behavior.

True formal verification requires that the entire stack—from the high-level protocol down to the information flow in the kernel—is verified. This is seen in the work of Yongwang Zhao and David Sanán in Reasoning About Information Flow Security of Separation Kernels, where they used Isabelle/HOL to uncover "built-in" security flaws in industrial standards that had previously prioritized functional robustness over formal security.

By replacing heuristic patches with rigorous frameworks—such as the Goldfish consensus protocol proposed by Francesco D’Amato and others—the field is moving toward a future where security is a provable property of the system's architecture rather than a fortunate byproduct of its complexity.

Papers in this version

Showing 60 of 228 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 129 papers
  2. Version 1 · 2026-10-04 · 228 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_formal_security_verification_8581ec66,
  title = {formal security verification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/formal-security-verification/rdr_8581ec66a32b4f249400038b2fd76664},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_formal_verification_for_high_assurance_s_8581ec66_v1,
  title = {Formal Verification for High Assurance Security},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/formal-verification-for-high-assurance-security/rdr_8581ec66a32b4f249400038b2fd76664/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}