Skip to content

Commit cb2138b

Browse files
dbutts29claude
andcommitted
Add .npmrc with ignore-scripts=true to block dependency install hooks
Prevents npm from auto-running dependency lifecycle scripts (preinstall/install/postinstall) on install, mitigating the Miasma/Shai-Hulud npm supply-chain worm class. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a581abc commit cb2138b

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)