r/javascript • • Nov 27 '18

event-stream vulnerability explained

https://schneid.io/blog/event-stream-vulnerability-explained/
412 Upvotes

70 comments sorted by

View all comments

5

u/Fingebimus Nov 27 '18

A real solution would be to lock down what network connections can be opened, what files can be read in a CSP manner, but then it needs to be made sure those files themselves can’t also be changed

3

u/ShortSynapse Nov 28 '18

These concepts already exist as program groups, jails, etc. Ideally user programs would also be sandboxed fully by default, but as the article describes, they most certainly aren't and we have problems like this because of it.