Skip to content

Commit 4e26bdb

Browse files
kingsleyzissouregexowl
authored andcommitted
npmrc: disable lifecycle scripts
Due to all the recent supply-chain attacks, we should set this at the project level so that we don't run any post-install scripts. This is a security mitigation against malicious packages and prevents them from running scripts when installing
1 parent 29382df commit 4e26bdb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ignore-scripts=true

0 commit comments

Comments
 (0)