René's URL Explorer Experiment


Title: fix(nextjs): Use constant-time comparison in assertTokenSignature by jacekradko · Pull Request #8411 · clerk/javascript · GitHub

Open Graph Title: fix(nextjs): Use constant-time comparison in assertTokenSignature by jacekradko · Pull Request #8411 · clerk/javascript

X Title: fix(nextjs): Use constant-time comparison in assertTokenSignature by jacekradko · Pull Request #8411 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(nextjs): Use constant-time comparison in assertTokenSignature by jacekradko · Pull Request #8411 · clerk/javascript

Open Graph Description: Summary Switches assertTokenSignature in @clerk/nextjs to a constant-time string comparison for the HMAC-SHA1 integrity signature on the middleware-to-origin auth header handoff. The new constantT...

X Description: Summary Switches assertTokenSignature in @clerk/nextjs to a constant-time string comparison for the HMAC-SHA1 integrity signature on the middleware-to-origin auth header handoff. The new constantT...

Opengraph URL: https://github.com/clerk/javascript/pull/8411

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f72f8bb1-a12f-c4cc-93f2-016dab2acb9b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9780:37ACD:2352AE:3421CE:6AFADC02
html-safe-nonce1d9b1e29c5529487a0ac7d332873aa4860803b5e19dff967341364f7de5939b7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzgwOjM3QUNEOjIzNTJBRTozNDIxQ0U6NkFGQURDMDIiLCJ2aXNpdG9yX2lkIjoiMTUxNjQ5Njg0ODg1NDYzNzU3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac465246225b67a8c9cde4e4c72b586f51288ca00861b5c7f96c765fe343cb3dc7
hovercard-subject-tagpull_request:3585643917
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/8411/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/15ccb68404cb45b628b5e6b2ab1d55aea31e192cbd6608e7f371237dded18c19/clerk/javascript/pull/8411
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/15ccb68404cb45b628b5e6b2ab1d55aea31e192cbd6608e7f371237dded18c19/clerk/javascript/pull/8411
og:image:altSummary Switches assertTokenSignature in @clerk/nextjs to a constant-time string comparison for the HMAC-SHA1 integrity signature on the middleware-to-origin auth header handoff. The new constantT...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejacekradko
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/8411#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8411
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8411
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/8411
Reloadhttps://github.com/clerk/javascript/pull/8411
Reloadhttps://github.com/clerk/javascript/pull/8411
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests112 (112)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
jacekradkohttps://github.com/jacekradko
mainhttps://github.com/clerk/javascript/tree/main
jacek/aisec-8-clerknextjs-asserttokensignature-non-constant-time-hmachttps://github.com/clerk/javascript/tree/jacek/aisec-8-clerknextjs-asserttokensignature-non-constant-time-hmac
Conversationhttps://github.com/clerk/javascript/pull/8411
Commits3 (3)https://github.com/clerk/javascript/pull/8411/commits
Checkshttps://github.com/clerk/javascript/pull/8411/checks
Files changedhttps://github.com/clerk/javascript/pull/8411/files
fix(nextjs): Use constant-time comparison in assertTokenSignaturehttps://github.com/clerk/javascript/pull/8411#top
jacekradkohttps://github.com/jacekradko
mainhttps://github.com/clerk/javascript/tree/main
jacek/aisec-8-clerknextjs-asserttokensignature-non-constant-time-hmachttps://github.com/clerk/javascript/tree/jacek/aisec-8-clerknextjs-asserttokensignature-non-constant-time-hmac
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
Apr 26, 2026https://github.com/clerk/javascript/pull/8411#issue-4330902807
AISEC-8https://linear.app/clerk/issue/AISEC-8/clerknextjs-asserttokensignature-non-constant-time-hmac-compare-on
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
fix(nextjs): Use constant-time comparison in assertTokenSignaturehttps://github.com/clerk/javascript/pull/8411/commits/8e7577376a81310c9cca9ccbe5e835e7891494fd
8e75773https://github.com/clerk/javascript/pull/8411/commits/8e7577376a81310c9cca9ccbe5e835e7891494fd
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Apr 26, 2026https://github.com/clerk/javascript/pull/8411#issuecomment-4322069695
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
Vercel for GitHubhttps://vercel.link/github-learn-more
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/clerk-production/clerk-js-sandbox/32PvFjim5UZiZDNFK6g2kbEUxyrM
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=8411
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Apr 26, 2026https://github.com/clerk/javascript/pull/8411#issuecomment-4322069702
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
ea23f69https://github.com/clerk/javascript/commit/ea23f699423abcce277ea055ef3dd473edb57a1b
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/jacek/aisec-8-clerknextjs-asserttokensignature-non-constant-time-hmac?filename=.changeset/thick-snails-bathe.md&value=---%0A%22%40clerk%2Fnextjs%22%3A%20patch%0A---%0A%0Afix(nextjs)%3A%20Use%20constant-time%20comparison%20in%20assertTokenSignature%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Apr 26, 2026https://github.com/clerk/javascript/pull/8411#event-24879584830
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-l5yy5feh5.clerkstage.dev
Previewhttps://clerk-js-sandbox-l5yy5feh5.clerkstage.dev
April 26, 2026 12:54https://github.com/clerk/javascript/pull/8411#event-24879586081
View deploymenthttps://clerk-js-sandbox-l5yy5feh5.clerkstage.dev
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Apr 26, 2026https://github.com/clerk/javascript/pull/8411#issuecomment-4322073184
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
8e75773https://github.com/clerk/javascript/commit/8e7577376a81310c9cca9ccbe5e835e7891494fd
ea23f69https://github.com/clerk/javascript/commit/ea23f699423abcce277ea055ef3dd473edb57a1b
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Apr 26, 2026https://github.com/clerk/javascript/pull/8411#issuecomment-4322075403
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
Open in StackBlitzhttps://pkg.pr.new/template/185dccd3-6cd5-4d87-a8eb-e68c4b3f0f22
ea23f69https://github.com/clerk/javascript/runs/73230123139
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
Merge branch 'main' into jacek/aisec-8-clerknextjs-asserttokensignatu…https://github.com/clerk/javascript/pull/8411/commits/c145d00017752e96b33ab5050070aea9bc248733
c145d00https://github.com/clerk/javascript/pull/8411/commits/c145d00017752e96b33ab5050070aea9bc248733
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-kkd6fvfjg.clerkstage.dev
Previewhttps://clerk-js-sandbox-kkd6fvfjg.clerkstage.dev
April 27, 2026 15:26https://github.com/clerk/javascript/pull/8411#event-24912217990
View deploymenthttps://clerk-js-sandbox-kkd6fvfjg.clerkstage.dev
docs(nextjs): Expand JSDoc on constantTimeEqual with security rationalehttps://github.com/clerk/javascript/pull/8411/commits/ea23f699423abcce277ea055ef3dd473edb57a1b
ea23f69https://github.com/clerk/javascript/pull/8411/commits/ea23f699423abcce277ea055ef3dd473edb57a1b
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://clerk-js-sandbox-9ndkchqt3.clerkstage.dev
April 27, 2026 16:00https://github.com/clerk/javascript/pull/8411#event-24913489741
https://github.com/Ephem
Ephemhttps://github.com/Ephem
Apr 27, 2026 https://github.com/clerk/javascript/pull/8411#pullrequestreview-4183399774
View reviewed changes https://github.com/clerk/javascript/pull/8411/files/ea23f699423abcce277ea055ef3dd473edb57a1b
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
115cf98https://github.com/clerk/javascript/commit/115cf9882fffcf616249963909c7eb790fda105c
Apr 28, 2026https://github.com/clerk/javascript/pull/8411#event-24931218012
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
https://github.com/jacekradko
jacekradkohttps://github.com/jacekradko
April 28, 2026 03:17https://github.com/clerk/javascript/pull/8411#event-24931218825
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Apr 28, 2026 https://github.com/clerk/javascript/pull/8411#ref-pullrequest-4336905987
ci(repo): Version packages #8413 https://github.com/clerk/javascript/pull/8413
Deployedhttps://clerk-js-sandbox-9ndkchqt3.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-9ndkchqt3.clerkstage.dev
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8411
https://github.com/Ephem
Ephem https://github.com/Ephem
https://github.com/clerk/javascript/pull/8411/files/ea23f699423abcce277ea055ef3dd473edb57a1b
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
nextjs https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Anextjs
Please reload this pagehttps://github.com/clerk/javascript/pull/8411
https://github.com/jacekradko
https://github.com/Ephem
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.