Skip to content

fix: send tls_info.alpn, align signed-agent directories, document trustedJA4Headers - #53

Merged
cport1 merged 1 commit into
mainfrom
fix/ingest-field-and-directories
Sep 29, 2026
Merged

cport1 merged 1 commit into
mainfrom
fix/ingest-field-and-directories

Conversation

@cport1

@cport1 cport1 commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

Found while auditing the public docs against the code.

  • ALPN: the detection service reads tls_info.alpn and ignored alpn_protocols, the name the SDK documented. The SDK now has alpn. The old name is deprecated and still accepted, and is sent on the wire as alpn. A new test (tls-info-wire.test.ts) pins the field name.
  • Signed-agent directories: removed operator.openai.com, which no longer resolves. The default list now matches the platform's: ChatGPT, Google Agent and WebDecoyBot. The docs examples now spread ...DEFAULT_SIGNED_AGENT_DIRECTORIES, because passing directories replaces the defaults.
  • trustedJA4Headers: documented as it actually behaves. The JA4 is read, but the built-in table is empty, so it doesn't change the score. A test fails if that changes without the docs being updated. The README's TLS wording is also corrected.
  • README: await captcha.verifyToken().

Build 8/8, tests 9/9 tasks (@webdecoy/node 495 tests), lint, typecheck and edge check all pass. The CHANGELOG has an Unreleased entry.

…stedJA4Headers

- tls_info.alpn_protocols was ignored by the detection service, which reads
  alpn. Add alpn; the old name is deprecated and sent as alpn.
- DEFAULT_SIGNED_AGENT_DIRECTORIES dropped operator.openai.com (no longer
  resolves) and now matches the platform's list: ChatGPT, Google Agent and
  WebDecoyBot.
- trustedJA4Headers is documented as it behaves: the JA4 is read but the
  built-in table is empty, so it does not change the score.
- README: await captcha.verifyToken().
@cport1
cport1 merged commit 2c388ae into main Sep 29, 2026
2 checks passed
@cport1
cport1 deleted the fix/ingest-field-and-directories branch September 29, 2026 16:40
@cport1 cport1 mentioned this pull request Sep 29, 2026
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.

1 participant