mlsanityData to 7 Oct 2026

Less Effort, Shorter Proofs: Reinforcement Learning for Security Protocol Analysis in Tamarin

arXiv 2605.23643 ↗First posted 22 May 2026cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Tools like Tamarin and ProVerif have achieved notable success in analyzing and verifying complex real-world protocols such as EMV, 5G, and WPA2, even detecting zero-day exploits. Despite these successes, verifying such protocols remains a time-consuming, challenging task, often requiring significant human effort and expertise. In this paper, we present a reinforcement learning (RL) framework inspired by AlphaZero and AlphaProof that implements a new style of proof search for Tamarin. We have developed a stateless API for Tamarin that acts as a classical RL environment. We guide a Monte Carlo Tree Search (MCTS) by a neural heuristic that learns from completed subproofs. We evaluate our framework on 16 case studies, ranging from classical protocol models to challenging state-of-the-art protocol models from recent publications. Our method finds more proofs automatically than Tamarin's standard search and produces shorter proofs than both the standard and human-engineered heuristics. Our pipeline is applicable out of the box to assist Tamarin users in active research, reducing the human effort required. Moreover, our standardized interface provides a programmatic way for users to interact with Tamarin. Finally, our work demonstrates the promising potential of adapting RL-based methods to the Tamarin domain.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 8 of its 40 references that are in the map. First posted on arXiv 22 May 2026.

Builds on

8 of 40 references.

References · 8

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Pointer Networkscited by 882
  3. 2020Generative Language Modeling for Automated Theorem Provingcited by 379
  4. 2022Draft, Sketch, and Prove: Guiding Formal Theorem Provers with Informal Proofscited by 278
  5. 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
  6. 2023Decomposing the Enigma: Subgoal-based Demonstration Learning for Formal Theorem Provingcited by 37
  7. 2020Monte-Carlo Graph Search for AlphaZerocited by 7
  8. 2018Verifying Security Protocols using Dynamic Strategiescited by 1

Built on by

Not cited yet.