check if code is secure