Skip to content

Commit f9c03d2

Browse files
jespinoona-agent
andcommitted
Disable npm lifecycle scripts for security
Add --ignore-scripts flag to yarn install to prevent execution of potentially malicious scripts during package installation. Related to PDE-128 Co-authored-by: Ona <no-reply@ona.com>
1 parent 5df8b1a commit f9c03d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tasks:
2-
- init: yarn && yarn build
2+
- init: yarn --ignore-scripts && yarn build
33
command: |
44
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >>~/.npmrc
55
yarn watch

0 commit comments

Comments
 (0)