Open houd1ni opened 1 year ago
Thank you for filing an issue! Please be patient. :-)
Thanks for the notice. I'm not the author of get-pixels, so... I don't know?
actually, just had a look at the source code for get-pixels, it's pretty small overall.
Looks like getPixels supports getting pixels from Buffer, dataURL, HTTP/HTTPS, or files.
So it looks like that's to support http/https URLs.
I'm not worried by that vulnerability, as we're not using that functionality. You might appeal to the @get-pixels to get that fixed up .. could easily support node-fetch or just use the internal fetch, or just drop the feature or make it require the user to provide an interface for it..
Hi there. I've made a short issue there, pointing here. Is it ok if I make a fork for the lib with this issue fixed if in some time he won't respond ? I really don't want to spoil a terminal with npm warnings to not to miss something important some day.
Sure, it looks like it would be trivial to remove that dependency from get-pixels, and point quagga at it.
refer https://github.com/scijs/get-pixels/issues/62#issuecomment-1591909901
looks like he found a usage of getpixels that i wasn't aware of (probably due to some weird capitalization in that file.. . sigh) but i'd still need to further investigate if that is using the questionable part of request.
Commenters advice is sound.
I do not know when I will have time to investigate that. Pull requests always welcome :)
Hi! There's npm audit fix --force output: