The Wire · Showcase
PYTHON SDK GOES HTTPX2, NODE PATCHES PROTOTYPE POLLUTION, CODEX HARDENS STREAMING
By RepoJournal · Filed · About OpenAI
OpenAI Python SDK v3.0.0 ships HTTPX2 as the default HTTP client, breaking the old httpx dependency entirely while Node.js closes a critical prototype-pollution vulnerability in assistant streams.
The Python SDK's major version bump [1] marks the end of httpx era, forcing all custom client implementations to migrate to HTTPX2 equivalents or use a temporary legacy escape hatch. This change consolidates infrastructure and simplifies dependency management, though it demands immediate attention from anyone using custom transports or configuration objects. On the security front, the Node.js SDK [2] patched a CodeQL-flagged prototype-pollution vulnerability in AssistantStream delta merging, rejecting unsafe property-chain names before they can be exploited. The Node team also resolved 45 Dependabot alerts across undici, js-yaml, postcss, and other dependencies [5], then capped future noise by limiting Dependabot to 10 concurrent pull requests [6]. Meanwhile, Codex hardened its TUI streaming by persisting per-chunk traces at DEBUG level instead of TRACE [3], preventing SQLite log queue floods, while adding turn-aware response injection [4] to keep user input and injected items atomically persisted together. The team also routed gRPC code-mode sessions through the shared HTTP client [7] for better proxy and CA configuration support, and built metadata preservation across conversation history [8] without exposing harness details to model providers.
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 HTTPX2 migration guide if using openai-python with custom HTTP clients openai/openai-python [immediate]
- → Update openai-node to latest version to patch prototype-pollution vulnerability openai/openai-node [immediate]
- → Plan Python SDK v3.0.0 adoption or remain on v2.54.0 with legacy HTTPX escape hatch openai/openai-python [plan]
- → Monitor Codex deployment for TUI streaming log behavior after DEBUG-level trace filtering openai/codex [monitor]
References
- [1] v3.0.0 ↗ openai/openai-python
- [2] fix: prevent prototype pollution in assistant stream deltas (#2280) openai/openai-node
- [3] Limit TUI streaming traces in SQLite logs (#38036) openai/codex
- [4] Add turn-aware response item injection (#38047) openai/codex
- [5] fix(deps): remediate Dependabot and fixture vulnerabilities (#2282) openai/openai-node
- [6] chore: limit Dependabot to 10 open pull requests (#2297) openai/openai-node
- [7] Route gRPC code-mode sessions through the shared HTTP client (#38087) openai/codex
- [8] Preserve harness metadata across conversation history ↗ openai/codex
- [9] feat(api)!: migrate to HTTPX2 ↗ openai/openai-python