Repository navigation
Commit ba50963
fix(runner): keep parent secrets out of a Grok writer's shell
A Grok writer's shell is pre-approved, and Grok's workspace sandbox reads
the whole host and, on macOS, never blocks child-process network. The
runner passed it the parent's full environment, so a prompt-injected
writer could send any token there to the network. Grok writers now get an
allowlisted environment: paths, user, shell, locale, terminal, proxy and
CA settings, and GROK_* and XAI_*. Other lanes keep the existing
identity-only scrub.
The dispatch reference now states the real trust boundary instead of
claiming commands outside the workspace are cancelled.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 2431509 commit ba50963
2 files changed
Lines changed: 40 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
136 | 168 | | |
137 | 169 | | |
| 170 | + | |
138 | 171 | | |
139 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
140 | 178 | | |
141 | 179 | | |
142 | 180 | | |
| |||
539 | 577 | | |
540 | 578 | | |
541 | 579 | | |
542 | | - | |
| 580 | + | |
543 | 581 | | |
544 | 582 | | |
545 | 583 | | |
| |||
0 commit comments