LLMs achieve up to 95.7% F1 on confidentiality but under 31% precision on most security goals
LLMs do not match formal verification tools for symbolic security protocol analysis and are only useful as pre-screening filters
Security & privacy arXiv 22 Jul 2026 Measurement Prototype evidence
Published as “Evaluating Large Language Models for Symbolic Security Protocol Analysis”
Why it matters
LLMs may serve as inexpensive first-pass triage filters to flag likely vulnerable protocols, but their verdicts must still be confirmed by formal verification.
Summary
LLMs do not match formal verification tools for symbolic security protocol analysis; chat-style models achieve high recall (69-81%) but low precision (<31%), while reasoning-style models improve precision (up to 66.5% for GPT) at the cost of recall (just over half of attacks). The evidence comes from three independent runs on 130 obfuscated AnB/AnBx protocols covering 388 security goals, evaluated against ProVerif and OFMC with confidence intervals reported. The results are consistent across runs but show systematic blind spots, especially for agreement goals, and confidence scores are uncalibrated.
What they found 2
- Chat models achieve high recall but low precision.
“Chat models reach 69 to 81% recall at precision below 31%.”
- Reasoning models improve precision while sacrificing recall.
“Reasoning models reverse this trade-off, reaching 66.5% precision for GPT and 45.4% for DeepSeek, but detect just over half the attacks.”
Caveats 5
- Reasoning models still miss roughly half of the true attacks (recall ~55%).
- Chat models generate many false alarms, with precision below 31%, limiting practical usefulness.
- Self-reported confidence scores are uniformly high and show no correlation with correctness, undermining their reliability as a filter.
- The GPT contrast additionally spans a model-version change from GPT-5.2 to GPT-5.4, so it is only suggestive of a pure reasoning effect (Section 6.2).
- Neither configuration reaches the reliability expected of a formal verification tool.
What’s new here 4
- First systematic, direct comparison of LLM-generated security verdicts against formal verification tools (ProVerif, OFMC).
- Side-by-side evaluation of chat versus chain-of-thought reasoning configurations within the same underlying model (DeepSeek).
- Large benchmark of 130 protocols and 388 security goals with multiple runs and statistical confidence intervals.
- Analysis of LLM confidence calibration, inter-run stability, and cost of reasoning versus chat modes.