Add mud security check