luigi
luigi copied to clipboard
Unsafe shell command constructed from library input in `luigi/contrib/lsf.py`
Hi,
I am reporting a potential security issue with an unsafe shell command constructed from library input in https://github.com/spotify/luigi/blob/master/luigi/contrib/lsf.py#L84-L88
I am unsure if the command line is affected by user input, but it would be great to change the behavior and set shell=False in case of any input.
subprocess.Popen(cmd, shell=False)