Passer à la navigation principale Passer à la recherche Passer au contenu principal

Model Checking of Vulnerabilities in Smart Contracts: A Solidity-to-CPN Approach

  • Ecl. Natl. d'Ing. de Tunis
  • Sorbonne Université
  • University of Monastir
  • CNRS SAMOVAR UMR 5157

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

Despite the benefits that the Blockchain technology brings to many application fields, its adoption does not come without challenges. Smart contracts, which are at the core of 2nd generation blockchains, can often be riddled with vulnerabilities that can be exploited to attack the platform and threaten its security. It is therefore crucial for the protection of the designed systems to prove the correctness of the smart contracts to be deployed. Approaches have been proposed to detect generic vulnerabilities like reentrancy, but the results would often include false positives where the detected bug is either non existent or not exploitable. Besides, such approaches do not offer to check contract-specific properties. The work presented in this paper is situated as part of a formal approach that we have proposed in an attempt to bridge this gap. This previously outlined approach is based on the transformation of Solidity smart contracts into Coloured Petri nets, which provides the possibility to verify smart contracts with reference to properties expressed as Linear Temporal Logic (LTL) formulae. Herein we extend our previous work on mainly two levels: first, by taking into account the concept of function calls in the transformation and second, by focusing on the LTL properties that can define the correctness of a smart contract. Such properties can be specific to the control- or data-flow of the contracts being checked. They can also be used to express vulnerabilities as we showcase by proposing LTL formalizations for six vulnerabilities from the literature. We then leverage the capability of the Helena model checker to detect these vulnerabilities while discerning their exploitability, as well as check temporal-based contract-specific properties.

langue originaleAnglais
titreProceedings of the 37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022
EditeurAssociation for Computing Machinery
Pages316-325
Nombre de pages10
ISBN (Electronique)9781450387132
Les DOIs
étatPublié - 25 avr. 2022
Evénement37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022 - Virtual, Online
Durée: 25 avr. 202229 avr. 2022

Série de publications

NomProceedings of the ACM Symposium on Applied Computing

Une conférence

Une conférence37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022
La villeVirtual, Online
période25/04/2229/04/22

Empreinte digitale

Examiner les sujets de recherche de « Model Checking of Vulnerabilities in Smart Contracts: A Solidity-to-CPN Approach ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation