Skip to content
所有標籤

#sandboxing

1 篇文章

Claude Code 沙箱怎麼運作:sandboxed Bash、網路 allowlist 與六種隔離環境的威脅模型

Claude Code 內建的 sandboxed Bash 用 OS 層機制限制每條指令:寫入限工作目錄與 session temp,讀取預設整機可讀;網路走 proxy allowlist,預設零網域。開關在 /sandbox 面板和 sandbox.enabled,不是 --sandbox 旗標。本文再比較 sandbox runtime、devcontainer、Docker、VM 與 Claude Code on the web 這幾種更重的隔離方案該什麼時候用。