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

[FSSDK-10665] fix: Github Actions YAML files vulnerable to script injections corrected #372

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

FarhanAnjum-opti
Copy link
Contributor

@FarhanAnjum-opti FarhanAnjum-opti commented Sep 23, 2024

Summary

Instead of directly using variables that can contain user input, new intermediate variables were introduced so that script injection attacks could be mitigated. Also removed unnecessary use of ${{ }} as using it makes the file vulnerable.

Issues

Copy link
Contributor

@mikechu-optimizely mikechu-optimizely left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for reviewing the workflows.

@mikechu-optimizely
Copy link
Contributor

@FarhanAnjum-opti I'm researching the CI test error...

@muzahidul-opti muzahidul-opti changed the title Github Actions YAML files vulnerable to script injections corrected [FSSDK-10665] Github Actions YAML files vulnerable to script injections corrected Sep 23, 2024
@muzahidul-opti muzahidul-opti changed the title [FSSDK-10665] Github Actions YAML files vulnerable to script injections corrected [FSSDK-10665] fix: Github Actions YAML files vulnerable to script injections corrected Sep 23, 2024
@muzahidul-opti
Copy link

Great to see your first PR being reviewed! I made a few small updates to the title and description.

@mikechu-optimizely
Copy link
Contributor

@FarhanAnjum-opti I finally fixed the problem with CI. You're welcome to squash+merge when you're ready.

@FarhanAnjum-opti FarhanAnjum-opti merged commit c37a74d into master Sep 24, 2024
9 checks passed
@FarhanAnjum-opti FarhanAnjum-opti deleted the farhan/FSSDK-10665-github-actions-correction branch September 24, 2024 09:13
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.

3 participants