=== npm audit security report ===
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Manual Review β
β Some vulnerabilities require your attention to resolve β
β β
β Visit https://go.npm.me/audit-guide for additional guidance β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Low β Prototype Pollution β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Package β yargs-parser β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Patched in β >=13.1.2 <14.0.0 || >=15.0.1 <16.0.0 || >=18.1.2 β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dependency of β @11ty/eleventy [dev] β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Path β @11ty/eleventy > browser-sync > localtunnel > yargs > β
β β yargs-parser β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β More info β https://npmjs.com/advisories/1500 β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Low β Prototype Pollution β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Package β yargs-parser β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Patched in β >=13.1.2 <14.0.0 || >=15.0.1 <16.0.0 || >=18.1.2 β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dependency of β @11ty/eleventy [dev] β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Path β @11ty/eleventy > browser-sync > yargs > yargs-parser β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β More info β https://npmjs.com/advisories/1500 β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
At time of opening (0.11.0 release day) we are on the latest version of browser-sync.
I'm getting the same warnings for yargs-parser, with the addition of a High vulnerability warning for http-proxy
=== npm audit security report ===
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Manual Review β
β Some vulnerabilities require your attention to resolve β
β β
β Visit https://go.npm.me/audit-guide for additional guidance β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β High β Denial of Service β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Package β http-proxy β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Patched in β No patch available β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dependency of β @11ty/eleventy [dev] β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Path β @11ty/eleventy > browser-sync > http-proxy β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β More info β https://npmjs.com/advisories/1486 β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
found 3 vulnerabilities (2 low, 1 high) in 533 scanned packages
Still not fixed as of now.
Do note that browser-sync is intended for development purposes onlyβdo not run this in production!
We are on the latest browser-sync. These have been filed upstream at browser-sync here:
browser-sync looks like it might be unmaintained... hasn't had any commits in almost a year, and the maintainer seems like he has his plate pretty full with a dayjob.
A lot of other options for live reload (or it's not terribly hard to implement from scratch), but I'm guessing the actual syncing of pages between browsers is not something folks would want to give up (and is a far bigger pain to implement).
Since it's only on the dev side, maybe it's ok to wait for a bit and see if browser-sync updates, but it might be worth exploring other options in case that doesn't happen.
Another strategy would be to not tightly couple development utilities and core build functionality into a single package. That would also make use cases more flexible.
Example: I just gave it a try in a Node container with WSL. Browsersync watch doesn't work at all (quick search revealed a WSL fork in the npm registry) and prints useless info to the console (the Access URLs in a container are unlikely to be interesting unless you have an X server and browser installed there ;-).
PS: I came here because of the audit issue, I hadn't even configured/used the browsersync part until then.
Filed https://github.com/11ty/eleventy/issues/1305 to start the search for alternatives.
If we end up self implementing, I donβt think weβll probably implement the ghost mode feature from browser-syncβat least not for the first release. Personally I donβt find it to be super valuable.
Looks like a patch was issued for http-proxy DOS.
npm audit output
β High β Denial of Service β
β Package β http-proxy β
β Patched in β >=1.18.1 β
β Dependency of β @11ty/eleventy [dev] β
β Path β @11ty/eleventy > browser-sync > http-proxy β
β More info β https://npmjs.com/advisories/1486 β
Yay https://github.com/BrowserSync/browser-sync/issues/1764 was fixed
Most helpful comment
browser-synclooks like it might be unmaintained... hasn't had any commits in almost a year, and the maintainer seems like he has his plate pretty full with a dayjob.A lot of other options for live reload (or it's not terribly hard to implement from scratch), but I'm guessing the actual syncing of pages between browsers is not something folks would want to give up (and is a far bigger pain to implement).
Since it's only on the dev side, maybe it's ok to wait for a bit and see if browser-sync updates, but it might be worth exploring other options in case that doesn't happen.