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

Type the workflow input as a number, not a string #11239

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

jeffwidman
Copy link
Member

@jeffwidman jeffwidman commented Jan 6, 2025

This input is a number, so although it's functioning fine currently as a string, by typing it properly as a number it removes a vector for string injection attacks if an attacker were to get escalated privileges on the repo.

To be clear: this doesn't close an active vulnerability. It adds defense-in-depth for the future.

🎩 💁‍♂️ to the person who pointed this out, you know who you are. 😁

This input is a number, so although it's functioning fine currently as a string, by typing it properly as a number it removes a vector for string injection attacks if an attacker were to get escalated privileges on the repo.

To be clear: this doesn't close an active vulnerability, but is just wise defense-in-depth.

🎩 💁‍♂️ to the person who pointed this out, you know who you are. 😁
@jeffwidman jeffwidman requested a review from a team as a code owner January 6, 2025 18:30
Copy link
Member

@jonabc jonabc left a comment

Choose a reason for hiding this comment

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

👍

@jeffwidman jeffwidman merged commit d3aa28c into main Jan 6, 2025
57 of 76 checks passed
@jeffwidman jeffwidman deleted the properly-type-input-as-a-string branch January 6, 2025 19:01
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