WaSC: Hardening WebAssembly Sandboxes via System Interface Decoupling

WebAssembly (WASM) is emerging as an alternative to containers in serverless computing due to its lightweight memory isolation and secure language semantics. However, the WASM System Interface (WASI) does not guarantee isolation from the host kernel. Secure containers reduce exposure to the host kernel API, but they do not match WASM’s memory efficiency or startup latency. In this article, we introduce WaSC , a secure container runtime that hardens WASM system isolation by decoupling the system interface used by sandbox functions into a virtualization-based daemon. WASM functions connect to this daemon transparently; the daemon protects the system interface with machine-level isolation while preserving function-level startup times and memory footprints. Our evaluation shows that WaSC achieves a 99th-percentile startup latency of 15 ms and maintains a memory footprint of \(\sim\) 10 MB. Compared to Firecracker, a state-of-the-art secure container runtime, WaSC achieves 3× memory density on a single physical machine. We present microbenchmarks and application benchmarks that characterize WaSC ’s performance and inform performance tuning for serverless applications ported to WaSC . WaSC incurs a 3.2× slowdown for WASI calls along the virtualization-based daemon path, and SQLite speedtest1 indicates an average 80% increase in runtime.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Architecture and Code Optimization
Published
2026-02-23
DOI
https://doi.org/10.1145/3795882
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

WaSC: Hardening WebAssembly Sandboxes via System Interface Decoupling

Zhixiang Wei, Tianlei Xiong, Xingzi Yu, Zhengwei Qi et al.
ACM Transactions on Architecture and Code Optimization
Security and Verification in Computing
article

WaSC: Hardening WebAssembly Sandboxes via System Interface Decoupling

Zhixiang Wei, Tianlei Xiong, Xingzi Yu, Zhengwei Qi, Hao Wang, Yufan Jiang, Chen Chen, Bo Peng, Yun Wang, Wei Tang
article en

Abstract

WebAssembly (WASM) is emerging as an alternative to containers in serverless computing due to its lightweight memory isolation and secure language semantics. However, the WASM System Interface (WASI) does not guarantee isolation from the host kernel. Secure containers reduce exposure to the host kernel API, but they do not match WASM’s memory efficiency or startup latency. In this article, we introduce WaSC , a secure container runtime that hardens WASM system isolation by decoupling the system interface used by sandbox functions into a virtualization-based daemon. WASM functions connect to this daemon transparently; the daemon protects the system interface with machine-level isolation while preserving function-level startup times and memory footprints. Our evaluation shows that WaSC achieves a 99th-percentile startup latency of 15 ms and maintains a memory footprint of \(\sim\) 10 MB. Compared to Firecracker, a state-of-the-art secure container runtime, WaSC achieves 3× memory density on a single physical machine. We present microbenchmarks and application benchmarks that characterize WaSC ’s performance and inform performance tuning for serverless applications ported to WaSC . WaSC incurs a 3.2× slowdown for WASI calls along the virtualization-based daemon path, and SQLite speedtest1 indicates an average 80% increase in runtime.

ACM Transactions on Architecture and Code OptimizationVol. 23(1)
Stevens Institute of Technology (US), Shanghai Jiao Tong University (CN), Antea Group (France) (FR)
Openalex Percentile: Top 50%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.