Skip to content

Dependency on malicious package #5863

@benmccann

Description

@benmccann

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions