Oh he was much more than a spy. Many people died as a result of his "work."
He knew the people he exposed would be executed.