The DailyToken

I found a security hole in my Codex PreToolUse hook: Bash could modify .env and AGENTS.md

Orchard Hook is a free, open-source PreToolUse security hook for the OpenAI Codex CLI on Apple Silicon Macs. It checks shell commands and file edits immediately before execution. During testing, I found that Bash routes such as cat > and sed -i could modify protected files including .env , AGENTS.m…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-12-05 04:04 · DEV Community — AI
    I found a security hole in my Codex PreToolUse hook: Bash could modify .env and AGENTS.md

More stories

  1. Apple, OpenAI and Anthropic urge stronger encryption as AI advances — Tom's Guide AI
  2. Bitcoin hits two-year low as tech firms back post-quantum cryptography guidance — The Verge AI
  3. Post-Quantum: How to meet the Industry’s migration demands via MACROSLOW — DEV Community — AI
  4. New Babylon: A Single Point of Failure and One Master Key for Every Lock | TLLGeek — DEV Community — AI
  5. Quinn Emanuel secures pro hac vice admission for OpenAI counsel in Apple lawsuit — Economic Times Tech
  6. What would Tyler do today? — DEV Community — AI
  7. Apple, Google And OpenAI Urge Companies To Upgrade Their Encryption Fast — DEV Community — Machine Learning
  8. Apple accuses OpenAI of using 481 trade secrets stolen by former employees to build hardware business — Economic Times Tech

Read the Daily Brief: the day's most important AI stories →