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

Escape strings to be passed in as arguments. #833

Merged
merged 5 commits into from
Oct 11, 2024
Merged

Conversation

kwu-stripe
Copy link
Contributor

@kwu-stripe kwu-stripe commented Oct 9, 2024

Addresses the bug where command injection can be used in the projectName value in workspace settings, by escaping strings passed in as arguments.

https://security-insights.corp.stripe.com/pathfinder/sats/SAT-10878

The solution is based on shell-escape, but also adapted to handle Windows computers. This was tested on both Windows and Mac.

Screenshot 2024-10-09 at 12 36 11 PM

@kwu-stripe kwu-stripe merged commit ab74d3c into master Oct 11, 2024
7 checks passed
@kwu-stripe kwu-stripe deleted the kwu-SAT-10878 branch October 11, 2024 23:11
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