dsh skips Low Integrity token cleanup, Antigravity's hidden desktop lacks SACL

YouJiacheng · x · 2026-11-29

YouJiacheng dissects Windows sandboxing flaws in two AI coding tools: dsh must keep the Everyone token for workspace-write sandboxing, so it drops tokens to Low Integrity and skips cleanup (which is genuinely slow); Antigravity creates a hidden desktop (WinSta0\exebox-) even from a Medium parent shell but sets no SACL, defaulting to Medium protection. An accompanying table contrasts executable labels, child-process MIC levels, desktop labels, and gdi32full.dll/user32.dll init: dsh's Low processes launch fine on its Low-labeled desktop, but mixing them backfires — an .exe carrying a persistent Low Mandatory Label from <workspace> forces any Antigravity child down to Low, which then gets blocked by MIC on the Medium desktop (NtGdiInit → Access denied → ole32.dll/DXGI/Vulkan chain failure). He jokes the two tools are equally matched in blind spots.

Original post →

More from coding & agent

coding & agent channel →