security: gate pr-triage secrets on same-repository pull_request_target#6053
Open
DVHRMNTCBSL wants to merge 1 commit into
Open
security: gate pr-triage secrets on same-repository pull_request_target#6053DVHRMNTCBSL wants to merge 1 commit into
DVHRMNTCBSL wants to merge 1 commit into
Conversation
Collaborator
|
Response from ADK Triaging Agent Hello @DVHRMNTCBSL, thank you for submitting this security-related PR! To help our reviewers process your changes more efficiently, please ensure the following requirements from our contribution guidelines are met:
This extra context is incredibly helpful for the review process. Thank you! |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What the patch does
pr-triage.ymlingoogle/adk-pythonruns onpull_request_targetand mountsADK_TRIAGE_AGENTandGOOGLE_API_KEYwhile the triage agent processes untrusted fork PR content.This patch adds a fork guard: automated
pull_request_targetruns only whenhead.repo.full_name == github.repository. Maintainers can still trigger viaworkflow_dispatch.Pull request: COLE_SEU_LINK_AQUI
How it works
workflow_dispatchpreserved.Writing effort
Modest — coordinated
if:guard in.github/workflows/pr-triage.yml.Security impact
Compelling proactive hardening: prevents untrusted fork PR content from reaching privileged LLM CI with secrets.
No live exploit was performed. Local trust-boundary simulation only.
Project scope
google/adk-pythonis OT1 in Google OSS repository tier.Relation to prior submissions
Proactive patch; pivots from REPORT-002 OSS VRP GHA class. This is the security patch PR, not a duplicate VRP report.
Diff access
COLE_SEU_LINK_AQUI/files