Commit 3813bac
committed
Mitigate npm supply-chain attacks via
- Add `ignore-scripts=true` to prevent execution of `postinstall` and other lifecycle scripts, supply-chain attack protection.
- Add `min-release-age=7` to avoids packages uploaded in the last 7 days, supply-chain attack protection. (Requires npm >= 11.10.0)
- Add `package-lock=true` to ensure consistent dependency resolution across environments.
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>.npmrc file1 parent 80c9204 commit 3813bac
1 file changed
Lines changed: 3 additions & 0 deletions
0 commit comments