How to find any file that is an executable or library

view story

http://serverfault.com – Let's say someone provides you with a tarball, saying it is source code and nothing else. You want to make sure that is true, and that no virus-laden executables or libraries are tucked away in a directory. How to use the find command to do this? Thanks. (HowTos)