Unless I'm mistaken, it looks like the interpolated shell commands appear to be vulnerable to code injection. e.g., if a directory has a command inside of its name like "~/dir ; rm -r ~/". The code should probably sanitize/protect the input from injection to avoid this vulnerability.
Unless I'm mistaken, it looks like the interpolated shell commands appear to be vulnerable to code injection. e.g., if a directory has a command inside of its name like
"~/dir ; rm -r ~/". The code should probably sanitize/protect the input from injection to avoid this vulnerability.