论文标题
SOK:TEE辅助机密智能合约
SoK: TEE-assisted Confidential Smart Contract
论文作者
论文摘要
基于区块链的智能合约缺乏隐私,因为合同状态和指令代码接触到公众。将智能合同执行与受信任的执行环境(TEES)相结合,提供了一个有效的解决方案,称为TEE辅助智能合约,以保护合同状态的机密性。但是,组合方法是多种多样的,并且没有系统的研究。新发布的系统可能无法借鉴从现有协议中学到的经验,例如重复已知的设计错误或以不安全的方式应用TEE技术。在本文中,我们首先研究并将现有系统分为两种类型:层 - 一个解决方案和三层解决方案。然后,我们建立一个分析框架来捕获其共同的灯光,涵盖所需的属性(用于合同服务),威胁模型和安全考虑(用于基础系统)。根据我们的分类法,我们确定了它们的理想功能,并揭示了每个规范设计中挑战的基本缺陷和原因。我们认为,这项工作将为开发TEE辅助智能合约的开发提供指南,以及评估未来TEE辅助机密合同系统的框架。
The blockchain-based smart contract lacks privacy since the contract state and instruction code are exposed to the public. Combining smart-contract execution with Trusted Execution Environments (TEEs) provides an efficient solution, called TEE-assisted smart contracts, for protecting the confidentiality of contract states. However, the combination approaches are varied, and a systematic study is absent. Newly released systems may fail to draw upon the experience learned from existing protocols, such as repeating known design mistakes or applying TEE technology in insecure ways. In this paper, we first investigate and categorize the existing systems into two types: the layer-one solution and layer-two solution. Then, we establish an analysis framework to capture their common lights, covering the desired properties (for contract services), threat models, and security considerations (for underlying systems). Based on our taxonomy, we identify their ideal functionalities and uncover the fundamental flaws and reasons for the challenges in each specification design. We believe that this work would provide a guide for the development of TEE-assisted smart contracts, as well as a framework to evaluate future TEE-assisted confidential contract systems.