Back to feed
Dev.to
Dev.to
7/17/2026
OpenAI Codex file-deletion incidents: sandbox configuration failures and operator safeguards

OpenAI Codex file-deletion incidents: sandbox configuration failures and operator safeguards

Original: Codex Deleted Real Files. The Fix? A Flag You Didn't Set.

Short summary

Within 72 hours of GPT-5.6 Sol shipping, multiple users reported Codex deleting files and databases due to a $HOME variable expansion failure in full-access mode. OpenAI's post-mortem revealed the system card had predicted this exact failure mode but shipped without guardrails. The fix was infrastructure—sandbox flags and approval policies—not model retraining.

  • GPT-5.6 Sol's Codex agent deleted user files due to $HOME variable expansion failure in full-access mode
  • OpenAI's own system card predicted this destructive behavior but shipped without guardrails
  • Fix is sandbox configuration and approval policies, not alignment—includes operator permission checklist

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more