Skip to main content
QUICK REVIEW

[Paper Review] Airtnt: Fair Exchange Payment for Outsourced Secure Enclave Computations

Mustafa Al-Bassam, Alberto Sonnino|arXiv (Cornell University)|May 16, 2018
Security and Verification in ComputingComputer Science33 references18 citations
TL;DR

Airtnt is a trustless, decentralized framework that enables fair exchange of payments and secure computation results in trusted execution environments (TEEs) using blockchain-based smart contracts and off-chain payment channels. It ensures both requesters and executing nodes are protected from fraud through cryptographic attestation, micropayments per execution checkpoint, and no reliance on third-party dispute resolution.

ABSTRACT

We present Airtnt, a novel scheme that enables users with CPUs that support Trusted Execution Environments (TEEs) and remote attestation to rent out computing time on secure enclaves to untrusted users. Airtnt makes use of the attestation capabilities of TEEs and smart contracts on distributed ledgers to guarantee the fair exchange of the payment and the result of an execution. Airtnt makes use of off-chain payment channels to allow requesters to pay executing nodes for intermediate "snapshots" of the state of an execution. Effectively, this step-by-step "compute-payment" cycle realises untrusted pay-as-you-go micropayments for computation. Neither the requester nor the executing node can walk away and incur monetary loss to the other party. This also allows requesters to continue executions on other executing nodes if the original executing node becomes unavailable or goes offline.

Motivation & Objective

  • Address the lack of fair exchange mechanisms in decentralized, TEE-based computation markets where neither requester nor provider can be trusted.
  • Enable secure, verifiable execution of user tasks on remote TEE-enabled nodes without requiring mutual trust or a trusted third party.
  • Mitigate the risk of requester default or node dishonesty by introducing checkpoint-based micropayments via payment channels.
  • Support fault tolerance by allowing execution to continue on alternative nodes if the original node fails or goes offline.
  • Reduce blockchain bloat by avoiding storage of large computation results on-chain, instead relying on cryptographic proofs and off-chain state updates.

Proposed method

  • Leverages Intel SGX or similar TEEs to ensure execution integrity and generate remote attestation reports.
  • Uses smart contracts on a distributed ledger to act as a trustless mediator for fair exchange of payment and result.
  • Employs off-chain payment channels to enable micropayments after each execution checkpoint, reducing on-chain transaction load.
  • Introduces a step-by-step compute-payment cycle where each state transition is cryptographically verified and compensated.
  • Designs a protocol where both parties must commit to execution states and payments, preventing either from walking away with gain.
  • Uses cryptographic proofs (e.g., attestation signatures) to bind the result to the execution state, enabling verifiable correctness.

Experimental results

Research questions

  • RQ1How can fair exchange of payment and result be achieved between mutually distrusting parties in a decentralized TEE-based computation market?
  • RQ2Can micropayments via payment channels be used to reduce the risk of requester default during long-running TEE computations?
  • RQ3How can execution integrity be cryptographically verified without storing large results on the blockchain?
  • RQ4What mechanisms ensure that a failed or dishonest executing node does not result in loss for the requester or the provider?
  • RQ5To what extent does the checkpoint-based micropayment model impact performance and resource utilization in real-world workloads?

Key findings

  • Airtnt successfully enables fair exchange of payments and results in a decentralized TEE computation market without requiring mutual trust or a third-party mediator.
  • The use of payment channels for micropayments per execution checkpoint reduces the risk of requester default and allows migration to alternative nodes if the original node fails.
  • Evaluation on Game of Life and OCR workloads shows a clear trade-off between security (via frequent checkpoints) and efficiency (due to increased bandwidth and enclave overhead).
  • The system avoids storing large computation results on the blockchain, significantly reducing transaction costs and on-chain verification load.
  • Cryptographic attestation from TEEs ensures that only correct execution results are accepted, and any deviation is cryptographically detectable.
  • The protocol maintains strong security guarantees even if up to half the nodes are malicious, provided at least one is honest, through consensus and verification mechanisms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.