Matteo Marescotti

Matteo Marescotti

Auto-generated profile, based on publicly available information

Matteo Marescotti

Meta, London, United Kingdom

Research Focus & Metrics

Academic Career Length

4Years (2023-Present)

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

Representative Publications

View All Publications
13 March 2023 in ACM Transactions on Privacy and Security
Verified
Journal Article
Open access
RORodrigo Otoni
Rodrigo Otoni
MMMatteo Marescotti
Matteo Marescotti
LALeonardo Alt
Leonardo Alt
PEPatrick Eugster
Patrick Eugster
AHAntti E. J. Hyvärinen
Antti E. J. Hyvärinen
NSNatasha Sharygina
Natasha Sharygina
Smart contracts are tempting targets of attacks, as they often hold and manipulate significant financial assets, are immutable after deployment, and have publicly available source code, with assets estimated in the order of millions of dollars being lost in the past due to vulnerabilities. Formal verification is thus a necessity, but smart contracts challenge the existing highly efficient techniques routinely applied in the symbolic verification of software, due to specificities not present in general programming languages. A common feature of existing works in this area is the attempt to reuse off-the-shelf verification tools designed for general programming languages. This reuse can lead to inefficiency and potentially unsound results, as domain translation is required. In this article, we describe a carefully crafted approach that directly models the central aspects of smart contracts natively, going from the contract to its logical representation without intermediary steps. We use the expressive and highly automatable logic of constrained Horn clauses for modeling and instantiate our approach to the Solidity language. A tool implementing our approach, called Solicitous , was developed and integrated into the SMTChecker module of the Solidity compiler solc. We evaluated our approach on an extensive benchmark set containing 22,446 real-world smart contracts deployed on the Ethereum blockchain over a 27-month period. The results show that our approach is able to establish safety of significantly more contracts than comparable, publicly available verification tools, with an order of magnitude increase in the percentage of formally verified contracts.

14 April 2024
Verified
Conference Paper
Open access
KMKe Mao
Ke Mao
CÅCons Åhs
Cons Åhs
SCSopot Cela
Sopot Cela
DDDino Distefano
Dino Distefano
NGNick Gardner
Nick Gardner
TSThibault Suzanne
Thibault Suzanne
Static and dynamic code analyses have been widely adopted in industry to enhance software reliability, security, and performance by automatically detecting bugs in the code. In this paper, we introduce PrivacyCAT1, a code analysis system developed and deployed at WhatsApp to protect user privacy. PrivacyCAT automatically detects privacy defects in code at early stages (before reaching production and affecting users), and therefore, it prevents such vulnerabilities from evolving into privacy incidents. PrivacyCAT comprises of a collection of static and dynamic taint analysers. We report on the technical development of PrivacyCAT and the results of two years of its large-scale industrial deployment at WhatsApp. We present our experience in designing its system architecture, and continuous integration process. We discuss the unique challenges encountered in developing and deploying such kind of analyses within an industrial context. Since its deployment in 2021, PrivacyCAT has safeguarded data privacy in 74% of privacy site events (SEVs). It has prevented 493 potential privacy SEVs from being introduced into the codebases, enabling developers to maintain a high privacy standard for the code that supports over two billion WhatsApp users.

12 April 2026
Verified
Conference Paper
Open access
KMKe Mao
Ke Mao
TKTimotej Kapus
Timotej Kapus
CÅCons T Åhs
Cons T Åhs
MMMatteo Marescotti
Matteo Marescotti
DIDaniel Ip
Daniel Ip
ABAparup Banerjee
Aparup Banerjee

27 October 2024
Verified
Conference Paper
Open access
DDDino Distefano
Dino Distefano
MMMatteo Marescotti
Matteo Marescotti
CACons Ahs
Cons Ahs
SCSopot Cela
Sopot Cela
GSGabriela Cunha Sampaio
Gabriela Cunha Sampaio
TSThibault Suzanne
Thibault Suzanne
In this paper we introduce a novel method for improving static analysis of real code by using dynamic analysis. We have implemented our technique to enhance the Infer static analyzer [6] for Erlang by supplementing its analysis with data obtained by FAUSTA [24] dynamic analysis. We present the technical details of the algorithm combining static and dynamic analysis and a case study on its evaluation on WhatsApp's Erlang code to detect software defects. Results show an increase in detected bugs in 76% of the runs when data from dynamic analysis is used. In particular, on average, data provided by dynamic analysis for 1 function enables static analysis of 2.1 additional functions. Moreover, dynamic data enabled analysis of a property not verifiable using static analysis alone.

15 June 2026
Verified
Conference Paper
Open access
ÁHÁkos Hajdu
Ákos Hajdu
JMJorge Mendez
Jorge Mendez
SVSander van Valkenburg
Sander van Valkenburg
AKArtem Kupriianets
Artem Kupriianets
MMMatteo Marescotti
Matteo Marescotti
SCSopot Cela
Sopot Cela