So there were not communist spies during and prior to the McCarthy era? Because you did not like McCarthy’s tactics does not mean the people that were accused were not spies and communist sympathizers. Because a murderer does not receive his Miranda warning does not mean factually he was not a murderer.
There were spies. They spied for allies.
The Soviet Union was an official ally during the war.