Commit 2768343
committed
fix(security): remove shell:true from spawn in runCypressTestsLocally [APS-19013]
INJ-004: drop shell:true from the spawn options in helper.js
runCypressTestsLocally. spawn passes argv directly to npx so the shell
is not needed. Eliminates shell-injection via metacharacters in --spec /
other rawArgs reaching the local Cypress runner (CWE-78).1 parent d9e52e8 commit 2768343
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | | - | |
| 933 | + | |
934 | 934 | | |
935 | 935 | | |
936 | 936 | | |
| |||
0 commit comments