-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
High severity audit report from npm: browser-sync -> socket.io -> engine.io #2213
Comments
One alternative here for folks that are more npm audit friendly—we could potentially provide a version of Eleventy that does not have the dev server bundled to avoid some of these auditing issues moving forward? |
That's a good point @zachleat - maybe it could work as a separate npm module, although similar problems could emerge with other dependencies. There is a general problem with |
I would love to see that decoupled. First time I looked at 11ty, there was a high severity issue in browser-sync, so I moved on, and this was the second time I had a look. 🤷 Arguing that it does not matter if it is not used in production should not be a choice that developers should have to make. Home directories are very attractive targets for stealing ssh keys, authorization tokens, or just mining the web number 3. 🙄 |
Alright, I’m starting to lean towards a new code structure to better solve this problem, probably in a few steps. Notably I should say up front that
|
Couple of updates here: I do want to emphasize that there is very little production risk from these audits. Eleventy The approach documented above #2213 (comment) won’t solve the problem for new and current 1.x users, it will only allow some folks to opt-in to an escape hatch. I’m leaning towards an Eleventy 2.0 release that either moves Want to also keep in mind this comment, too:
|
@zachleat good news, PR BrowserSync/browser-sync#1936 has been merged. |
Forgot to close this one but this issue specifically was fixed on Eleventy 1.0. https://twitter.com/eleven_ty/status/1504531174642880515 Going to move it to the 1.0 milestone as Browsersync fixed it upstream. Also note that Eleventy Dev Server will be the default moving forward in 2.0: https://www.11ty.dev/docs/watch-serve/#eleventy-dev-server |
Filed upstream at BrowserSync/browser-sync#1926
Possible upstream home base at BrowserSync/browser-sync#1850
The text was updated successfully, but these errors were encountered: