Lune

OOPSLA2024顶会

Iris-MSWasm: Elucidating and Mechanising the Security Invariants of Memory-Safe WebAssembly

Maxime Legoupil, June Rousseau, Aïna Linn Georges, Jean Pichon-Pharabod, Lars Birkedal

摘要

WebAssembly offers coarse-grained encapsulation guarantees via its module system, but does not support fine-grained sharing of its linear memory. MSWasm is a recent proposal which extends WebAssembly with fine-grained memory sharing via handles, a type of capability that guarantees spatial and temporal safety, and thus enables an expressive yet safe style of programming with flexible sharing. In this paper, we formally validate the pen-and-paper design of MSWasm. To do so, we first define MSWasmCert, a mechanisation of MSWasm that makes it a fully-defined, conservative extension of WebAssembly 1.0, including the module system. We then develop Iris-MSWasm, a foundational reasoning framework for MSWasm composed of a separation logic to reason about known code, and a logical relation to reason about unknown, potentially adversarial code. Iris-MSWasm thereby makes explicit a key aspect of the implicit universal contract of MSWasm: robust capability safety. We apply Iris-MSWasm to reason about key use cases of handles, in which the effect of calling an unknown function is bounded by robust capability safety. Iris-MSWasm thus works as a framework to prove complex security properties of MSWasm programs, and provides a foundation to evaluate the language-level guarantees of MSWasm.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Iris-Wasm: Robust and Modular Verification of WebAssembly Programs 引用了 Efficient and provable local capability revocation using uninitialized capabilities
  • Iris-Wasm: Robust and Modular Verification of WebAssembly Programs 引用了 Two Mechanisations of WebAssembly 1.0
  • Iris-Wasm: Robust and Modular Verification of WebAssembly Programs 引用了 MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe Code
  • Iris-WasmFX: Modular Reasoning for Wasm Stack Switching 引用了 Iris-Wasm: Robust and Modular Verification of WebAssembly Programs
  • Iris-WasmFX: Modular Reasoning for Wasm Stack Switching 引用了 Two Mechanisations of WebAssembly 1.0
  • Iris-WasmFX: Modular Reasoning for Wasm Stack Switching 引用了 MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe Code
  • Efficient and provable local capability revocation using uninitialized capabilities 引用了 Rigorous engineering for hardware security: Formal modelling and proof in the CHERI design and implementation process
  • The Downgrading Semantics of Memory Safety 引用了 MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe Code
  • Compositional Symbolic Execution for the Next 700 Memory Models 引用了 Iris-Wasm: Robust and Modular Verification of WebAssembly Programs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Compositional Symbolic Execution for the Next 700 Memory ModelsAndreas Lööw, Seung Hoon Park, Daniele Nantes-Sobrinho, Sacha-Élie Ayoun 等OOPSLA 2025 · 4 次引用
  2. Iris-WasmFX: Modular Reasoning for Wasm Stack SwitchingMaxime Legoupil, Mathias Pedersen, Lars Birkedal, Sam Lindley 等PLDI 2026
  3. Logical Relations for Formally Verified Authenticated Data StructuresSimon Oddershede Gregersen, Chaitanya Agarwal, Joseph TassarottiCCS 2025
  4. The Downgrading Semantics of Memory SafetyRené Rydhof Hansen, Andreas Stenbæk Larsen, Aslan AskarovPLDI 2026

它引用的 Paper6

  1. Rigorous engineering for hardware security: Formal modelling and proof in the CHERI design and implementation processKyndylan Nienhuis, Alexandre Joannou, Thomas Bauereiss, Anthony C. J. Fox 等S&P 2020 · 43 次引用
  2. Two Mechanisations of WebAssembly 1.0Conrad Watt, Xiaojia Rao, Jean Pichon-Pharabod, Martin Bodin 等FM 2021 · 32 次引用
  3. Efficient and provable local capability revocation using uninitialized capabilitiesAïna Linn Georges, Armaël Guéneau, Thomas Van Strydonck, Amin Timany 等POPL 2021 · 30 次引用
  4. MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe CodeAlexandra E. Michael, Anitha Gollamudi, Jay Bosamiya, Evan Johnson 等POPL 2023 · 22 次引用
  5. Iris-Wasm: Robust and Modular Verification of WebAssembly ProgramsXiaojia Rao, Aïna Linn Georges, Maxime Legoupil, Conrad Watt 等PLDI 2023 · 19 次引用

相关 Paper

  1. RichWasm: Bringing Safe, Fine-Grained, Shared-Memory Interoperability Down to WebAssemblyMichael Fitzgibbons, Zoe Paraskevopoulou, Noble Mushtak, Michelle Thalakottur 等PLDI 2024 · 3 次引用
  2. VMSL: A Separation Logic for Mechanised Robust Safety of Virtual Machines Communicating above FF-AZongyuan Liu, Sergei Stepanenko, Jean Pichon-Pharabod, Amin Timany 等PLDI 2023 · 7 次引用
  3. Le temps des cerises: efficient temporal stack safety on capability machines using directed capabilitiesAïna Linn Georges, Alix Trieu, Lars BirkedalOOPSLA 2022 · 17 次引用
  4. Cerisier: A Program Logic for Attestation in a Capability MachineJune Rousseau, Denis Carnier, Thomas Van Strydonck, Steven Keuchel 等PLDI 2026
  5. Endangered by the Language But Saved by the Compiler: Robust Safety via Semantic Back-TranslationNiklas Mück, Aïna Linn Georges, Derek Dreyer, Deepak Garg 等POPL 2026
黄昏的海面,两侧是细线勾勒的悬崖