It might be a good idea to look into input sanitizing, as user input is directly used in execSync function to call commands in a shell.