← The Vault
The Big Story

Can AI prove your favorite messaging app is secure?

Google researchers used a new AI tool to mathematically prove the security of the Signal messaging protocol. This process, called formal verification, uses math rather than trial-and-error to check if software is truly unbreakable. While this is a big step for digital security, experts are still figuring out if it can be applied to the vast, complex software that runs the rest of our modern world.

Edition № 958Room: The Big Story10 November 20263 min readSources: 2
Article

Most of us trust our messaging apps because of reputations or brand names. But now, researchers are looking for a more objective way to guarantee security: by using mathematics to prove a program is working exactly as it should. Google DeepMind recently used a new AI tool to verify the encryption in Signal, the messaging service known for its focus on privacy, showing that the underlying math keeping your messages private is solid.

WHAT'S HAPPENING

Google researchers used a system they call AlphaProof Code to inspect the Signal protocol, which is the set of rules that governs how the app locks and unlocks messages. The AI was tasked with something called formal verification. This is a process where you translate software instructions into mathematical statements to see if they hold true under every possible scenario. The AI wrote three million lines of code in a specialized language designed for these kinds of mathematical proofs, essentially testing whether the app could be broken. It did not find any new flaws in the current version of Signal, but when researchers deliberately pointed the AI at older, flawed versions of the software, it correctly identified the security holes. This is a significant test because it shows the AI can recognize the difference between secure and insecure code using logic rather than just guessing.

The shift from guessing to proving

HOW IT WORKS

In traditional software testing, engineers usually look for bugs by throwing different scenarios at an app and seeing if it crashes or behaves oddly. It is similar to testing a bridge by driving a truck over it—if it stays up, you assume it is safe. But this cannot account for every possible weight or weather condition. Formal verification takes the opposite approach. Instead of just testing the software, it treats the code like a complex math problem. The developer defines exactly what the software should do and what its security rules are. A computer then tries to prove that it is mathematically impossible for the software to violate those rules. Before AI, this was incredibly tedious because humans had to write every line of that proof by hand. The new AI tool acts like an expert mathematician, drafting the bulk of these proofs while working alongside human researchers who act as supervisors to ensure the AI stays on the right track.

WHY IT MATTERS

The dream of using math to prove software security is decades old, but it was always too slow and expensive to use on anything but the simplest tools. By speeding up the process, AI could eventually make it possible to verify complex systems like banking apps or medical software. However, we are still a long way from the finish line. Even this successful experiment did not check the entire Signal app—only a small, crucial portion of its internal logic. There is also the question of cost and scale; we do not yet know if this will be an affordable, everyday tool for the average software company or if it will remain an expensive research project for large corporations. For now, this is a proof of concept that suggests we might eventually be able to move beyond simply hoping our software is secure, and instead, be able to prove it.

Sources
← PreviousAdobe is giving AI control over your creative workNext →Can a new operating system make AI better at your job?
Tomorrow's edition · free

Liked this one? The next lands at breakfast.

Every story in tomorrow's AI news, rebuilt in plain English — five minutes, sources linked, free forever.

By joining you agree to receive Article's daily newsletter — unsubscribe in one click. Privacy

← Back to the Vault