I found that something had added a line in my proxy settings, once I cleared this the infection notification stopped popping up. In Safari, open preferences, advanced, open 'change settings' next to proxy, and remove anything in the 'bypass proxy settings for the following domains, etc.'. Hope this is works for you.