Skip to content

Commit ee2214a

Browse files
security: disable yarn postinstall scripts (#69)
Disable yarn's postinstall scripts to improve security by setting enableScripts: false in .yarnrc.yml
1 parent 36b0c05 commit ee2214a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
nodeLinker: node-modules
22

33
yarnPath: .yarn/releases/yarn-4.5.1.cjs
4+
enableScripts: false

0 commit comments

Comments
 (0)