I don't think I need to tell you about IE security holes... Anyways.
If IE downloaded a script on a unrespectable web page then there is about no way a "scan" would help you find the problem. That's about the same problem when you get nice links to nice sites saved everytime you boot your computer in your links folder...