René's URL Explorer Experiment


Title: fix(backend): reject machine JWTs presented as session tokens by dominic-clerk · Pull Request #9168 · clerk/javascript · GitHub

Open Graph Title: fix(backend): reject machine JWTs presented as session tokens by dominic-clerk · Pull Request #9168 · clerk/javascript

X Title: fix(backend): reject machine JWTs presented as session tokens by dominic-clerk · Pull Request #9168 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(backend): reject machine JWTs presented as session tokens by dominic-clerk · Pull Request #9168 · clerk/javascript

Open Graph Description: Description The cookie path (authenticateRequestWithTokenInCookie) lacked the isMachineJwt() guard the header path has, so a same-instance M2M JWT in the __session cookie passed verifyToken() and p...

X Description: Description The cookie path (authenticateRequestWithTokenInCookie) lacked the isMachineJwt() guard the header path has, so a same-instance M2M JWT in the __session cookie passed verifyToken() and p...

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

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:219f9904-ad83-2ecb-2d18-556b5c78f15f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA38:265F82:473E0:698B9:6AFACEB6
html-safe-nonce006c674d53859578cad0e1fdd85ac6c53dc5779940b4f82dab59223979be63ce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTM4OjI2NUY4Mjo0NzNFMDo2OThCOTo2QUZBQ0VCNiIsInZpc2l0b3JfaWQiOiI4NzE1NDkzMjU1NDA5MjI1Mzk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd01ec804a11b6668db3b9dc8d93a1a1ac48500024b5c1f975ce609c4a6fb26f6
hovercard-subject-tagpull_request:4060384263
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/9168/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3e36760fc453351c49d415a5a28853112dcd952e9bb31f928ff3905546fe20c3/clerk/javascript/pull/9168
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3e36760fc453351c49d415a5a28853112dcd952e9bb31f928ff3905546fe20c3/clerk/javascript/pull/9168
og:image:altDescription The cookie path (authenticateRequestWithTokenInCookie) lacked the isMachineJwt() guard the header path has, so a same-instance M2M JWT in the __session cookie passed verifyToken() and p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedominic-clerk
hostnamegithub.com
expected-hostnamegithub.com
Noneaa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290
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
releasebe9dc02df8087c7449fb60a416e138c34108ed94
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/9168#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9168
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%2F9168
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/9168
Reloadhttps://github.com/clerk/javascript/pull/9168
Reloadhttps://github.com/clerk/javascript/pull/9168
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
dominic-clerkhttps://github.com/dominic-clerk
mainhttps://github.com/clerk/javascript/tree/main
dc-machine-jwthttps://github.com/clerk/javascript/tree/dc-machine-jwt
Conversationhttps://github.com/clerk/javascript/pull/9168
Commits1 (1)https://github.com/clerk/javascript/pull/9168/commits
Checkshttps://github.com/clerk/javascript/pull/9168/checks
Files changedhttps://github.com/clerk/javascript/pull/9168/files
fix(backend): reject machine JWTs presented as session tokenshttps://github.com/clerk/javascript/pull/9168#top
dominic-clerkhttps://github.com/dominic-clerk
mainhttps://github.com/clerk/javascript/tree/main
dc-machine-jwthttps://github.com/clerk/javascript/tree/dc-machine-jwt
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#issue-4892419536
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#issuecomment-4980547712
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
b66f063https://github.com/clerk/javascript/commit/b66f06321c184393a84503cebe9a0358fe648400
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/dc-machine-jwt?filename=.changeset/clear-rats-smell.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A---%0A%0Afix(backend)%3A%20reject%20machine%20JWTs%20presented%20as%20session%20tokens%20(AISEC-91)%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#issuecomment-4980547811
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
Vercel for GitHubhttps://vercel.link/github-learn-more
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/clerk-js-sandbox/75XjGVoqY8WcXDN1ZmmZmpTc7dAu
Previewhttps://clerk-js-sandbox-git-dc-machine-jwt.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-dc-machine-jwt.clerkstage.dev?via=pr-comment-feedback-link
swingsethttps://vercel.com/clerk-production/swingset
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/swingset/2dZ23f9c4U9HNMMQMi2x1593ukmr
Previewhttps://swingset-git-dc-machine-jwt.clerkstage.dev
Commenthttps://vercel.live/open-feedback/swingset-git-dc-machine-jwt.clerkstage.dev?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=9168
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-d9s9j5ce7.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-d9s9j5ce7.clerkstage.dev
July 15, 2026 12:26https://github.com/clerk/javascript/pull/9168#event-28015043924
View deploymenthttps://clerk-js-sandbox-d9s9j5ce7.clerkstage.dev
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#event-28015052173
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#issuecomment-4980550370
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/9168?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/dominic-clerk
fix(backend): reject machine JWTs presented as session tokenshttps://github.com/clerk/javascript/pull/9168/commits/b66f06321c184393a84503cebe9a0358fe648400
b66f063https://github.com/clerk/javascript/pull/9168/commits/b66f06321c184393a84503cebe9a0358fe648400
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
force-pushedhttps://github.com/clerk/javascript/compare/c2c897f9b1cbcd0348fd4ab953c66e4e7d572952..b66f06321c184393a84503cebe9a0358fe648400
c2c897fhttps://github.com/clerk/javascript/commit/c2c897f9b1cbcd0348fd4ab953c66e4e7d572952
b66f063https://github.com/clerk/javascript/commit/b66f06321c184393a84503cebe9a0358fe648400
Compare https://github.com/clerk/javascript/compare/c2c897f9b1cbcd0348fd4ab953c66e4e7d572952..b66f06321c184393a84503cebe9a0358fe648400
July 15, 2026 12:26https://github.com/clerk/javascript/pull/9168#event-28015072121
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#event-28015072829
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-8d5kxflqi.clerkstage.dev
Preview – clerk-js-sandboxhttps://clerk-js-sandbox-8d5kxflqi.clerkstage.dev
July 15, 2026 12:27https://github.com/clerk/javascript/pull/9168#event-28015106778
View deploymenthttps://clerk-js-sandbox-8d5kxflqi.clerkstage.dev
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://swingset-fv72ssab3.clerkstage.dev
Preview – swingsethttps://swingset-fv72ssab3.clerkstage.dev
July 15, 2026 12:29https://github.com/clerk/javascript/pull/9168#event-28015170402
View deploymenthttps://swingset-fv72ssab3.clerkstage.dev
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#issuecomment-4980598099
Open in StackBlitzhttps://pkg.pr.new/template/8b9f904f-98ed-4c9e-96da-39aa21b61e33
b66f063https://github.com/clerk/javascript/runs/87352726981
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 15, 2026 https://github.com/clerk/javascript/pull/9168#pullrequestreview-4704065646
View reviewed changes https://github.com/clerk/javascript/pull/9168/files/b66f06321c184393a84503cebe9a0358fe648400
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9168#pullrequestreview-4704065646
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
59774c6https://github.com/clerk/javascript/commit/59774c6cfb90931486c9b535b8dace622a02501b
b66f063https://github.com/clerk/javascript/commit/b66f06321c184393a84503cebe9a0358fe648400
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
packages/backend/src/tokens/request.tshttps://github.com/clerk/javascript/pull/9168/files/b66f06321c184393a84503cebe9a0358fe648400#diff-50844e9765ddaece7cd9885aa9a6b4556d93d6ccaf92ef2484399cec67a09405
coderabbitaihttps://github.com/apps/coderabbitai
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#discussion_r3587231587
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jul 15, 2026https://github.com/clerk/javascript/pull/9168#issuecomment-4980609469
Break Checkhttps://github.com/clerk/break-check
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/wobsoriano
wobsorianohttps://github.com/wobsoriano
Jul 15, 2026 https://github.com/clerk/javascript/pull/9168#pullrequestreview-4706977399
View reviewed changes https://github.com/clerk/javascript/pull/9168/files/b66f06321c184393a84503cebe9a0358fe648400
wobsorianohttps://github.com/wobsoriano
https://github.com/clerk/javascript/pull/9168#pullrequestreview-4706977399
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
e657d99https://github.com/clerk/javascript/commit/e657d994d938194cfa02da329707bf012873c01b
Jul 16, 2026https://github.com/clerk/javascript/pull/9168#event-28053196111
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
July 16, 2026 06:00https://github.com/clerk/javascript/pull/9168#event-28053197385
https://github.com/clerk-cookie
clerk-cookiehttps://github.com/clerk-cookie
Jul 16, 2026 https://github.com/clerk/javascript/pull/9168#ref-pullrequest-4899206910
ci(repo): Version packages #9175 https://github.com/clerk/javascript/pull/9175
https://github.com/dominic-clerk
dominic-clerkhttps://github.com/dominic-clerk
Oct 19, 2026 https://github.com/clerk/javascript/pull/9168#ref-pullrequest-5867841010
fix(backend): reject uncategorized JWTs presented as session tokens #10257 https://github.com/clerk/javascript/pull/10257
Deployedhttps://swingset-fv72ssab3.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://swingset-fv72ssab3.clerkstage.dev
Deployedhttps://clerk-js-sandbox-8d5kxflqi.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-8d5kxflqi.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%2F9168
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/9168/files/b66f06321c184393a84503cebe9a0358fe648400
https://github.com/wobsoriano
wobsoriano https://github.com/wobsoriano
https://github.com/clerk/javascript/pull/9168/files/b66f06321c184393a84503cebe9a0358fe648400
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
backend https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Abackend
Please reload this pagehttps://github.com/clerk/javascript/pull/9168
https://github.com/dominic-clerk
https://github.com/wobsoriano
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.