Leveraging Slither and Interval Analysis to build a Static Analysis Tool

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Susan, Stefan-Claudiu
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910679272783872
author Susan, Stefan-Claudiu
author_facet Susan, Stefan-Claudiu
contents Even though much progress has been made in identifying and mitigating smart contract vulnerabilities, we often hear about coding or design issues leading to great financial losses. This paper presents our progress toward finding defects that are sometimes not detected or completely detected by state-of-the-art analysis tools. Although it is still in its incipient phase, we developed a working solution built on top of Slither that uses interval analysis to evaluate the contract state during the execution of each instruction. To improve the accuracy of our results, we extend interval analysis by also considering the constraints imposed by specific instructions. We present the current solution architecture in detail and show how it could be extended to other static analysis techniques, including how it can be integrated with other third-party tools. Our current benchmarks contain examples of smart contracts that highlight the potential of this approach to detect certain code defects.
format Preprint
id arxiv_https___arxiv_org_abs_2410_23766
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Leveraging Slither and Interval Analysis to build a Static Analysis Tool
Susan, Stefan-Claudiu
Logic in Computer Science
Programming Languages
Software Engineering
D.2.4
Even though much progress has been made in identifying and mitigating smart contract vulnerabilities, we often hear about coding or design issues leading to great financial losses. This paper presents our progress toward finding defects that are sometimes not detected or completely detected by state-of-the-art analysis tools. Although it is still in its incipient phase, we developed a working solution built on top of Slither that uses interval analysis to evaluate the contract state during the execution of each instruction. To improve the accuracy of our results, we extend interval analysis by also considering the constraints imposed by specific instructions. We present the current solution architecture in detail and show how it could be extended to other static analysis techniques, including how it can be integrated with other third-party tools. Our current benchmarks contain examples of smart contracts that highlight the potential of this approach to detect certain code defects.
title Leveraging Slither and Interval Analysis to build a Static Analysis Tool
topic Logic in Computer Science
Programming Languages
Software Engineering
D.2.4
url https://arxiv.org/abs/2410.23766