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

Option to disable EDITOR for huh.Text #512

Open
ArchiMoebius opened this issue Jan 19, 2025 · 0 comments
Open

Option to disable EDITOR for huh.Text #512

ArchiMoebius opened this issue Jan 19, 2025 · 0 comments

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.

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

No branches or pull requests

1 participant