embermap/ember-cli-tailwind

Possible malicious dependency

Closed this issue · 4 comments

ef4 commented

This package depends recursively on event-stream, which has malicious versions floating about. See:

dominictarr/event-stream#116
indexzero/ps-tree#33

I don't see the dependency anywhere, I looked at our yarn.lock from last October and I also don't find it.

Could you help me understand how we depend on event-stream?

ef4 commented

The original chain I observed was

ember-cli-tailwind -> tailwindcss -> nodemon -> pstree.remy -> ps-tree -> event-stream

You can reproduce using ember-animated's yarn.lock as of commit a315e4ed014d72a43df567bdbfac0cc8cd20dcbe

But it looks like since then, tailwindcss decided to remove nodemon as their own fix for the vulnerability.

So this is mostly a concern for people who have existing lock files who haven't updated this area recently.

I see. (I was able to find a version of Ember CLI Tailwind's yarn.lock with event-stream in it going back much further.)

Any messaging I can or should do for these people?

ef4 commented

Probably not, the original issue was already shouted pretty loudly and if people didn't hear that they probably won't hear you also shouting about it.