arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.18064cs.PL
收藏

Move 中的深度防御运行时安全

Defense-in-Depth Runtime Safety in Move

Aptos Labs(Aptos实验室)

Victor Gao, Wolfgang Grieskamp, Vineeth Kashyap, George Mitenkov, Teng Zhang, Runtian Zhou, Andrea Cappa, Marco Ilardi

AI总结:

针对 Move 智能合约语言,Aptos 采用深度防御运行时安全检查,在执行时独立验证关键不变量,以防范验证器漏洞和恶意字节码。

摘要:

Move 是一种智能合约语言,用于在 Aptos 区块链上执行交易。Move 程序在沙盒化的虚拟机中作为类型化字节码执行。虚拟机在代码加载时静态验证基本安全属性,如类型安全和引用安全。原则上,这种设计为 Move 提供了强有力的保证。然而,静态验证逻辑复杂且随语言不断发展;像任何软件一样,它不能免于错误。在实时区块链环境中,规则违反的遗漏可能直接导致资产损失、权限伪造或链上状态的不可恢复损坏。因此,Aptos 依赖深度防御运行时安全检查,在执行时独立验证关键不变量,以防范潜在的验证器错误和恶意字节码。本文激励并描述了 Aptos 上 Move 的运行时安全检查。

英文摘要:

Move is a smart-contract language used to execute transactions on the Aptos blockchain. Move programs execute in a sandboxed VM as typed bytecode. The VM statically verifies foundational safety properties like type safety and reference safety at code loading time. In principle, this design gives strong guarantees for Move. However, the static verification logic is complex and continually evolving with the language; like any software, it is not immune to bugs. In a live blockchain setting, a missed rule violation can translate directly into loss of assets, forged authority, or unrecoverable corruption of on-chain state. For this reason, Aptos relies on defense-in-depth runtime safety checks that independently verify the critical invariants during execution, providing protection against latent verifier bugs and malicious bytecode. This paper motivates and describes the runtime safety checks for Move on Aptos.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑