[Contact] Update security check according to privilege changes of spec.