Skip to content
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

Eliminate the use of pull_request_target in github actions where possible #4560

Closed
tmihalac opened this issue Sep 23, 2024 · 0 comments · Fixed by #4549
Closed

Eliminate the use of pull_request_target in github actions where possible #4560

tmihalac opened this issue Sep 23, 2024 · 0 comments · Fixed by #4549

Comments

@tmihalac
Copy link
Contributor

tmihalac commented Sep 23, 2024

Using the pull_request trigger defaults to RW permissions for local PRs and RO permissions for forked PRs. And using the pull_request_target will default to RW for both.

The use of pull_request_target is a security issue and an opening for malicious code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant