Commit ccae376
Disable npm lifecycle scripts and npx for security
- Add npm/yarn ignore-scripts config to Dockerfile
- Disable npx with a stub that shows an error message
- Add --ignore-scripts flag to npm install
Related to PDE-128
Co-authored-by: Ona <no-reply@ona.com>1 parent 7ad27b9 commit ccae376
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | | - | |
| 13 | + | |
0 commit comments