OreosLab / SSRSpeedN

Detected subprocess popen call with shell equals True BAN-B602
Security
Major
2 years ago2 years old
subprocess call with shell=True seems safe, but may be changed in the future, consider rewriting without shell
 88            )
 89            try:
 90                process = subprocess.Popen(
 91                    "brew info libsodium", shell=True, stdout=subprocess.PIPE 92                ) 93                try:
 94                    out = process.communicate(timeout=15)[0]
 95                except subprocess.TimeoutExpired:
subprocess call with shell=True seems safe, but may be changed in the future, consider rewriting without shell
110        else:
111            try:
112                process = subprocess.Popen(
113                    "ldconfig -p | grep libsodium", shell=True, stdout=subprocess.PIPE114                )115                try:
116                    out = process.communicate(timeout=15)[0]
117                except subprocess.TimeoutExpired: