Commit 7b9d369
security: harden npm install against supply chain attacks
- Add npm cache clean --force before install to prevent stale/malicious cached tarballs
- Add --ignore-scripts to block malicious postinstall hooks (e.g. axios CVE)
- Remove --silent to make installed versions visible in logs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9552749 commit 7b9d369
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
120 | 124 | | |
121 | 125 | | |
122 | 126 | | |
123 | | - | |
| 127 | + | |
124 | 128 | | |
125 | 129 | | |
126 | 130 | | |
| |||
0 commit comments