from taintmode import * @untrusted def from_outside(): s = raw_input('Give me some input:') return s @ssink(OSI) def shell_cmd(s): # Here, we call some shell command using s return @cleaner(OSI) def no_osi(s): # Here, it sanatizes the data return '' i = from_outside() # shell_cmd(i) # clean_i = no_osi(i) # shell_cmd(clean_i)