Still, he'd have been better off staying quiet about it, in case he changed his outlook in years to come.
There are lots of stories about people who in one way or another got in contact with the intelligence agencies and nothing really bad happened to them.
Of course, agreeing to secrecy and then spilling the beans is not recommended. But in this case the agents decided to tell him stuff without any kind of agreement.