r/programming • • 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

56 comments sorted by

View all comments

Show parent comment

-18

u/guest271314 Dec 15 '24

As a passersby, your “tone” makes you come off as an asshole with an ego for posting something on Reddit. People provided context and you instantly got defensive, learn some social skills.

Let's parse this, just for sport.

There is no way you can divine a "tone" on the Interwebs.

You are on Reddit, in the slums of social media talking about "social skills"...

Spare me the ridiculous lecture about "social skills". I don't care about your society or what you consider to be "social skills". That's your internal issue.

I'm not here to make friends, pass out virtual hugs, or influence how you interpret words you read on a programming board.

The context is I had to keep asking to get an example of the nonsensical, completely vague Node.js disclaimer. Node.js documentation doesn't spell out what's broken, and what's not broken in their WASI implementation.

There is no context outside of that, because the WASI specification doesn't have such vague language; it's specific. Even in the context of applications of the underlying host system the WASI filesystem implementation must still be sandboxed.

So why include broken code in an internal module shipped in the node executable itself?

24

u/Yawaworth001 Dec 15 '24

Dude you need therapy

0

u/[deleted] Dec 15 '24

[deleted] — view deleted comment

14

u/Calazon2 Dec 16 '24

That is an insult to the many autistic people in the world who are not enormous jerks.