I get this all the time when SAS or some other anti-Malware program is doing a scan and Avast finds some of their virus signatures in memory.
I don’t believe that the OP stated what the bad stuff is and where Avast is locating it.