You can loop through $script(N) and do a /filter on each file, but imho it's just a waste of time because these backdoors can take many forms which you can't detect unless you read every line of the remote. I would simply recommend downloading scripts only from trusted websites like www.mircscripts.org