Law enforcement officials are warning of potential attacks against election officials, political candidates, religious minorities and others.