Codex client version spoofing only affects listing #230

Open
opened 2026-11-21 12:37:02 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-ai/src/codex.rs (client version constant / models)
What is hacky: a high client version is claimed to see all models; server still gates use.
Proper fix: send the real version and handle gated models explicitly.
Original comment: "(override: HX_CODEX_CLIENT_VERSION). ponytail: we only list ids; the server still gates use."

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-ai/src/codex.rs (client version constant / models) What is hacky: a high client version is claimed to see all models; server still gates use. Proper fix: send the real version and handle gated models explicitly. Original comment: "(override: `HX_CODEX_CLIENT_VERSION`). ponytail: we only list ids; the server still gates use." Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the ai label 2026-11-21 12:37:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#230