docsy icon indicating copy to clipboard operation
docsy copied to clipboard

Lack of package-lock.json is effectively removing a key supply chain security feature

Open the-gabe opened this issue 1 year ago • 0 comments

In https://github.com/google/docsy/pull/920 it has been discussed that there will be no package-lock.json I would strongly urge for this to be reconsidered, given that a package-lock.json is responsible for distrusting npmjs.org on a TOFU basis. It is a fundamental important security feature to have a package-lock.json, otherwise blindly trusting what is on npmjs.org, every single time "npm install" is executed seems like just an objectively bad idea.

the-gabe avatar Sep 09 '24 16:09 the-gabe