Skip to content

Conversation

suzhoum
Copy link
Contributor

@suzhoum suzhoum commented Dec 19, 2024

Issue #, if available:

Description of changes:
This PR fixes a security concern that /platform_tests might pick up a malicious commit sent within the very brief timing gap between when a maintainer sends out /platform_tests comment, and when the action dequeues and picks up the new malicious commit sha because it currently checks out the PR sha automatically. With this PR, it requires the maintainer to supply the commit sha in the slash command, and avoids the potential risk of running a malicious commit.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@suzhoum suzhoum changed the title use command arg for pr-sha use slash command arg for pr-sha Dec 19, 2024
@suzhoum suzhoum force-pushed the use_slash_command_arg branch from c51be65 to 7159c41 Compare December 19, 2024 00:45
@suzhoum suzhoum merged commit a988db5 into autogluon:master Dec 19, 2024
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants