|
|
|
|
|
by zaptheimpaler
19 days ago
|
|
They're totally right to not bother with security inside a harness, its just a terrible approach that creates permission fatigue and bad UX. Claude asking me to approve a 50 line arcane bash command doesn't help at all. Pi also has the same philosophy of not enforcing security within the harness. Security should be enforced outside the harness with a sandbox. You can define what's allowed and what's not in one place and have strong enforcement guarantees instead of ad-hoc permission requests every minute. |
|
I agree in principle, but in practice most sandboxing technology (like bwrap) is too static for this use case: You grant access once during startup and can't extend/revoke without a restart. That's inconvenient when you realize halfway through your session that you need additional permissions, and it's insufficient for permissions that are only briefly needed (for the duration of one tool call).
A harness that controls the sandbox (e.g. for each individual tool invocation) can manage this much more effectively.