This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit 4016f41
committed
fix: shell meta-interpretation and API key exposure
- Change ExecaTerminalProcess shell option from true to false so execa
parses the command without invoking a shell, preventing shell
metacharacter interpretation.
- Redact secret API keys in getStateToPostToWebview() before serializing
state to the webview renderer.
- Preserve existing secret values in ProviderSettingsManager.saveConfig()
when the webview round-trips the '__ROO_REDACTED__' sentinel.1 parent 3bcd746 commit 4016f41
4 files changed
Lines changed: 28 additions & 6 deletions
File tree
- src
- core
- config
- webview
- integrations/terminal
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
371 | 384 | | |
372 | 385 | | |
373 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
2468 | 2469 | | |
2469 | 2470 | | |
2470 | 2471 | | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
| 2478 | + | |
| 2479 | + | |
2471 | 2480 | | |
2472 | 2481 | | |
2473 | | - | |
| 2482 | + | |
2474 | 2483 | | |
2475 | 2484 | | |
2476 | 2485 | | |
| |||
2571 | 2580 | | |
2572 | 2581 | | |
2573 | 2582 | | |
2574 | | - | |
| 2583 | + | |
2575 | 2584 | | |
2576 | 2585 | | |
2577 | 2586 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments