HakureiMonika/dsh-sandbox-escalation-fix
Session-aware sandbox escalation: shows a session only the escalation targets it can use, instead of the host's registry-global schema.
Closes a gap in how tool schemas are advertised. DSH describes sandbox escalation targets registry-globally and validates strict widening at execution time, so a model can emit an escalation argument that the current session's sandbox can never honour. This plugin projects the escalation schema per session, normalises the arguments, and validates them against what that session can actually reach, so the model sees a shorter, truthful list. It fails closed: partially readable manifests, mixed versions and malformed tool definitions are rejected rather than guessed at, and the author reports all 40 tests plus the TypeScript build passing against the real Agent, ToolRuntime, Session Projection, Sandbox Policy and Approval contracts.
Install
dsh plugin --profile web add dsh-sandbox-escalation-fix@0.1.6-alpha2-win-linuxThe README documents this pinned release line alongside @latest (which currently resolves to the same version) and a manual route: download dsh-sandbox-escalation-fix-0.1.6-alpha2-win-linux-release.zip from the release and run its install script for Windows or POSIX shells. The headless profile works in place of web. The plugin is an independent community project and does not modify DeepSeek Harness core packages.
Compatibility
Targets DSH 0.1.6-alpha.2; the README walks the compatibility chain back to 0.1.1-rc.1 package by package and notes which releases left the escalation contract unchanged. Windows is fully supported and Linux was verified on Ubuntu 24.04; macOS is expected to work (the plugin is pure JavaScript and the scripts are POSIX) but was not tested on a real Mac. Actual sandbox enforcement is the host's job — Linux needs bwrap or a Landlock kernel 5.13+, macOS needs Seatbelt — and when no backend is usable DSH refuses the command rather than bypassing the sandbox.
Details
- Repo: HakureiMonika/dsh-sandbox-escalation-fix
- Category: Infrastructure & Deployment
- Stars: 55
- Version: 0.1.6-alpha2-win-linux (npm, pinned in the install line above)
Alternatives
iimaguest/dsh-sandbox-escalation-guard · zhangzujian/dsh-same-mode-sandbox-noop · omdsh-dev/sandbox-nono