• Too easy to circumvent import restrictions

 

It's quite trivial to get around your import restrictions:

def fixed_import(*args, **kw):
    return __import__(*args, **kw)
__import__.__code__ = fixed_import.__code__

See attached screenshot. You may want to fix that.

Cheers,

Ben