flatmap-stream malicious package (distributed via the popular events-stream)
Critical
Vulnerability Details
I would like to report a case of malicious package (flat-stream) that made it's way into many other npm packages. One such popular package is `event-stream` (user dominictarr transferred the ownership of an npm module to another user because he wasn't actively maintaining it. That user then added malicious dependency to the package)
See discussion here:
https://github.com/dominictarr/event-stream/issues/116
# Module
**module name:** flatmap-stream
**version:** [MODULE VERSION]
**npm page:** `https://www.npmjs.com/package/flatmap-stream` (removed from npm by now)
## Module Description
It is not yet clear what the malicious code was doing.
See discussion here: https://github.com/dominictarr/event-stream/issues/116#issuecomment-441737695
## Module Stats
> Replace stats below with numbers from npm’s module page:
flatmap-stream is not popular, but event-stream is very popular (1,996,440 downloads per week)
## Impact
RCE
Actions
View on HackerOneReport Stats
- Report ID: 450006
- State: Closed
- Substate: resolved
- Upvotes: 13