The case, explained

Milan Court: Smart Contract Breach and Oracle Liability

7 min read · Updated September 2026 · Editorial oversight: Avv. Federico Papa

Recent developments in merit jurisprudence mark a turning point for technology law: the Court of Milan has addressed the delicate issue of civil liability related to smart contract malfunctions. According to reports in the specialized press, the litigation focused not only on code automation but especially on the role of the oracle as a provider of data essential for the performance of contractual obligations. While previous articles in this column explored the seizure of cryptocurrencies in criminal proceedings or algorithm transparency in public administration, this decision focuses for the first time on a purely private and compensatory dimension. The case raises fundamental questions regarding the nature of contractual bonds when performance is entrusted to software. Through a reconstruction of the facts and an analysis of the regulatory framework, we explore how the principle of contractual liability adapts to decentralized architectures, culminating in the examination of a twin case that illustrates operational risks for businesses and professionals.

Milan Court: Smart Contract Breach and Oracle Liability

In brief

The article examines recent jurisprudence from the Court of Milan regarding civil liability arising from smart contract breaches. The focus is on the role of the oracle and its negligence in providing data necessary for code execution. It analyzes Art. 8-ter of D.L. 135/2018 and the principles of contractual liability under Art. 1218 of the Italian Civil Code, offering a practical guide through an educational twin case and operational takeaways for legal and technology professionals.

  1. The facts

    According to Il Sole 24 Ore and Altalex, the dispute stems from the activation of a parametric insurance policy based on blockchain technology. An agricultural company had entered into a smart contract providing for automatic compensation in the event of prolonged drought, defined by objective meteorological parameters. However, despite the occurrence of the adverse weather conditions, the code did not execute the payment because the oracle, namely the provider of the weather data feed, transmitted incorrect or incomplete information. The case, brought before the Court of Milan in the first instance, pits the insured against the technology service provider. The injured party claims economic damage resulting from the failure of the automation, alleging negligence in data maintenance by the oracle. The current procedural stage concerns the determination of the causal link between the technical error and the damage suffered, in a context where the defense argues that the provider is not liable for unforeseeable protocol bugs.

  2. The rules at play

    The regulatory pillar of the case is Art. 8-ter of D.L. 135/2018, which defines a smart contract as a computer program whose execution automatically binds two or more parties based on predefined effects. This rule is fundamental because it grants legal value to automation, provided the written form requirement is met through digital identification. Secondly, Art. 1218 of the Civil Code governs contractual liability: a debtor who fails to perform the due obligation exactly is liable for damages unless they prove that the non-performance resulted from causes beyond their control. In this scenario, the oracle acts as an auxiliary or a trust service provider. Finally, Art. 2712 of the Civil Code regulates the evidentiary value of electronic records, allowing blockchain logs to be produced in court as evidence of on-chain events, unless specifically contested regarding their conformity to those facts.

  3. What jurisprudence says

    Merit jurisprudence, with particular reference to the Enterprise Section of the Court of Milan, has begun to consolidate the view that blockchain technology does not exempt parties from general civil law rules. Judges have clarified that the Code is Law principle applies only within the technical system and cannot derogate from mandatory rules on breach of contract. In previous precautionary measures, courts established that reports extracted from distributed ledgers constitute suitable documentary evidence to support injunctions or seizures, provided the parties' identities are attributable to certain subjects. Furthermore, the prevailing approach suggests that the oracle's liability must be evaluated according to the professional diligence required of a qualified technical operator, ruling out that the decentralized nature of the network can serve as a shield for failure to monitor data flows sent to the contract.

  4. Analysis drafted and verified with edit.legal

    To verify the provisions cited in this article, we used edit.legal. Test our legal AI on official sources and apply it to your own matters.

    Try edit.legal AI
  5. What it teaches professionals

    1. Drafting safeguard clauses: it is essential to include dispute resolution procedures in the off-chain contract for cases of oracle failure.
    2. Technological due diligence: lawyers must verify oracle redundancy, suggesting the use of multiple data sources to minimize single-point-of-failure risks.
    3. Identification and form: ensure that smart contract signing follows AgID guidelines to guarantee full evidentiary effectiveness as a private deed.
    4. Evidence management: gain training on the preservation and court submission of hashes and transaction logs to support compensation claims.

References: Articolo 8-ter D.L. 135/2018Articolo 1218 Codice CivileArticolo 2712 Codice CivileArticolo 1227 Codice Civile

Avv. Federico Papa
Editorial oversight: Avv. Federico Papa·ICAMContent drafted with AI support and subject to editorial source checks. Despite these controls, inaccuracies may remain: reports and rectification requests are welcome. Report a correction

Frequently asked questions

Is a smart contract legally binding in Italy?

Yes, under Art. 8-ter of D.L. 135/2018, smart contracts produce legal effects between parties, provided they satisfy the written form requirement through a digital identification process compliant with AgID requirements.

Who is liable if a smart contract executes a wrong order due to a bug?

Liability generally falls on the party that drafted the code or the service provider, based on contractual liability rules (Art. 1218 of the Civil Code), unless a fortuitous event or force majeure is proven.

Can I cancel a blockchain transaction executed by a smart contract?

Technically, blockchain transactions are irreversible, but legally it is possible to obtain a judgment forcing the counterparty to return what was unduly received (restitution of unowed payments) or to pay damages.

Verified legal research and drafting with edit.legal

Legal research and drafting with citations checked against official databases. edit.legal is free to try, no credit card.

Try edit.legal for free