-
Notifications
You must be signed in to change notification settings - Fork 1.5k
ci: disable sccache for cu134 nvcc #4682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dierksen
merged 1 commit into
flashinfer-ai:main
from
dierksen:jdierksen/disable-cu134-sccache
Aug 24, 2026
+16
β1
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π Security & Privacy | π Major | β‘ Quick win
π§© Analysis chain
π Script executed:
Repository: flashinfer-ai/flashinfer
Length of output: 12443
π Script executed:
Repository: flashinfer-ai/flashinfer
Length of output: 19163
π Web query:
GitHub Actions official documentation pull_request fork GITHUB_TOKEN read-only secrets unavailable self-hosted runners untrusted codeπ‘ Result:
In GitHub Actions, workflows triggered by pull requests from forks are subject to strict security limitations to prevent unauthorized access to repository secrets and elevated permissions [1][2]. When a workflow is triggered by a pull request from a forked repository (using the standard pull_request event), the following restrictions apply: - Secrets are unavailable: With the exception of the GITHUB_TOKEN, secrets defined in the repository are not passed to the workflow runner [2][3]. - Read-only GITHUB_TOKEN: The GITHUB_TOKEN is granted read-only permissions [1][4]. Write access is withheld unless the repository settings are explicitly configured to allow it (e.g., via the "Send write tokens to workflows from pull requests" setting) [5][4]. These security measures prevent untrusted code from a fork from accessing sensitive information or modifying the base repository [1]. Regarding self-hosted runners and untrusted code: - GitHub-hosted runners are ephemeral and isolated virtual machines that are destroyed after each job, providing a clean environment [6][7]. - Self-hosted runners are not ephemeral by default and do not provide the same security guarantees [6][7]. If untrusted code from a fork (or any malicious workflow) runs on a self-hosted runner, it can persistently compromise the environment, access secrets, scan internal networks, or steal credentials cached on the host [6][8][9]. - Official documentation strongly advises against using self-hosted runners for public repositories because any user can open a pull request to execute code on that runner [6][10]. If they must be used, they should be strictly isolated, and workflows triggered by untrusted sources should be prevented from running on them [6][9][7]. The pull_request_target event is a notable exception to these rules [1][4]. It runs in the context of the base repository's branch and has access to secrets and a read-write GITHUB_TOKEN [1][5]. However, because this event can execute untrusted code in a trusted context (a pattern known as a "pwn request"), it must be handled with extreme care [11]. Recent updates, such as those in actions/checkout v7, now restrict checking out fork code by default within pull_request_target workflows to mitigate these risks [11].
Citations:
How the permissions are calculated for a workflow jobΒ github/docs#32398π Script executed:
Repository: flashinfer-ai/flashinfer
Length of output: 5023
Do not execute pull-request code on self-hosted runners.
The PR path checks out and executes
github.event.pull_request.head.shaon persistent self-hosted runners. Restrict this job to trustedworkflow_dispatchruns or use isolated GitHub-hosted runners. Set workflow-levelpermissions: contents: read, retaincontents: writeonly forcreate-release, and preventSCCACHE_AWS_*secrets from entering PR jobs.π§° Tools
πͺ zizmor (1.29.0)
[warning] 1-536: overly broad permissions (excessive-permissions): default permissions used due to no permissions: block
(excessive-permissions)
π€ Prompt for AI Agents
Source: Linters/SAST tools