Can someone explain for those of us who aren't as savvy?
What should we be looking for in the code?
best to pass a list of arguments to subprocess rather than a string, and avoid shell=True
Same for SQL statements, single quotes in a query string should generate a warning to just use prepared statements instead :-)