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

prevent RCE in the sonar report build #15681

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Conversation

itsankit-google
Copy link
Member

@itsankit-google itsankit-google commented Aug 5, 2024

  • Instead of directly interpolating variables into the shell commands, the updated solution writes the environment variables to the $GITHUB_ENV file.
  • This method ensures that the environment variables are set securely and are less prone to injection attacks.

@itsankit-google itsankit-google added the build Triggers github actions build label Aug 5, 2024
@itsankit-google itsankit-google merged commit 4355dc8 into develop Aug 5, 2024
12 of 16 checks passed
@itsankit-google itsankit-google deleted the fix-sec-vuln branch August 5, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Triggers github actions build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants