Preparing my honeypot right now: https://github.com/infinition/Bjorn/blob/9ea706ccc03437a9dd1...
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 :-)