Commit d9e52e8
committed
fix(security): remove env-controlled module path in crashReporter [APS-19013]
INJ-012: requireModule no longer honors process.env["browserStackCwd"] for
node_modules resolution. Module paths now come from process.cwd() (or the
internal browserstack-cypress-cli node_modules path when invoked with
internal=true), eliminating env-controlled module hijack (CWE-427).1 parent ef06797 commit d9e52e8
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| |||
0 commit comments