So there is a set of whitelisted system libraries that are okay, and you want to flag the libraries that aren't okay?  I would rather hashdist reports the files installed for a particular build or set of profiles and you use other scripts to check the libraries.