LLMs achieve only about 39% coverage in symbolic cryptographic protocol verification
LLMs can generate useful lemmas for protocol verification but with limited overall coverage
Software arXiv 28 Sep 2026 Measurement Simulation evidence
Published as “LLM-Assisted Automatic Security Proofs for Cryptographic Protocols: How Far Are We?”
Why it matters
Few-shot prompting is necessary for usable lemma generation, but high verification cost and limited coverage mean LLM-assisted CSPV is not yet ready for large-scale deployment.
Summary
The paper finds that few-shot prompting markedly improves LLMs' ability to generate syntactically valid Tamarin lemmas (by 30.4 percentage points), but overall coverage of security properties is modest, especially for secrecy, and verification of generated lemmas is 4×-21× slower than baseline, with diminishing returns from generating more lemmas. The evidence is based on a systematic empirical study over 18 protocols (plus 54 mutated variants) using multiple LLMs, but the abstract was not provided.
What they found 5
- Few-shot prompting improves syntactic validity of generated lemmas by 30.4 percentage points over zero-shot.
“Compared with zero-shot prompting, few-shot prompting improves the syntax success rate by 30.4 percentage points.”
- LLMs achieve higher CRoST scores on authentication and sanity properties than on secrecy properties.
“The results in Table III indicate that, on average, SOTA LLMs perform better on authentication and sanity properties than on secrecy properties.”
- Verifying LLM-generated lemmas is substantially slower than verifying the original target lemmas.
“Compared to the baseline, verifying generated lemmas incurs roughly a 4×-21× slowdown.”
- Generating more lemmas yields diminishing returns; coverage plateaus after about eight sampling iterations.
“CROST improves by only about 24 percentage points and largely plateaus after the 8th run.”
- Additional sampling mainly produces redundant or weak variants that add little new solve-path coverage.
“additional sampling mainly produces redundant or weak variants that contribute little new solve-path coverage.”
Caveats 6
- Despite high syntax success (>70%), the verification runtime overhead (4×-21× slowdown) limits practical benefit.
- Increasing the number of generated lemmas shows limited improvement in CRoST, indicating saturation.
- Stage-point confusion in multi-phase protocols can cause large coverage loss despite otherwise valid lemmas.
- Our benchmark covers 18 protocols and three major property families: secrecy, authentication, and sanity.
- the results may not fully generalize to larger protocol collections or to property families not covered by our benchmark.
- LLM-based lemma generation is sensitive to prompt design, in-context examples, and decoding randomness.
What’s new here 4
- Focuses on the underexplored step of security-property (lemma) generation for symbolic protocol verification.
- Introduces the CRoST (Coverage Rate of Solve Tree) metric to evaluate lemma similarity at the proof-search level.
- Provides a large-scale empirical comparison of many LLMs with few-shot prompting across secrecy, authentication, and sanity tasks.
- Identifies concrete failure modes such as stage-point confusion in multi-phase protocols.