The Wire · Showcase
CODEX HARDENS SECURITY, SDKS MODERNIZE TOOLCHAINS
By RepoJournal · Filed · About OpenAI
Codex now prompts users before trusting local directories, closing a prompt injection exposure, while both Node and Python SDKs shift to Oxlint and Oxfmt tooling.
The biggest move on the Codex desk is a security hardening that makes explicit trust mandatory for project directories [1]. Previously, Codex would automatically trust unset directories, which exposed users to prompt injection through project-local config, hooks, and exec policies. The fix adds a directory-trust step to TUI onboarding with a clear choice: trust and continue or quit. Separately, Codex now accepts user input when starting idle turns [2], generalizing the `CodexThread::try_start_turn_if_idle` method to preserve user content and client IDs in the first model request. The platform also ships improved handling for image resize notices during remote compaction [3], ensuring notices stay grouped with their source history items when trimming to a token budget.
On the SDK front, both openai-node and openai-python have completed migrations away from the ESLint/Prettier stack. The Node SDK upgraded TypeScript to 6.0.3 and replaced deprecated `moduleResolution: "node"` with `"bundler"` [4], then adopted Oxlint 1.75.0 and Oxfmt 0.60.0 while preserving all existing formatting rules and exclusions [5]. It layered Ultracite 7.8.4 on top as a shared workflow configuration [6]. The Python SDK followed the same Release Please pattern as Node [7]: both now mint repository-scoped installation tokens for the openai-sdks GitHub App instead of relying on GITHUB_TOKEN, which reduces exposure when handling release automation and pull-request events. These changes land across 55 commits and 55 PRs across the three repos over the last 24 hours.
One email a day. Unsubscribe in one click.
Keep up with OpenAI in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review and merge the directory-trust PR for Codex deployments openai/codex [immediate]
- → Validate TypeScript 6.0.3 and Oxlint/Oxfmt behavior in Node SDK tests openai/openai-node [plan]
- → Monitor Release Please GitHub App token rollout for both SDKs openai/openai-node [monitor]
References
- [1] Prompt before trusting local project directories (#36960) openai/codex
- [2] Accept user input when starting idle turns (#36947) openai/codex
- [3] Keep image resize notices attached during remote compaction ↗ openai/codex
- [4] [SDK-201] Replace deprecated module resolution settings ↗ openai/openai-node
- [5] [SDK-198] Migrate ESLint and Prettier to Oxlint and Oxfmt ↗ openai/openai-node
- [6] [SDK-223] Adopt Ultracite for Oxlint and Oxfmt (#2057) openai/openai-node
- [7] ci: use GitHub App for Release Please ↗ openai/openai-python