How else would you know, when avast didn't previously detect it, you would only know if it were run or downloaded or possibly if you ran a scan. Avast doesn't check retrospectively, it doesn't even know you have it until you run it.
See attached screenshot small section of freetube.