E-mail senden E-Mail Adresse kopieren
2026-11-15

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

Zusammenfassung

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 often produces shorter proofs than both the standard heuristics and human-engineered heuristics. Our work demonstrates the efficacy of using RL to learn heuristics that guide Tamarin's proof search, reducing the human effort required. Moreover, our standardized interface is of independent interest and paves the way for future research into learning-based methods for Tamarin.

Konferenzbeitrag

ACM Conference on Computer and Communications Security (CCS)

Veröffentlichungsdatum

2026-11-15

Letztes Änderungsdatum

2026-11-25