-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get-pixels dependency security issue reported by npm audit with no automatic fix. #494
Comments
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 scijs/get-pixels#62 (comment) 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 :) |
Damn, I thought it's of this repo, soz. |
Hi! There's npm audit fix --force output:
The text was updated successfully, but these errors were encountered: