Repository navigation
team 0.5.15
Security
- Grok sandbox grants were wider than the seat (affected: 0.5.12 through 0.5.14). Before this release, a Grok seat's sandbox profile granted read-write on ~/.config/team and on the whole project .agents folder. That reaches other seats' drops, their hook settings, and the team state on the machine. The profile now grants the seat's worktree and start folder, and only that seat's own paths: under the git common dir, objects/, refs/, logs/ and worktrees/; under .agents, send-drops//, messages/ and the seat's own state folder seat-state///. Only existing directories are granted; any surviving grant that is not a directory refuses the seat before launch. The packed-refs file is never granted. A fetch or pack-refs that must rewrite packed refs is refused (EPERM at packed-refs.lock) and fails loudly; commits and loose-ref fetches work. The common dir's config and hooks and the seat's hook settings file are not granted. Nothing under ~/.config/team is granted. A start at the shared project root is refused; give the seat its own worktree or clone. A Grok seat whose sandbox profile cannot be written is now refused instead of launched without a sandbox. If Grok cannot apply its sandbox for a reason outside these grants, it may still run unsandboxed; the launch does not yet refuse that warning on screen. If a Grok seat's pane shows "sandbox could not be applied", stop that seat; a later release refuses it at launch. This was local only: the seat runs as the same user on the same machine. Nothing was reachable over the network. Upgrade; the next launch writes the narrowed profile and removes the leftover [profiles.team-seat-] table. No configuration change is needed. The profile extends Grok's workspace preset, as before; what that preset grants beyond this list is not measured.
Known issue
Grok's workspace preset also grants the folder a Grok seat starts in; a Grok seat started in a shared lobby can write that lobby. Until the next release, start Grok seats in their own worktree.