Hacking is real and lots of companies claim to offer real-time analysis and detection.
I read about AVG who has come out with a solution called "LinkScanner" which is a real-time scanning solution. Basically, LinkScanner checks websites and shows you whether or not the sites you are visiting are safe or not. Whether you are surfing the web or shopping online or networking online various social networks, LinkScanner tells you whether those places are safe for you to provide your personal or private information to them. You get real-time check and the protection is automatically activated for your safety.
It is available for PC and Mac.