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

26

u/matthewsilas Nov 27 '18

This is just the best, thank you! It's timely, objectively written, and sums up the situation perfectly. A good reminder that a quick code audit of the GH repo isn't enough, you gotta audit the tarball.

3

u/madcaesar Nov 28 '18

How?

3

u/matthewsilas Nov 28 '18

npm pack PACKAGENAME. Then just extract. this is probably the safest way because if the author was really naughty they could include a postinstall script that steals your credentials/.env/btcwallet.

3

u/PrettyWhore Nov 28 '18

unpkg is also very convenient