Google DeepMind introduces AlphaProof Code to verify Signal's core security
AlphaProof Code connects security specifications to compiled Signal protocol code. The advance concerns selected guarantees under stated assumptions, not proof that the entire messaging app is unhackable.
Google's Mountain View campus on May 25, 2013. Illustrative company context, not a photograph of the Signal or Gemini Carbon announcement. Photo: Austin McKinley / Wikimedia Commons, CC BY 3.0. Austin McKinley / CC BY 3.0. Source and license linked below. Original file unchanged; responsive display may crop or resize.
Google DeepMind introduced AlphaProof Code on November 10, reporting that human-guided AI agents had proved specified security properties of Signal's core protocol implementation. The research addresses a difficult gap in software assurance: showing that an implementation preserves the protections promised by its cryptographic design.
The distinction is consequential for encrypted messaging. A protocol can have a persuasive mathematical design while the program implementing it mishandles a state transition or the sequence of operations. Studying the design and studying the executable answer related but different questions. The new work attempts to connect those layers, rather than asking a language model simply to read source files and declare them safe.
DeepMind describes a division of labor in which people approve formal specifications and Gemini Carbon agents construct proofs checked by Lean. Its announcement says the campaign took four weeks and that agents helped direct human attention to a small review surface. Those are the researchers' accounts of the project, not independent productivity measurements or evidence that any security review can now be compressed into a month.
What the proof is about
The technical paper identifies the target as libsignal and describes approximately 6.5 million lines of proof code, supported by roughly 26,000 lines of trusted specifications and AArch64 semantics. It covers the PQXDH handshake and Triple Ratchet through symbolic and computational arguments. Its limitations include trusted routine contracts, restricted execution scenarios and no quantum-adversary guarantee from the computational bounds. These qualifications define the theorem's meaning; they are not incidental footnotes to a claim of total application security.
A security theorem is best understood as a relationship between a program, an attacker model and a property. Changing any one can change the claim. Message confidentiality is not the same property as account recovery safety, and a model of temporary key compromise is not the same scenario as an attacker continuously controlling the phone. A proof can be strong precisely because it states which relationship has been established.
That makes this a different kind of AI security announcement from a vulnerability scanner's bug count. A scanner supplies candidate failures that engineers investigate. A formal argument supplies reasons that behavior violating a specified condition cannot occur within the modeled setting. Neither description makes the other activity obsolete: the two methods investigate different parts of the assurance problem and can expose different mistakes.
AI-assisted news and analysis from Ahmad Yar News. Articles link to supporting sources and require editorial review before publication.
Original editorial explanation based on the linked launch sources. Schematic, not an actual interface or independently measured result. Ahmad Yar News / original editorial diagram and icons
The paper's execution model is specifically a single-threaded, statically linked AArch64 Linux process. Threads, signals and dynamic linking are outside that model. Some low-level routines are represented by contracts rather than verified implementations. At the symbolic binary level, the scenario also assumes pinned identities and restricts session structure. These concrete boundaries are why the result concerns a defined protocol implementation setup, not every code path in every Signal client.
Verification at this boundary can still be valuable without covering the entire application. A complex software product is composed of interacting components, and assurance can accumulate through precisely stated claims about those components. The challenge is composition: a calling program must actually satisfy the conditions under which its verified component works. A theorem about one layer is useful evidence for the next layer, but does not automatically become a theorem about everything above it.
Why the handshake matters
Signal's PQXDH specification describes how two people establish shared secret material even when the recipient is offline. The recipient publishes a key bundle through a server, allowing the sender to initiate encrypted communication without a simultaneous exchange. The specification combines elliptic-curve operations with a post-quantum key-encapsulation mechanism. In its documented revision, post-quantum forward secrecy and mutual authentication rely on different underlying assumptions.
This is a concrete reason that verifying a messenger requires more than verifying encryption in isolation. A conversation must begin with the right parties and the right key material. The software has to interpret published information, use it consistently and carry the resulting state into later messages. An encryption function can behave exactly as intended while the surrounding application associates its output with the wrong session.
As background, the PQXDH document also discusses replay, server trust, identity binding and weak randomness. Those are distinct concerns surrounding the initial exchange. Their presence in Signal's design documentation helps explain why a single phrase such as secure handshake can hide a collection of different obligations. It does not mean that the November study proves every concern in that older specification under every possible deployment.
A conversation keeps changing its keys
The Double Ratchet specification explains the continuing conversation in terms of sending, receiving and root key chains. New message keys protect individual messages, while fresh Diffie-Hellman contributions can introduce secret material that was unavailable to someone who compromised an earlier state. It also accounts for messages arriving out of order by retaining selected skipped-message keys rather than requiring every packet to arrive sequentially.
These mechanics make messaging a stateful security problem. The program has to advance some state, retain other state temporarily and erase material that should no longer be useful. Ordinary network behavior complicates the order: a delayed message can be legitimate even after newer messages arrive. A proof about one encryption operation would miss the question of whether these transitions preserve the intended protections across a conversation.
Outdoor seating at Google's Mountain View campus on November 17, 2019. Illustrative company context only, not a product demonstration or a photograph of the launch discussed here. Photo: Misaochan2 / Wikimedia Commons, CC BY-SA 4.0. Misaochan2 / CC BY-SA 4.0. Source and license linked below. Original file unchanged; responsive display may crop or resize.
The same specification describes a practical limit on skipped keys, balancing delayed-message tolerance against excessive recipient computation. This illustrates how security and resource management interact in protocol code. A receiver cannot simply store an unlimited amount of work for every message it might eventually see. Implementation choices govern both what communication can recover from and what demands an untrusted peer can impose.
Post-compromise recovery has a precise meaning
Signal's October 2025 explanation of its Sparse Post Quantum Ratchet distinguishes forward secrecy, which protects earlier messages from later compromise, from post-compromise security, which concerns later messages after an earlier compromise. Signal combines that additional ratchet with the Double Ratchet as the Triple Ratchet. This is protocol background predating the new research, not a second product launch on November 10.
The time direction matters. Protecting yesterday's conversation after a key is stolen today is different from recovering protection for tomorrow's conversation. A static encryption key cannot express both goals simply by being long or difficult to guess. A changing protocol state can support stronger claims about what an attacker learns at different moments, provided the required fresh secrets and other conditions are present.
That is also why the new work should not be summarized as making a compromised phone safe. A malicious process that can keep reading plaintext or keys has capabilities beyond learning a temporary protocol state. Mathematical protection for a defined message sequence does not remove the need for operating-system security or trusted endpoints. The point is to isolate and establish a valuable guarantee, not to erase the rest of the system around it.
Lean checks an argument, not an AI's confidence
Lean's language reference describes its trusted core as a small logical kernel, separate from the automation used to construct proofs. That separation is central to understanding AI-generated mathematics. A system can try many unsuccessful approaches, use elaborate assistance and generate an enormous artifact, while acceptance still depends on a narrower checking mechanism rather than the persuasiveness of an explanation.
A model's confidence is therefore not the assurance mechanism. The valuable output is an object that satisfies formal checking rules. This changes the role of an unreliable generator: errors can waste search time without necessarily becoming accepted conclusions. The approach works only where there is a sufficiently precise statement and an appropriate checker, which is why translating a security goal into the right formal claim remains important.
The specification remains a human responsibility because a checker establishes the statement it receives. Proving a weaker property than intended is not the same achievement as proving the intended one. Likewise, an assumption that quietly excludes the behavior of interest can make a result less useful even if every inference is valid. The hard interface is between an organization's real security concern and the exact proposition supplied to the prover.
Original editorial explanation based on the linked launch sources. Schematic, not an actual interface or independently measured result. Ahmad Yar News / original editorial diagram and icons
What researchers have made available
The public code-verification repository separates symbolic proofs, computational proofs, binary specifications and machine semantics. Its README describes a command-line harness with hooked cryptographic primitives, pinned build tools and a comparator check that matches headline theorems to trusted statements. It also warns that this is not an official Google product. The release is research infrastructure that others can inspect, rather than a commercial security subscription.
Pinned tooling matters because a theorem tied to an executable is tied to particular program bytes. Rebuilding source with a different compiler or configuration can change those bytes without changing the apparent purpose of the source. That is not a reason to reject machine-level verification; it explains why reproducibility includes build provenance, rather than only publishing a readable mathematical description.
DeepMind also reports restoring two previously fixed bugs in an isolated version and obtaining checked arguments that those variants were insecure. That exercise is a targeted demonstration that the formal setup can distinguish selected defective implementations. It is not a discovery of two newly exploitable Signal vulnerabilities, and no live user data or production messaging service is described as having been attacked.
The advance is a stronger connection
For developers of security-critical systems, the interesting shift is where expert effort can go. If constructing long proof derivations becomes more automated, experts can spend a larger share of their time defining guarantees, examining assumptions and deciding what belongs inside the verified boundary. That is a change in the organization of assurance work, not evidence that domain expertise is no longer needed.
The November result consequently stands on a narrower and more useful claim than an unhackable messenger: specified properties have been connected to compiled protocol code under explicit conditions. The research makes implementation-level assurance more tangible while exposing the definitions and artifacts on which it rests. Its significance lies in making that connection inspectable, not in treating an entire communications ecosystem as mathematically solved.