Skip to content

Commit e4cca8c

Browse files
committed
doc: clarify that WASM is trusted
Signed-off-by: Matteo Collina <[email protected]>
1 parent d780b90 commit e4cca8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SECURITY.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ lead to a loss of confidentiality, integrity, or availability.
111111
1. The developers and infrastructure that runs it.
112112
2. The operating system that Node.js is running under and its configuration,
113113
along with anything under control of the operating system.
114-
3. The code it is asked to run, including JavaScript and native code, even if
115-
said code is dynamically loaded, e.g., all dependencies installed from the
114+
3. The code it is asked to run, including JavaScript, WASM and native code, even
115+
if said code is dynamically loaded, e.g., all dependencies installed from the
116116
npm registry.
117117
The code run inherits all the privileges of the execution user.
118118
4. Inputs provided to it by the code it is asked to run, as it is the
@@ -123,7 +123,7 @@ lead to a loss of confidentiality, integrity, or availability.
123123
end being on the local machine or remote.
124124
6. The file system when requiring a module.
125125
See <https://nodejs.org/api/modules.html#all-together>.
126-
7. The `node:wasi` module does not currently provide the comprehensive file
126+
8. The `node:wasi` module does not currently provide the comprehensive file
127127
system security properties provided by some WASI runtimes.
128128

129129
Any unexpected behavior from the data manipulation from Node.js Internal

0 commit comments

Comments
 (0)