KIT | KIT-Bibliothek | Impressum | Datenschutz

Security of the Lightning Network: Model Checking a Stepwise Refinement with TLA+

Grundmann, Matthias ORCID iD icon 1,2; Hartenstein, Hannes 1,2
1 Kompetenzzentrum für angewandte Sicherheitstechnologie (KASTEL), Karlsruher Institut für Technologie (KIT)
2 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)

Abstract:

Payment channel networks such as the Lightning Network are an approach to improve the scalability of blockchain-based cryptocurrencies. The complexity of Lightning, the Lightning Network's protocol, makes it hard to assess whether the protocol is secure. To enable computer-aided security verification of Lightning, we formalize the protocol in TLA+ and formally specify the security property that honest users are guaranteed to retrieve their correct balance. Model checking provides a fully automated verification of the security property, however, the state space of the protocol's specification is so large that model checking is unfeasible. We make model checking of Lightning possible using two refinement steps that we verify using proofs. In a first step, we abstract the model of time and in a second step we use compositional reasoning to separately model check a single payment channel and multi-hop payments. These refinements reduce the state space sufficiently to allow for model checking Lightning with small finite models. Our results indicate that the current specification of Lightning is secure.


Postprint (Version 2) §
DOI: 10.5445/IR/1000185190/v2
Veröffentlicht am 29.09.2025
Zugehörige Institution(en) am KIT Institut für Informationssicherheit und Verlässlichkeit (KASTEL)
Kompetenzzentrum für angewandte Sicherheitstechnologie (KASTEL)
Publikationstyp Proceedingsbeitrag
Publikationsjahr 2026
Sprache Englisch
Identifikator ISBN: 978-3-032-10793-0
ISSN: 0302-9743
KITopen-ID: 1000185190
HGF-Programm 46.23.01 (POF IV, LK 01) Methods for Engineering Secure Systems
Weitere HGF-Programme 46.23.03 (POF IV, LK 01) Engineering Security for Mobility Systems
Erschienen in Integrated Formal Methods : 20th International Conference, iFM 2025, Paris, France, November 19–21, 2025
Veranstaltung 20th International Conference on Integrated Formal Methods (iFM 2025), Paris, Frankreich, 17.11.2025 – 21.11.2025
Verlag Springer
Seiten 313–335
Serie Lecture Notes in Computer Science (LNCS) ; 16194
Vorab online veröffentlicht am 16.11.2025
Nachgewiesen in OpenAlex
Dimensions
Scopus
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page