René's URL Explorer Experiment


Title: [codex] Avoid untrusted binary lookup paths by rparolin · Pull Request #2111 · NVIDIA/cuda-python · GitHub

Open Graph Title: [codex] Avoid untrusted binary lookup paths by rparolin · Pull Request #2111 · NVIDIA/cuda-python

X Title: [codex] Avoid untrusted binary lookup paths by rparolin · Pull Request #2111 · NVIDIA/cuda-python

Description: CUDA Python: Performance meets Productivity. Contribute to NVIDIA/cuda-python development by creating an account on GitHub.

Open Graph Description: Summary This PR updates cuda.pathfinder.find_nvidia_binary_utility() to search only the trusted binary directories it constructs internally instead of delegating to shutil.which(). It was created i...

X Description: Summary This PR updates cuda.pathfinder.find_nvidia_binary_utility() to search only the trusted binary directories it constructs internally instead of delegating to shutil.which(). It was created i...

Opengraph URL: https://github.com/NVIDIA/cuda-python/pull/2111

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:a7e13abc-eaa8-bd72-1fab-1f6619831f04
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE05E:2A5191:3F9826:57A252:6AF83D9A
html-safe-nonce00d969ba784f64499aa84ce0885864316dd48a0b690a247439ff982d6ffdbc41
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDVFOjJBNTE5MTozRjk4MjY6NTdBMjUyOjZBRjgzRDlBIiwidmlzaXRvcl9pZCI6IjY1NTgwMTUxNzk4NTY1NTk1MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7bece4249898a7f8917c1911c147dbd3230e08706abe8c6d11ad40e6e2e2fcc1
hovercard-subject-tagpull_request:3711960721
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/NVIDIA/cuda-python/2111/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/60d374e82ae14d3ea5d72f126fb880ea3c44948962b480e7d954f77a00daa427/NVIDIA/cuda-python/pull/2111
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/60d374e82ae14d3ea5d72f126fb880ea3c44948962b480e7d954f77a00daa427/NVIDIA/cuda-python/pull/2111
og:image:altSummary This PR updates cuda.pathfinder.find_nvidia_binary_utility() to search only the trusted binary directories it constructs internally instead of delegating to shutil.which(). It was created i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerparolin
hostnamegithub.com
expected-hostnamegithub.com
None5713ecd83001b2f55c3509fb7a292bf7d66d0f167c7ae87a9f7eaec5a52bf8db
turbo-cache-controlno-cache
go-importgithub.com/NVIDIA/cuda-python git https://github.com/NVIDIA/cuda-python.git
octolytics-dimension-user_id1728152
octolytics-dimension-user_loginNVIDIA
octolytics-dimension-repository_id381173759
octolytics-dimension-repository_nwoNVIDIA/cuda-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id381173759
octolytics-dimension-repository_network_root_nwoNVIDIA/cuda-python
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
release653be32ff5c755082a4db662491bfbbcfc9112c1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/NVIDIA/cuda-python/pull/2111#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNVIDIA%2Fcuda-python%2Fpull%2F2111
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%2FNVIDIA%2Fcuda-python%2Fpull%2F2111
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=NVIDIA%2Fcuda-python
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2111
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2111
Reloadhttps://github.com/NVIDIA/cuda-python/pull/2111
NVIDIAhttps://github.com/NVIDIA
cuda-pythonhttps://github.com/NVIDIA/cuda-python
Codehttps://github.com/NVIDIA/cuda-python
Issues219 (219)https://github.com/NVIDIA/cuda-python/issues
Pull requests92 (92)https://github.com/NVIDIA/cuda-python/pulls
Discussionshttps://github.com/NVIDIA/cuda-python/discussions
Actionshttps://github.com/NVIDIA/cuda-python/actions
Projectshttps://github.com/NVIDIA/cuda-python/projects
Wikihttps://github.com/NVIDIA/cuda-python/wiki
Security and qualityhttps://github.com/NVIDIA/cuda-python/security
Insightshttps://github.com/NVIDIA/cuda-python/pulse
https://github.com/NVIDIA/cuda-python
rparolinhttps://github.com/rparolin
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
rparolin:codex/fix-nvidia-binary-search-pathhttps://github.com/rparolin/cuda-python/tree/codex/fix-nvidia-binary-search-path
Conversationhttps://github.com/NVIDIA/cuda-python/pull/2111
Commits1 (1)https://github.com/NVIDIA/cuda-python/pull/2111/commits
Checkshttps://github.com/NVIDIA/cuda-python/pull/2111/checks
Files changedhttps://github.com/NVIDIA/cuda-python/pull/2111/files
[codex] Avoid untrusted binary lookup pathshttps://github.com/NVIDIA/cuda-python/pull/2111#top
rparolinhttps://github.com/rparolin
NVIDIA:mainhttps://github.com/NVIDIA/cuda-python/tree/main
rparolin:codex/fix-nvidia-binary-search-pathhttps://github.com/rparolin/cuda-python/tree/codex/fix-nvidia-binary-search-path
https://github.com/rparolin
rparolinhttps://github.com/rparolin
May 19, 2026https://github.com/NVIDIA/cuda-python/pull/2111#issue-4480981017
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/rparolin
Avoid untrusted binary lookup pathshttps://github.com/NVIDIA/cuda-python/pull/2111/commits/f0416c3deb2be052eac4f18c90552ce4ea3abdf1
f0416c3https://github.com/NVIDIA/cuda-python/pull/2111/commits/f0416c3deb2be052eac4f18c90552ce4ea3abdf1
https://github.com/rparolin
rparolinhttps://github.com/rparolin
cuda.pathfinder nexthttps://github.com/NVIDIA/cuda-python/milestone/44
May 19, 2026https://github.com/NVIDIA/cuda-python/pull/2111#event-25726682915
https://github.com/rparolin
rparolinhttps://github.com/rparolin
bug https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Abug
cuda.pathfinder https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.pathfinder
May 19, 2026https://github.com/NVIDIA/cuda-python/pull/2111#event-25726682953
https://github.com/apps/copy-pr-bot
copy-pr-bothttps://github.com/apps/copy-pr-bot
May 19, 2026https://github.com/NVIDIA/cuda-python/pull/2111#issuecomment-4491968548
herehttps://docs.gha-runners.nvidia.com/cpr/auto-sync
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
May 19, 2026 https://github.com/NVIDIA/cuda-python/pull/2111#pullrequestreview-4323306729
View reviewed changes https://github.com/NVIDIA/cuda-python/pull/2111/files/f0416c3deb2be052eac4f18c90552ce4ea3abdf1
cuda_pathfinder/cuda/pathfinder/_binaries/find_nvidia_binary_utility.pyhttps://github.com/NVIDIA/cuda-python/pull/2111/files/f0416c3deb2be052eac4f18c90552ce4ea3abdf1#diff-931058cc0f6689f07b7eaffef151fcaef4bb2219815e142033b9488e3363d7e6
kkraus14https://github.com/kkraus14
May 19, 2026https://github.com/NVIDIA/cuda-python/pull/2111#discussion_r3269720856
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
rparolinhttps://github.com/rparolin
May 19, 2026https://github.com/NVIDIA/cuda-python/pull/2111#discussion_r3270116777
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
mdboomhttps://github.com/mdboom
May 20, 2026https://github.com/NVIDIA/cuda-python/pull/2111#discussion_r3273553246
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
os.pathsephttps://docs.python.org/3/library/os.html#os.pathsep
os.environhttps://docs.python.org/3/library/os.html#os.environ
os.defpathhttps://docs.python.org/3/library/os.html#os.defpath
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/rwgk
rwgkhttps://github.com/rwgk
May 19, 2026https://github.com/NVIDIA/cuda-python/pull/2111#issuecomment-4492659662
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/kkraus14
kkraus14https://github.com/kkraus14
May 20, 2026https://github.com/NVIDIA/cuda-python/pull/2111#issuecomment-4493908367
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/#environment-setuphttps://docs.nvidia.com/cuda/cuda-installation-guide-linux/#environment-setup
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/leofang
leofanghttps://github.com/leofang
May 20, 2026https://github.com/NVIDIA/cuda-python/pull/2111#issuecomment-4494008068
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/leofang
leofanghttps://github.com/leofang
May 20, 2026https://github.com/NVIDIA/cuda-python/pull/2111#issuecomment-4494247927
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/rparolin
rparolinhttps://github.com/rparolin
May 20, 2026 https://github.com/NVIDIA/cuda-python/pull/2111#ref-issue-4490339185
find_nvidia_binary_utility() violates deterministic-search contract on Windows (CWD leakage via shutil.which) #2119 https://github.com/NVIDIA/cuda-python/issues/2119
https://github.com/rparolin
rparolinhttps://github.com/rparolin
May 20, 2026https://github.com/NVIDIA/cuda-python/pull/2111#issuecomment-4503216471
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
#2119https://github.com/NVIDIA/cuda-python/issues/2119
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/rparolin
rparolinhttps://github.com/rparolin
May 20, 2026https://github.com/NVIDIA/cuda-python/pull/2111#event-25780034181
https://github.com/rwgk
rwgkhttps://github.com/rwgk
May 21, 2026https://github.com/NVIDIA/cuda-python/pull/2111#issuecomment-4504631020
suggested abovehttps://github.com/NVIDIA/cuda-python/pull/2111#issuecomment-4492659662
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/rwgk
rwgkhttps://github.com/rwgk
Jun 10, 2026 https://github.com/NVIDIA/cuda-python/pull/2111#ref-pullrequest-4635782408
feat(pathfinder): add CTK-root canary fallback for NVIDIA binaries #2196 https://github.com/NVIDIA/cuda-python/pull/2196
https://github.co/hiddenchars
https://github.com/NVIDIA/cuda-python/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%2FNVIDIA%2Fcuda-python%2Fpull%2F2111
https://github.com/mdboom
mdboom https://github.com/mdboom
https://github.com/NVIDIA/cuda-python/pull/2111/files/f0416c3deb2be052eac4f18c90552ce4ea3abdf1
https://github.com/kkraus14
kkraus14 https://github.com/kkraus14
https://github.com/NVIDIA/cuda-python/pull/2111/files/f0416c3deb2be052eac4f18c90552ce4ea3abdf1
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
bug https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Abug
cuda.pathfinder https://github.com/NVIDIA/cuda-python/issues?q=state%3Aopen%20label%3Acuda.pathfinder
cuda.pathfinder next https://github.com/NVIDIA/cuda-python/milestone/44
Please reload this pagehttps://github.com/NVIDIA/cuda-python/pull/2111
https://github.com/rparolin
https://github.com/rwgk
https://github.com/kkraus14
https://github.com/leofang
https://github.com/mdboom
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.