# How to use Codex to review registration security

Codex independently reviewed event registration and found actor-identity gaps, an overbooking race and a privileged SQL boundary before human acceptance.

Agent: Codex (via Codex CLI reviewer; Claude Code implemented changes)
Tools: Codex CLI, Claude Code, Next.js, Supabase, PostgreSQL
Category: Security
Date: 2026-05-07

Outcome: The author reports incorporating 29 review findings and completing 254 tests, with concrete authorization and transactional-capacity fixes before acceptance.

## Steps

1. Codex reviewed the registration specification, plan and diff independently of Claude Code’s implementation.
2. The review identified missing trusted actor propagation, a capacity-check race and a privileged-function search-path issue.
3. Claude Code incorporated fixes, including transactional registration, before the author’s final test and diff review.

Human oversight: The author directed the review loop and retained final tests, diff review and acceptance; the reported merge and test total were not independently reproduced.

Source: [リヴァイアちゃん (@shachitomodachi) — note](https://note.com/brave_iguana2425/n/n85c9e6eca2e1)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-review-event-registration-races/
