Cyber-Physical WebAssembly: Secure Hardware Interfaces and Pluggable Drivers
- 12 May 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-7
Abstract
The rapid expansion of Internet of Things (IoT), edge, and embedded devices in the past decade has introduced numerous challenges in terms of security and configuration management. Simultaneously, advances in cloud-native development practices have greatly enhanced the development experience and facilitated quicker updates, thereby enhancing application security. However, applying these advances to IoT, edge, and embedded devices remains a complex task, primarily due to the heterogeneous environments and the need to support devices with extended lifespans. WebAssembly and the WebAssembly System Interface (WASI) has emerged as a promising technology to bridge this gap. As WebAssembly becomes more popular on IoT, edge, and embedded devices, there is a growing demand for hardware interface support in WebAssembly programs. This work presents WASI proposals and proof-of-concept implementations to enable hardware interaction with I2C and USB, which are two commonly used protocols in IoT, directly from WebAssembly applications. This is achieved by running the device drivers within WebAssembly as well. A thorough evaluation of the proof of concepts shows that WASI-USB introduces a minimal overhead of at most 8% compared to native operating system USB APIs. However, the results show that runtime initialization overhead can be significant in low-latency applications.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Over-The-Air updates for Software Defined Vehicle services with IPFS2024
- Secure over-the-air software update for connected vehiclesComputer Networks, 2022
- IoT Device Management Based on Open Source Platforms - Requirements Analysis and Evaluation2022
- An Evaluation of WebAssembly in Non-Web Environments2021
- WiProg: A WebAssembly-based Approach to Integrated IoT Programming2021
- Wasmachine: Bring the Edge up to Speed with A WebAssembly OS2020
- Bringing the web up to speed with WebAssembly2017
- Towards DevOps in the Embedded Systems Domain: Why is It So Hard?2016
- Internet of Things for Industrial Automation -- Challenges and Technical Solutions2015
- Cyber Physical Systems: Design Challenges2008