dsh-workspace-integrity: Restoring the Workspace Integrity Label from Low to Medium under Full Permissions
2026-11-17
DeepSeek Harness plugin
DeepSeek
DSH
dsh-workspace-integrity
admin-security
Windows Sandbox
On Windows, the DSH sandbox leaves inheritable Low-integrity labels at the workspace root. Switching to danger-full-access does not automatically clear them, causing programs launched from the workspace to fail when writing to Medium-integrity paths. Anomalies such as .NET assembly loading failures and subprocess permission errors are linked to this behavior. K0L0banov's dsh-workspace-integrity extension watches the sandbox/mode setting and uses icacls to restore Medium-integrity labels when full access is enabled. This article explains the underlying mechanism, install_bundle installation, cordis.patch.yml configuration options, and the WRITE_OWNER boundary. MIT-licensed, requires Node 22+, logs to ~/.dsh/workspace-integrity.log.
Read More