$ the-wire · showcase
Signed plugin archives in Codex, spend controls in both SDKs
By RepoJournal · Filed · About OpenAI · Composed from the cited sources · methodology
Codex began verifying RSA signatures on remote plugin archives before extraction and now caches the signing keys per plugin manager, while openai-python 3.58.0 and openai-node 7.63.0 both shipped typed `spend_control` on beta agent sessions.
Add signature verification for Plugin Service archives openai/codex
New `RemotePluginArchiveDownload::verify` checks an archive's SHA-256 digest and verifies its detached RSA signature against the Plugin Service release key, because a digest alone passes when someone replaces the archive and its digest together. The check runs before extraction, not after.
Verify signed remote plugin archives before extraction openai/codex
The shared archive verifier now covers remote installs, installed-plugin updates, shared plugin checkouts, and measurement reference downloads, fetching keys over the authenticated plugin service transport and rejecting malformed signing metadata before extraction.
Cache Plugin Service signing keys for archive verification openai/codex
Signing keys are reused within a plugin manager for the same Plugin Service endpoint and request headers until the server-provided `cache_ttl_seconds` expires. Requests without a non-empty `Authorization` header still fetch keys every time.
feat(api): set and read agent session spending limits openai/openai-python
Beta agent sessions in openai-python accept a best-effort spending limit in USD cents via `spend_control`, with `limit` and `consumed` required on every session response and null meaning unlimited or unavailable. openai-node shipped the same surface in 7.63.0.
fix: redact credential headers on API error requests (#4316) openai/openai-python
The long tail: `error.request` and `error.response.request` now carry a redacted copy of request headers, so callers that resend a request from an error must reapply authentication themselves, and Codex's TUI keeps each event receiver with its thread so a cleared thread no longer drops unread events.
Action items
- → Reapply authentication when resending a request from an openai-python API error, since error copies no longer carry c... openai/openai-python [plan]