Codex uses native OS sandboxing with permission profiles for filesystem and network limits, and is moving its Windows sandbox to Microsoft's MXC.