Skip to content

fix(buildkite): validate BUILDKITE_BRANCH to prevent command injection#385

Open
jcc-google wants to merge 2 commits into
vllm-project:mainfrom
jcc-google:fix/command-injection-branch-b510376113
Open

fix(buildkite): validate BUILDKITE_BRANCH to prevent command injection#385
jcc-google wants to merge 2 commits into
vllm-project:mainfrom
jcc-google:fix/command-injection-branch-b510376113

Conversation

@jcc-google

Copy link
Copy Markdown
Contributor

Validate BUILDKITE_BRANCH env var against a strict regex to prevent command injection when branch names are substituted into shell scripts.

BUG=b/510376113
TAG=agy
CONV=f5118c4a-3577-4dc6-a4b6-1f2abb990935

Validate BUILDKITE_BRANCH env var against a strict regex to prevent
command injection when branch names are substituted into shell scripts.

Signed-off-by: Jincheng Chen <chenjincheng@google.com>
BUG=b/510376113
TAG=agy
CONV=f5118c4a-3577-4dc6-a4b6-1f2abb990935
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.

1 participant