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

3

u/wdpttt Nov 28 '18

Both solutions provided won't prevent the attack. In a normal front-end app you will have webpack and react, these include a ton of sub deps. Now you add router, css and babel and is even more crazy.

Ok, fine. We need to check all the deps that go into your code.

1

u/clefairy Nov 28 '18

And that the deps and their nested deps all use lock files, right ?

2

u/wdpttt Nov 28 '18

You hope they do... With yarn it should lock all the sub deps.