Smart contract platforms have become core infrastructures for decentralized applications, securing an ecosystem worth over 3.5 trillion USD. As these contracts increasingly govern financial value, trust, and decision-making, the design of their programming languages plays a crucial role in system security. This thesis investigates how language design and secure compilation can improve the reliability of smart contracts across heterogeneous blockchain platforms. It first presents a comparative analysis of smart contract languages, showing how design choices in type systems, storage models, and execution semantics directly affect vulnerability surfaces. Building on this analysis, the thesis introduces AlgoMove, a framework that brings Move’s resource-oriented programming model to Algorand through semantics-preserving compilation to TEAL. It then presents Move2EVM, which extends Move-to-EVM compilation with an inlined reference monitor to enforce Move’s safety guarantees at runtime with modest gas overhead. Finally, the thesis addresses reentrancy in Solidity by providing a formal characterization based on Non-Interference and by evaluating current detection tools against a benchmark of 134 validated real-world vulnerabilities. The results show that existing tools systematically miss important cases, highlighting the need for more semantics-aware analysis. Overall, the thesis demonstrates that principled language design and secure compilation are key to improving blockchain security in a high-value, high-risk ecosystem.

Language-based security in smart contract platforms: semantic foundations and cross-chain compilation

BENETOLLO, LORENZO
2026-06-23

Abstract

Smart contract platforms have become core infrastructures for decentralized applications, securing an ecosystem worth over 3.5 trillion USD. As these contracts increasingly govern financial value, trust, and decision-making, the design of their programming languages plays a crucial role in system security. This thesis investigates how language design and secure compilation can improve the reliability of smart contracts across heterogeneous blockchain platforms. It first presents a comparative analysis of smart contract languages, showing how design choices in type systems, storage models, and execution semantics directly affect vulnerability surfaces. Building on this analysis, the thesis introduces AlgoMove, a framework that brings Move’s resource-oriented programming model to Algorand through semantics-preserving compilation to TEAL. It then presents Move2EVM, which extends Move-to-EVM compilation with an inlined reference monitor to enforce Move’s safety guarantees at runtime with modest gas overhead. Finally, the thesis addresses reentrancy in Solidity by providing a formal characterization based on Non-Interference and by evaluating current detection tools against a benchmark of 134 validated real-world vulnerabilities. The results show that existing tools systematically miss important cases, highlighting the need for more semantics-aware analysis. Overall, the thesis demonstrates that principled language design and secure compilation are key to improving blockchain security in a high-value, high-risk ecosystem.
23-giu-2026
Blockchain and Distributed Ledger Technology
Blockchain Security;Smart Contract Programming Languages;Programming Languages;Compiler;Language Based Security;Secure Compilation;Move Language
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11581/505285
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact