Commit 2d17bfc
authored
fix: always allow localhost bind/inbound in macOS Seatbelt profile (#12)
On macOS, the Seatbelt sandbox denied network-bind and network-inbound
by default, requiring AllowLocalBinding to be set per-agent. This broke
OAuth login flows (e.g. Claude /login) which start a local callback
server on a random port.
On Linux, the isolated network namespace allows unrestricted local
binding. Align macOS behavior by always including localhost bind/inbound
rules. Outbound to localhost remains gated on AllowLocalOutbound.1 parent 23990b3 commit 2d17bfc
1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
581 | | - | |
582 | | - | |
583 | | - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
584 | 586 | | |
585 | 587 | | |
586 | | - | |
587 | | - | |
588 | | - | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
589 | 591 | | |
590 | | - | |
591 | 592 | | |
592 | 593 | | |
593 | 594 | | |
| |||
0 commit comments