3 ms·
From the documentation[0]: > The node:wasi module does not currently provide the comprehensive file system security properties provided by some WASI runtimes.
by boomskats 2y ago
From the documentation[0]:
> The node:wasi module does not currently provide the comprehensive file system security properties provided by some WASI runtimes. Full support for secure file system sandboxing may or may not be implemented in future. In the mean time, do not rely on it to run untrusted code.
Also some notes on how to use wasmtime here[1].
[0]:https://nodejs.org/api/wasi.html#webassembly-system-interface-wasi https://nodejs.org/api/wasi.html#webassembly-system-interfac...
[1]:https://gitlab.com/-/snippets/4779035 https://gitlab.com/-/snippets/4779035