Skip to content

feat(security): workspace sandbox#79

Open
cniska wants to merge 2 commits intomainfrom
workspace-sandbox
Open

feat(security): workspace sandbox#79
cniska wants to merge 2 commits intomainfrom
workspace-sandbox

Conversation

@cniska
Copy link
Copy Markdown
Owner

@cniska cniska commented Mar 29, 2026

Summary

  • enforce a canonical workspace sandbox boundary across file, code, git, and scoped search tools using realpath checks and symlink-escape blocking
  • add structured sandbox violations (E_SANDBOX_VIOLATION/sandbox_violation) plus lifecycle debug/trace events for sandbox root and violations
  • update shell-run to argv-only execution (cmd + args), remove shell-string paths, and validate command/path-like arguments against the workspace sandbox
  • remove workspace profile line-width detection and related references so formatters own line wrapping
  • add workspace documentation and tests for sandbox enforcement, observability, and the updated shell-run contract

Fixes #77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(security): workspace sandbox

1 participant