sockscleaner is a pseudoserver that scans all connections to your network for vulnerable SOCKS proxies.

Official site: http://www.csoft.bg/decho/irc/sockscleaner/

HTTP patch: http://bpm.egoist.bg/opnsrc/socks.html