Venezuelan officials say they are investigating allegations that military officers passed state secrets to the United States .