Skip to content

Option to disable EDITOR for huh.Text #512

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

Closed
ArchiMoebius opened this issue Jan 19, 2025 · 1 comment
Closed

Option to disable EDITOR for huh.Text #512

ArchiMoebius opened this issue Jan 19, 2025 · 1 comment
Assignees
Labels
bug Something isn't working text

Comments

@ArchiMoebius
Copy link

If huh is used in tandem with wish, using huh.Text exposes the server to RCE (for example, EDITOR=vim, then the user simply has to type :! rm -rf /

Describe the solution you'd like
Request boolean to disable editor.

Describe alternatives you've considered
A docker-compose sandbox would mitigate the issue - to a degree, better to have an option to completely turn off EDITOR however.

@caarlos0 caarlos0 self-assigned this Mar 7, 2025
@caarlos0 caarlos0 added bug Something isn't working input text and removed input labels Mar 7, 2025
@caarlos0
Copy link
Member

fixed in #516

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working text
Projects
None yet
Development

No branches or pull requests

2 participants