docs/self-assessment.md
A table at the top for quick reference information, later used for indexing.
| Title | Detail |
|---|---|
| Assessment Stage | Incomplete. |
| Software | https://github.com/WasmEdge/WasmEdge |
| Security Provider | No. |
| Languages | C++ |
| SBOM | The software bill of materials for WasmEdge can be found at LICENSE.spdx |
WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime. It is the fastest Wasm VM today. Its use cases include modern web application architectures (Isomorphic & Jamstack applications), microservices on the edge cloud, serverless SaaS APIs, embedded functions, smart contracts, and smart devices.
The WasmEdge Runtime provides a well-defined execution sandbox for its contained WebAssembly bytecode program. The runtime offers isolation and protection for operating system resources (e.g., file system, sockets, environment variables, processes) and memory space. The most important use case for WasmEdge is to safely execute user-defined or community-contributed code as plug-ins in a software product (e.g., SaaS, software-defined vehicles, edge nodes, or even blockchain nodes). It enables third-party developers, vendors, suppliers, and community members to extend and customize the software product.
To execute WebAssembly code, WasmEdge follows a series of steps involving multiple components, each with specific responsibilities. Here is a detailed description of the process, focusing on data flow and interactions between components:
Interacting with Users (WasmEdge Tool)
Loading the WebAssembly Bytecode (WasmEdge Loader)
Validating the Bytecode (WasmEdge Validator)
Executing the Bytecode (WasmEdge Engine)
The interaction between these components ensures a smooth and secure execution flow for WebAssembly programs in WasmEdge. The Loader initiates the process by parsing the bytecode, the Validator ensures its compliance with standards, the Engine executes the validated code, and the Tool provides a user-friendly interface for these operations. This modular approach allows for efficient handling and execution of WebAssembly code, making WasmEdge a robust and high-performance WebAssembly runtime.
This self-assessment is created by the WasmEdge team to perform an internal analysis of the project's security. It is not intended to provide a security audit of WasmEdge, or function as an independent assessment or attestation of WasmEdge's security health.
This document serves to provide WasmEdge users with an initial understanding of WasmEdge's security, where to find existing security documentation, WasmEdge plans for security, and general overview of WasmEdge security practices, both for development of WasmEdge as well as security of WasmEdge.
This document provides the CNCF TAG-Security with an initial understanding of WasmEdge to assist in a joint-assessment, necessary for projects under incubation. Taken together, this document and the joint-assessment serve as a cornerstone for if and when WasmEdge seeks graduation and is preparing for a security audit.
--dir guest_path:host_path:readonly option in the WasmEdge
CLI to assign the read-only configuration.As stated in the WasmEdge security document, the process for handling security reports is as follows:
Users can use the below process to report a vulnerability to WasmEdge:
Email:
Web:
WasmEdge follows a 90 days disclosure timeline. For known public security
vulnerabilities, we will disclose the disclosure as soon as possible after
receiving the report. Vulnerabilities discovered for the first time will be
disclosed in accordance with the following process: