infected through surgery is not NIL.

But I suggest that you asked your friend to take an HIV test for confirmation. Knowing it will give him and the authorities proper way to contain the possibility of spreading it more. How your friend got it (if ever it's positive) is the least of the problem, what is important is dealing with it.