Sometimes it happens that an open source project adds files with a wrong license.
For example the C code of a game is GPL-2, but by accident a sound file from a proprietary source was copied to the repository. The repository is then forked several times and after a decade no one knows where the file came from.
This is very difficult to track later without proper tools. Once these files are located it would be trivial to substitute them with free files.
I am looking for a software with a database, where I can enter a SHA512 sum of the file and get its usage.
I have something like this in mind
$ sha512 suspiciousfile.wav DEADBEEF.. $ wget http://example.com/DEADBEEF -o - Found files with SHA512 DEADBEEF in Windows95 media/shutdown.wav