13 hours ago · Tech · hide

Meaningful Audits are Important Look at these two npm audit outputs generated this morning and tell me which project is more secure: $ npm audit # uh… 521 lines of vulnerability reports truncated 78 vulnerabilities (7 low, 23 moderate, 46 high, 2 critical) $ npm audit found 0 vulnerabilities Which project is more secure? The one with 0 vulnerabilities, right? Not necessarily! The former was created from a fresh create-gatsby command to make a Gatsby project. The latter was created from a fresh create-next-app to create a Next.js project (defaults selected for both). Spicy take incoming: both Next.js and Gatsby have similarly egregious security footprints but Next sweeps their vulnerability reports under the rug. Dependency Hide and Seek next (v16.4.6 at time of writing) bypasses node_modules entirely for its own dependencies. If you look inside node_modules/next/dist/compiled you’ll see 139 unique dependencies that (when audited) report 11 low, 2 moderate, 19 high, and 3 critical…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town