feat: Add support for bubblewrap sandbox

This commit is contained in:
Abhisek Datta
2026-01-14 17:06:12 +05:30
parent b97a4c2ee5
commit 8ebaa37f14
8 changed files with 1915 additions and 10 deletions
+7 -1
View File
@@ -57,8 +57,14 @@ trusted_packages:
#
# Currently supported platforms:
# - macOS (using Seatbelt sandbox-exec)
# - Linux (planned: Bubblewrap or seccomp-bpf)
# - Linux (using Bubblewrap with namespace isolation)
# - Windows (planned)
#
# Platform-specific limitations:
# - Linux: Filesystem permissions use coarse-grained bind mounts. Glob patterns (e.g., *.txt)
# are expanded at policy translation time, but entire directories may be mounted rather than
# individual matching files. This is less precise than macOS regex-based filtering.
# - macOS: Network filtering is limited (all-or-nothing for most policies).
sandbox:
# Enable sandbox mode (opt-in, default: false for backward compatibility)
enabled: false