Re:A Secure Runtime for JavaScript and TypeScript Built with...
by qaq on Sunday July 07, 2019 @02:49AM
(#20373882)
It's not even 1.0 yet.
[ Parent
| on HN ]
Re:A Secure Runtime for JavaScript and TypeScript Built with...
by LunaSea on Sunday July 07, 2019 @03:47AM
(#20374022)
I'm not talking about the maturity of the project but more about the concept of the feature flag for security.
Re:A Secure Runtime for JavaScript and TypeScript Built with...
by inglor on Sunday July 07, 2019 @04:37AM
(#20374149)
Node.js had a PR to add that in (with packages enforced but not your 'own' code) and Node has policies to deal with loading untrusted code ( https://nodejs.org/api/policy.html ).
Personally I isolate with OS level containers as I think it's a lot more robust and tested but I definitely see the merit in Deno exploring this - even if it doesn't really work yet it's interesting.
Re:A Secure Runtime for JavaScript and TypeScript Built with...
by mnutt on Sunday July 07, 2019 @09:15AM
(#20374915)
I thought node.js policies were basically just SubResource Integrity hashes? Are they planning for something more?
I’ve been looking into the isolated-vm module recently and it looks pretty nice. Fly.io built their run-untrusted-code service on top of it.
Re:A Secure Runtime for JavaScript and TypeScript Built with...
by tfolbrecht on Sunday July 07, 2019 @05:50AM
(#20374361)
I like the idea from a ux perspective. It puts the control in a place where the user runs the code.