Luca Olivieri

Dr. Luca Olivieri

orcid

Research Focus & Metrics

Academic Career Length

6Years (2021-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
12 July 2024 in International Journal on Software Tools for Technology Transfer
Verified
Journal Article
Open access
PDF file
Luca OlivieriLuca Olivieri
Luca Olivieri
FSFausto Spoto
Fausto Spoto
Blockchain technology has created a new software development context, with its own peculiarities, mainly due to the guarantees that the technology must satisfy, that is, immutability, distributability, and decentralization of data. Its rapid evolution over the last decade implied a lack of adequate verification tools, exposing developers and users to critical vulnerabilities and bugs. This paper clarifies the extent of block chain-oriented software (BoS), that goes well beyond smart contracts. Moreover, it provides an overview of the challenges related to software verification in the blockchain context, encompassing smart contracts, blockchain layers, cross-chain applications, and, more generally, BoS. This study aims to highlight the shortcomings of the state-of-art and of the state-of-practice of software verification in that context and identify, at the same time, new research directions.

29 January 2024 in Distributed Ledger Technologies: Research and Practice
Verified
Journal Article
Open access
Luca OlivieriLuca Olivieri
Luca Olivieri
LNLuca Negrini
Luca Negrini
VAVincenzo Arceri
Vincenzo Arceri
TJThomas Jensen
Thomas Jensen
FSFausto Spoto
Fausto Spoto
Once deployed in blockchain, smart contracts become immutable: attackers can exploit bugs and vulnerabilities in their code, that cannot be replaced with a bug-free version. For this reason, the verification of smart contracts before they are deployed in blockchain is important. However, the development of verification tools is not easy, especially if one wants to obtain guarantees by using formal methods. This paper describes the development, from scratch, of a static analyzer based on abstract interpretation for the verification of real-world Tezos smart contracts. The analyzer is generic with respect to the property under analysis. This paper shows taint analysis as a concrete instantiation of the analyzer, at different levels of precision, to detect untrusted cross-contract invocations.

5 June 2024 in IEEE Access
Verified
Journal Article
Open access
Luca OlivieriLuca Olivieri
Luca Olivieri
LNLuca Negrini
Luca Negrini
VAVincenzo Arceri
Vincenzo Arceri
BCBadaruddin Chachar
Badaruddin Chachar
JuliaSoft SRL FerraraJuliaSoft SRL Ferrara
JuliaSoft SRL Ferrara
Agostino CortesiAgostino Cortesi
Agostino Cortesi
In concurrent transactional systems, a phantom read occurs when a transaction retrieves a set of data, and simultaneously, new data is inserted, updated, or removed from that set by one or more other transactions, leading to unexpected data being read. In Hyperledger Fabric (HF), a popular enterprise-grade framework for developing permissioned blockchain platforms, phantom reads are detected during the transaction validation phase. It inspects the values from read operations and checks their consistency, also re-executing some domain-specific read operations called range queries . However, being HF based on an optimistic concurrency control model, managing an excessive number of conflicts related to phantom reads could result in sudden system slowdowns. Additionally, some kind of range queries are not considered in the validation and verification process. For the latter, the re-execution is not performed and checks are not provided leading to undetected phantom reads when the values returned from them are written to the ledger. Hence, the burden of implementing phantom read-free applications (i.e., smart contracts ) is on the developers, who need to correctly manage the read instructions in the code and use automatic verification tools to detect any unsafe implementations leading to system slowdowns and undetectable phantom reads. In this paper, we explore the phantom reads detection problem at the smart contract level and demonstrate how a verification approach through formal methods can identify possible bottlenecks caused by phantom reads and mitigate range query risks, outperforming the current state-of-the-art and state-of-the-practice for their detection. Our approach is implemented with GoLiSA, a semantic static analyzer based on abstract interpretation for Go applications.

5 September 2024
Verified
Book Chapter
Open access
PDF file
LNLuca Negrini
Luca Negrini
VAVincenzo Arceri
Vincenzo Arceri
Luca OlivieriLuca Olivieri
Luca Olivieri
Agostino CortesiAgostino Cortesi
Agostino Cortesi
JuliaSoft SRL FerraraJuliaSoft SRL Ferrara
JuliaSoft SRL Ferrara
Nowadays, ready-to-use libraries and code generation are often used to streamline and speed up the software development process. The resulting programs are thus a collection of different modules that cooperate: proving their safety and reliability is increasingly complex, requiring sound formal techniques, such as static program analysis. However, while teaching static analysis to master’s or PhD students, the predominant focus on theoretical concepts often leaves limited space for students to engage with the practical aspects of implementing static analyses and is limited to developing elementary ones. In this paper, we show how the infrastructure offered by LiSA can be exploited to learn how to implement advanced static analyses, such as string and relational numerical analyses, just focusing on their distinctive aspects. This would help to narrow the gap between theoretical and practical contents in static analysis courses, bringing the learning experience beyond the rudimentary implementation of static analyses to more sophisticated applications.

11 November 2024 in IEEE Access
Verified
Journal Article
Open access
Luca OlivieriLuca Olivieri
Luca Olivieri
VAVincenzo Arceri
Vincenzo Arceri
BCBadaruddin Chachar
Badaruddin Chachar
LNLuca Negrini
Luca Negrini
FTFabio Tagliaferro
Fabio Tagliaferro
Agostino CortesiAgostino Cortesi
Agostino Cortesi
Smart contracts are undoubtedly one of the most successful and popular applications of the blockchain industry. They consist of computer programs that are stored in blockchain, typically immutable, allowing the creation of decentralized applications (DApps). Their source code describes how the blockchain’s global state should evolve as a consequence of input received from transaction requests. There are two categories of programming languages for writing smart contracts: domain-specific languages (DSLs) and general-purpose languages (GPLs). The research community has spent a great effort for proposing, studying, and verifying DSLs, while the same is not true for GPLs applied to blockchain, although the most popular blockchains adopt them at different levels of the software development. This paper investigates the use of the most popular GPLs in smart contracts and DApps development. It first overviews blockchains that use GPLs for writing smart contracts. Then, it provides a taxonomy of how GPLs are used to develop smart contracts, highlighting limitations and challenges for each type of GPL. The goal of this study is to provide blockchain practitioners with a better comprehension of GPLs, while shedding light on this class of programming languages that are widespread in blockchain software.

31 March 2025
Verified
Conference Paper
Open access
Luca OlivieriLuca Olivieri
Luca Olivieri
LNLuca Negrini
Luca Negrini
VAVincenzo Arceri
Vincenzo Arceri
JuliaSoft SRL FerraraJuliaSoft SRL Ferrara
JuliaSoft SRL Ferrara
Agostino CortesiAgostino Cortesi
Agostino Cortesi