René's URL Explorer Experiment


Title: [SDK-8000] Reject TLS chains carrying the compromised eMudhra intermediate keys by harshit-browserstack · Pull Request #1203 · browserstack/browserstack-cypress-cli · GitHub

Open Graph Title: [SDK-8000] Reject TLS chains carrying the compromised eMudhra intermediate keys by harshit-browserstack · Pull Request #1203 · browserstack/browserstack-cypress-cli

X Title: [SDK-8000] Reject TLS chains carrying the compromised eMudhra intermediate keys by harshit-browserstack · Pull Request #1203 · browserstack/browserstack-cypress-cli

Description: Summary Jira: SDK-8000. Same fix as SDK-7999 in browserstack-binary#1960 and browserstack-node-agent#2742. The private keys of 8 eMudhra intermediate CAs are recoverable (incident), and Node.js has not shipped the distrust yet (nodejs/node#66871 is unreleased). The CLI runs on the customer's Node and sends the username and access key to api, api-cloud, automate and eds.browserstack.com, so anyone on the network path can present a certificate the CLI accepts and read the key and the uploaded test suite. Change New bin/helpers/distrustedCaCheck.js wraps tls.checkServerIdentity: Node's hostname check runs first, then the connection is refused (ERR_TLS_DISTRUSTED_INTERMEDIATE) if any certificate in the chain has one of the 8 published SPKI SHA-256 hashes. Matching the key catches both the emSign-issued and the Sectigo cross-signed copies. Installed at the top of bin/helpers/utils.js instead of bin/runner.js: utils.js is loaded by every CLI command and by the code that runs inside the customer's Cypress process (Test Observability reporter and crash reporter, Accessibility plugin), which a hook in runner.js would not reach. Local: the CLI starts Local with browserstack-local's async start() (1.5.13), which does the endpoint lookup and the binary download in-process, so this hook covers them too. The SPKI is re-exported with crypto.createPublicKey from the certificate: cert.pubkey is the raw point for EC keys (hashing it never matches), and X509Certificate needs Node 15.6. Verification build-info with RAILS_HOST / USAGE_REPORTING_URL pointed at dv-g3b-emudhra and dv-g3b-aaa-emudhra.we-have-a-problem.com (fake credentials): master completes TLS and receives the host's response on Node 14 and 18 (both chains); this branch gets ERR_TLS_DISTRUSTED_INTERMEDIATE and receives nothing, on Node 14, 18 and 22. api.browserstack.com is still reached. Local start() with bs-host pointed at the incident host (fake key): master completes TLS and parses the host's reply; this branch refuses the connection. Unit tests: 723 passing, 2 pending, 16 failing; the same 16 fail on master. Not run yet: a full browserstack-cypress run on BrowserStack. Summary by CodeRabbit Security TLS validation now rejects certificate chains containing any of eight distrusted eMudhra intermediate certificate authorities. Connections with affected chains fail with an error identifying the hostname and certificate authority. Existing hostname validation behavior and error reporting remain unchanged. The check is applied automatically when the command-line utility loads; if it cannot be installed, the utility continues loading. Repeated installation attempts do not add duplicate validation checks.

Open Graph Description: Summary Jira: SDK-8000. Same fix as SDK-7999 in browserstack-binary#1960 and browserstack-node-agent#2742. The private keys of 8 eMudhra intermediate CAs are recoverable (incident), and Node.js has...

X Description: Summary Jira: SDK-8000. Same fix as SDK-7999 in browserstack-binary#1960 and browserstack-node-agent#2742. The private keys of 8 eMudhra intermediate CAs are recoverable (incident), and Node.js has...

Opengraph URL: https://github.com/browserstack/browserstack-cypress-cli/pull/1203

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:3a0cc7b4-1206-7dbc-1fdf-c48ccec886d5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9F8A:B0AA1:1B3C40:25A485:6B04487F
html-safe-noncef1992cdc3a87b93c238b2f5bb0778611d3139e39872983fb2372080e038dc3cc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjhBOkIwQUExOjFCM0M0MDoyNUE0ODU6NkIwNDQ4N0YiLCJ2aXNpdG9yX2lkIjoiNDU1MDM2MjU5NzQyOTYyNzAwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac246893138457a20a43b7cdb03411025b3e8821c85e8b2dad0fa5ab7f78d24edc
hovercard-subject-tagpull_request:4951161826
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
twitter:imagehttps://avatars.githubusercontent.com/u/250154764?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/250154764?s=400&v=4
og:image:altSummary Jira: SDK-8000. Same fix as SDK-7999 in browserstack-binary#1960 and browserstack-node-agent#2742. The private keys of 8 eMudhra intermediate CAs are recoverable (incident), and Node.js has...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/browserstack/browserstack-cypress-cli git https://github.com/browserstack/browserstack-cypress-cli.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id242935045
octolytics-dimension-repository_nwobrowserstack/browserstack-cypress-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id242935045
octolytics-dimension-repository_network_root_nwobrowserstack/browserstack-cypress-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fpull%2F1203%2Ffiles
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%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fpull%2F1203%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=browserstack%2Fbrowserstack-cypress-cli
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
Reloadhttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
browserstackhttps://github.com/browserstack
browserstack-cypress-clihttps://github.com/browserstack/browserstack-cypress-cli
Codehttps://github.com/browserstack/browserstack-cypress-cli
Issues28 (28)https://github.com/browserstack/browserstack-cypress-cli/issues
Pull requests47 (47)https://github.com/browserstack/browserstack-cypress-cli/pulls
Actionshttps://github.com/browserstack/browserstack-cypress-cli/actions
Projectshttps://github.com/browserstack/browserstack-cypress-cli/projects
Security and quality1 (1)https://github.com/browserstack/browserstack-cypress-cli/security
Insightshttps://github.com/browserstack/browserstack-cypress-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-cypress-cli%2Fissues%2Fnew%2Fchoose
hamza-browserstackhttps://github.com/hamza-browserstack
masterhttps://github.com/browserstack/browserstack-cypress-cli/tree/master
fix/SDK-8000-emudhra-key-blockhttps://github.com/browserstack/browserstack-cypress-cli/tree/fix/SDK-8000-emudhra-key-block
Conversation 8 https://github.com/browserstack/browserstack-cypress-cli/pull/1203
Commits 5 https://github.com/browserstack/browserstack-cypress-cli/pull/1203/commits
Checks 5 https://github.com/browserstack/browserstack-cypress-cli/pull/1203/checks
Files changed https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
[SDK-8000] Reject TLS chains carrying the compromised eMudhra intermediate keys https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#top
Show all changes 5 commits https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
7ecfe63 fix(tls): reject chains carrying the compromised eMudhra intermediate… harshit-browserstack Oct 21, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1203/commits/7ecfe63b71f9eab6f6c6491a95aed1f548aecae5
52846d7 fix(tls): check each certificate separately and match the distrusted … harshit-browserstack Oct 21, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1203/commits/52846d78ed8ba9806dbddc148d2df412a28cef3f
97bd448 fix(tls): compare distrusted CA names the way OpenSSL does (SDK-8000) harshit-browserstack Oct 21, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1203/commits/97bd448230f10b43a4dbb7ccc06c37092097e0f3
2603ad7 fix(tls): keep the install state on the tls module (SDK-8000) harshit-browserstack Oct 21, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1203/commits/2603ad75ba4fc93e2a6b1d2fed41b91131742515
96b3a51 fix(tls): guard the distrusted CA check install and add unit tests (S… harshit-browserstack Oct 22, 2026 https://github.com/browserstack/browserstack-cypress-cli/pull/1203/commits/96b3a51e2cd1684708fe2e4db94310e4712da86b
Clear filters https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
distrustedCaCheck.js https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#diff-be5ae49483d890b2ac8578700514ef6aae3584a42ff71d18c4ca1c9faed426b6
utils.js https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#diff-767dbfdc97b44842992762e966fcc633ebbf9d90e8af9942bdf48aca05d55a69
distrustedCaCheck.js https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#diff-549d2399a8c30a202b033fb0de57099c41aaa4b9b29e4e4a605e40ccc915b74f
bin/helpers/distrustedCaCheck.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#diff-be5ae49483d890b2ac8578700514ef6aae3584a42ff71d18c4ca1c9faed426b6
View file https://github.com/browserstack/browserstack-cypress-cli/blob/96b3a51e2cd1684708fe2e4db94310e4712da86b/bin/helpers/distrustedCaCheck.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1203/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-cypress-cli/blob/master/CODEOWNERS#L18
bin/helpers/utils.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#diff-767dbfdc97b44842992762e966fcc633ebbf9d90e8af9942bdf48aca05d55a69
View file https://github.com/browserstack/browserstack-cypress-cli/blob/96b3a51e2cd1684708fe2e4db94310e4712da86b/bin/helpers/utils.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1203/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#diff-767dbfdc97b44842992762e966fcc633ebbf9d90e8af9942bdf48aca05d55a69
test/unit/bin/helpers/distrustedCaCheck.jshttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files#diff-549d2399a8c30a202b033fb0de57099c41aaa4b9b29e4e4a605e40ccc915b74f
View file https://github.com/browserstack/browserstack-cypress-cli/blob/96b3a51e2cd1684708fe2e4db94310e4712da86b/test/unit/bin/helpers/distrustedCaCheck.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-cypress-cli/pull/1203/{{ revealButtonHref }}
Please reload this pagehttps://github.com/browserstack/browserstack-cypress-cli/pull/1203/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.