Repository navigation
Commit 4352f8d
committed
fix(security): limit auto-pair to one-shot with 180s timeout
Auto-pair unconditionally approved ALL pending device pairing requests
for 10 minutes on every sandbox start. On headless/cloud installs this
is an open window for unauthorized device pairing.
Changes:
- Reduce initial timeout from 600s to 180s
- After first approval, reset deadline to now+5s (one-shot exit)
- has_browser convergence logic unchanged1 parent d37a09f commit 4352f8d
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
0 commit comments