-
Notifications
You must be signed in to change notification settings - Fork 12k
Description
flatmap-stream is owned by a malicous actor. See here: dominictarr/event-stream#116
This repo depends on flatmap-stream:
If you npm install today you'll get [email protected], which I believe to be safe. However, there's no reason why the malicious maintainer cannot publish a new malicious 0.1.3. Adding a package-lock.json file would prevent this.
There's also no way to tell if anyone has been exposed to the malicious [email protected] previously by using Chart.js. It's very likely that our developers have been exposed to this package in the past if they did an npm install at the time where the latest version of flatmap-stream was 0.1.1. Had we been using package-lock.json we would be able to check and take action more easily
I would recommend we adopt package-lock.json and stop using unpinned dependencies. @etimberg @simonbrunel @nagix thoughts?