consensus mechanism security