Lorenzo Magliocco

I worked mostly on secure Multi-Party Computation (MPC): a framework that models cryptographic protocols with multiple participants ("parties") while providing formal guarantees of correctness and privacy even in the presence of adversarial behaviour (e.g., a compromised network or misbehaving parties).

I also had a nip into formal verification, biometric authentication, constant-time programming, and trusted execution environments.

A summary of my publications, talks, and academic service may be found here.


soundcalc-lean: Formally Verifying a zkVM soundness calculator in Lean4
(2026, Summer Research Internship, Symbolic Software) [repo]

I contributed towards the Ethereum Foundation's formal verification efforts by working on the design of soundcalc-lean: a porting of the soundcalc tool in Lean4.

A companion paper is currently under review.

Summary
soundcalc is a Python tool deployed by the Ethereum Foundation to evaluate the overall soundness of zero-knowledge Virtual Machines (zkVMs). Crucially, the computations are performed using floating-point operations and hand-transcribed formulas.

soundcalc-lean leverages Lean4 to enhance the confidence in the tool's outputs in two ways. First, it improves numerical accuracy by relying on exact arithmetic and provably-bounded irrational approximations. Second, it imbues hand-transcribed formulas with theorems proving semantic facts about each formula's shape, such as: "Increasing an input parameter must not harm the overall soundness of the system".

The verification layer may be further strengthened by integrating neighbouring formal verification efforts, such as ArkLib. Concretely, one may prove theorems binding the soundness formulas to appropriate Lean4 models of the cryptograhic assumptions they are based upon, effectively machine checking pen-and-paper security proofs.


The Mirage of Honesty in Cryptography: Secure MPC with Untrusted Devices
(2022-2026, PhD in Cybersecurity, Sapienza University and LUISS, PhD Dissertation) [v1.0]

A compendium of the research I carried out during my PhD. The prime focus of the dissertation lies in the design of secure MPC protocols and theoretical models where truly honest parties do not exist, particularly in the fields of Password-Authenticated Key Exchange (PAKE) and Non-Interactive Zero-Knowledge (NIZK).

The manuscript features three original works that appeared at flagship conferences on cryptography. Namely:

Summary
[CMMV24] and [ACK+26] focus on the design of PAKE protocols with composability guarantees using cryptographic reverse firewalls: lightweight devices that sanitize the traffic of the party they are tasked to protect "in the domain of cryptography". Under this model, a party retains secure MPC guarantees even if its peer deviates from the protocol run in an arbitrary fashion and its device attempts to covertly exfiltrate information via protocol messages. [CMMV24] contains the first PAKE protocol ever designed under such a threat model.

[CMVX26] introduces the first formal characterization of robust combiners for NIZK: constructions that combine multiple instantiations of a cryptographic primitive to securely instantiate the same primitive, even if a subset of the candidates turns out to be insecure. The treatment includes formal definitions, impossibility results, as well as incomparable constructions.


Subversion-Resilient PAKE in the UC Framework
(2022, MSc in Cybersecurity, Sapienza University, MSc Thesis) [superseded]

My first experience with research on theoretical cryptography, where I explored the formal modelling of PAKE protocols and subversion resilience with composability guarantees.

The contents of the thesis have been superseded by my PhD dissertation, which tackles the topic with much greater maturity while exhibiting strictly better protocols.

Summary
I proposed a sanitation of the [CHK+05] PAKE protocol, which was deprecated in favour of [CMMV24] and [ACK+26] throughout my PhD journey. The former introduces a significantly simpler and more modular protocol, while also proposing relevant modelling extensions to the reference composability framework. The latter contains a protocol with a similar shape to the one presented in the thesis while also addressing technical shortcomings and achieving better efficiency.


An Introduction to SPDZ
(2020, BSc in Engineering in Computer Science, Sapienza University, BSc Thesis) [v1.0 (in Italian), repo]

My first contact with secure MPC and biometric authentication. The thesis focussed on consolidating elements of systems-level programming.

Summary
I implemented a simplified version of SPDZ in the context of a privacy-preserving biometric authentication system, where two mutually distrustful parties evaluate the hamming distance of two readings of an iris while keeping the readings themselves private.

The simplification stems from the introduction of a trusted third party that handles the generation of preprocessing data, such as multiplication triples and MAC keys, alongside the secret sharing of these quantities among the parties.