Safari → Preferences → Extensions → select the avast plugin → Uninstall