On 8 Nov 2018 17:34, Avi Gross <avigross at verizon.net> wrote: > What can you do to minimize risks in such > situations? ast.literal_eval, with a smallish maximum string length? https://docs.python.org/3/library/ast.html. (That's exactly the only ast function that know! :-)