|
|
|
|
|
by benoau
204 days ago
|
|
Or just 'npm ci' so you install exactly what's in your package-lock.json instead of the latest version bumps of those packages. This "automatic updating" is a big factor in why these attacks are working in the first place. Make package updating deliberate instead of instant or on an arbitrary lag. |
|
'npm ci' is some mitigation, but doesn't protect against getting hit when running 'npm i(nstall)' during development.