← Tools & Demos

Security Protocol Verification · Recorded demonstration

User-Guided Verification of Security Protocols via Sound Animation

Explore protocol behaviour, grounded in a formal model.

The problem

Protocol specifications can be difficult to inspect. An accessible animator helps designers explore how participants and an intruder may interact within a specified model.

The approach

This co-authored work uses interaction-tree-based CSP models in Isabelle/HOL and generates Haskell animators. The repository documents manual exploration and user-guided reachability searches.

See the research

Watch the demonstration

Recorded research demonstration

User-Guided Verification of Security Protocols via Sound Animation

Load the video player to watch the recording. This contacts YouTube only after you choose to load it.

Watch the original recording on YouTube ↗

Security-protocol animation demonstration presented at MWC2025. The external watch link remains available if the player cannot load.

What this demonstrates

  1. Start from a protocol specification

    The source repository provides Isabelle/HOL models and generated Haskell animator code for the early framework presented at SEFM 2024.

  2. Explore possible executions

    The documented terminal interface offers enabled events for the user to select, revealing the next state of an execution.

  3. Inspect behaviour within the model

    Repository examples combine manual choices with automatic reachability exploration and display resulting traces. These instructions describe the documented workflow, rather than a timestamped video transcript.

Animation soundness relates generated behaviour to the formal semantics. It is distinct from a proof that every execution satisfies a particular security property. Conclusions depend on the chosen model, intruder assumptions, parameters and exploration bounds.

Explore the source material

Two protocol examples

Example 01

Needham–Schroeder public-key specification

Explore the public-key protocol specification in the early-framework model collection. Related variants are documented in the repository.

Explore the specification and source ↗

Example 02

Diffie–Hellman specification

Inspect the key-agreement specification and its explicit intruder model. The repository also documents a digital-signature variant.

Explore the specification and source ↗

Formal foundations and scope

The SEFM 2024 paper is by K. Ye, R. Metere and P. Yadav, published in Software Engineering and Formal Methods, pages 33–51. The animator is grounded in an interaction-tree model of CSP mechanised in Isabelle/HOL.

The repository includes an early framework associated with this paper and a later generic framework. Later additions and their security claims should be read in their own context rather than attributed to the 2024 publication.

Running the research software

The repository documents local execution of generated Haskell animators with GHC. Regenerating an animator from a theory requires the patched Isabelle/UTP environment described in the README. The web interface uses the Haskell Yesod framework and requires its own runtime.

Run the animators locally using the repository’s installation instructions.

Related publications

User-Guided Verification of Security Protocols via Sound Animation
K. Ye, R. Metere, and P. Yadav · 2024

Formal verification of physical layer security protocols for next-generation communication networks
K. Ye, R. Metere, J. Woodcock, and P. Yadav · 2026

Research resources & references