r/programming • u/guest271314 • Dec 15 '24
Proof of concept showcasing how a WASM program can access files outside node:wasi's preopens dir
https://github.com/humodz/node-wasi-preopens-escape
31
Upvotes
View all comments
Show parent comment
49
u/anxxa Dec 15 '24
The
uvwasiproject is well aware that there are flaws in its filesystem implementation and explicitly say not to rely on it to run untrusted code. Your PoC README makes it seem like this is an independent conclusion that differs from the project authors, which it is not. I didn't realize that you quoted this same thing in one of the hidden comment chains though.It's cool that you ran down the reasoning and provided a PoC, I was just providing further context for other readers of this this thread.