Skip to content

fix: match real Firefox's ClientHello in the firefox profiles - #578

Open
jackc625 wants to merge 1 commit into
apify:masterfrom
jackc625:fix/firefox-extension-order
Open

jackc625 wants to merge 1 commit into
apify:masterfrom
jackc625:fix/firefox-extension-order

Conversation

@jackc625

Copy link
Copy Markdown
Contributor

Part of #576.

  • The Firefox profiles' extension_order left out five extensions, so they were shuffled on every connection and JA3 changed per request. This adds DelegatedCredentials and RecordSizeLimit to ExtensionType and completes the lists from real Firefox 128/133/135/144 captures. The order is now fixed and JA3 matches real Firefox; JA4 is unchanged.
  • record_size_limit is 16385 in firefox133/135/144 (was 4001).
  • firefox128: real Firefox 128's cipher order, and P-521 in supported_groups.

A new test builds each Firefox profile's ClientHello and checks it against real Firefox's JA3.

- Adds `DelegatedCredentials` and `RecordSizeLimit` to `ExtensionType`, and
  lists every extension in the firefox128/133/135/144 `extension_order`.
  Five extensions were missing from those lists, so they were shuffled on
  every connection and JA3 changed per request. The order is now fixed and
  matches real Firefox; JA4 is unchanged.
- `record_size_limit` is 16385 (0x4001) in firefox133/135/144, not 4001.
- firefox128: real Firefox 128's cipher order, and P-521 in
  `supported_groups`.

Adds tests that build each Firefox profile's ClientHello and compare it with
real Firefox's JA3 and `record_size_limit`.

Part of apify#576

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T16:08:30.905003Z 3d8bc41 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Firefox profiles: extension order changes on every request, plus a few wrong values

2 participants