Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

flatmap-stream package deleted

Open Saigredan opened this issue 8 years ago • 10 comments

Type of issue

BUG

Description

According to current news, e.g. https://www.zdnet.com/article/hacker-backdoors-popular-javascript-library-to-steal-bitcoin-funds/, flatmap-stream is down, which means event-stream down, which means gulp connect and gulp replace are down. That implies general problem with building Prebid. Are there any plans to fix this issue?

Saigredan avatar Nov 27 '18 12:11 Saigredan

Fix in gulp-connect https://github.com/AveVlad/gulp-connect/pull/259

muuki88 avatar Nov 27 '18 13:11 muuki88

Also need a change in gulp-replace verson in package.json up to at least 0.6.0. gulp-footer is also dependent.

Saigredan avatar Nov 27 '18 15:11 Saigredan

Is there any guidance regarding effected versions of Prebid or a specific date after which builds were effected?

GLStephen avatar Nov 29 '18 13:11 GLStephen

AFAIK distributions aren't affected as only build dependencies (gulp-connect, gulp-replace) used the malicious dependency.

muuki88 avatar Nov 29 '18 14:11 muuki88

AFAIK distributions aren't affected as only build dependencies (gulp-connect, gulp-replace) used the malicious dependency.

Ok, thanks for the confirmation.

GLStephen avatar Nov 29 '18 14:11 GLStephen

I will put together some changes for these gulp packages, however it seems we need to wait on the gulp-connect and gulp-footer updates. Will keep an eye on this.

jsnellbaker avatar Nov 29 '18 15:11 jsnellbaker

@jsnellbaker why not using temporal forks?

Saigredan avatar Nov 30 '18 10:11 Saigredan

So I'm not able to install Prebid at all right now?

whatisjasongoldstein avatar Nov 30 '18 21:11 whatisjasongoldstein

@whatisjasongoldstein That is correct. I cant even pull an npm update for 1.34.0 due to the package missing from NPM due to the security issue.

npm ERR! 404 Not Found: flatmap-stream@https://registry.npmjs.org/flatmap-stream/-/flatmap-stream-0.1.1.tgz

npm ERR! A complete log of this run can be found in:

Hopefully #3343 gets merged in real quick.

Austinb avatar Nov 30 '18 23:11 Austinb

This was merged in as part of https://github.com/prebid/Prebid.js/releases/tag/1.35.0 and appears to be working now. Was able to npm install and do a custom build without issue.

Many thanks to @jsnellbaker, @jaiminpanchal27 & @mkendall07

Austinb avatar Dec 05 '18 02:12 Austinb