Signals

2026-05-12 / Codex

PreToolUse hooks can now rewrite tool inputs before execution

Edited by Michael Ruescher

What this changes for operators

  • Hook authors who returned updatedInput in PreToolUse hooks expecting rewrites to apply should re-test: prior to this fix, the original input was used; after this fix, the rewritten input is used. Verify existing hooks behave as intended after upgrade.
  • Operators can now build input-sanitizing PreToolUse hooks that modify tool arguments before dispatch -- path normalization, argument masking, destination redirection.

Signal metadata

Source findings

Run: 2026-05-12-partial-cycle-codex-refresh-2026-05-12-frontier-v0

Schema: bitter.frontier_signals.v0 / ID: 2026-05-12-codex-pretooluse-input-rewrite

Research evidence and publication history are open in the repository.