English

Leveraging Slither and Interval Analysis to build a Static Analysis Tool

Logic in Computer Science 2024-11-01 v1 Programming Languages Software Engineering

Abstract

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.

Keywords

Cite

@article{arxiv.2410.23766,
  title  = {Leveraging Slither and Interval Analysis to build a Static Analysis Tool},
  author = {Stefan-Claudiu Susan},
  journal= {arXiv preprint arXiv:2410.23766},
  year   = {2024}
}

Comments

In Proceedings FROM 2024, arXiv:2410.23020

R2 v1 2026-06-28T19:42:38.956Z