A judge has criticised the Andrews government for withholding information about the alleged transmission of COVID-19 to a security guard working in hotel quarantine in a class action claiming lapses in the program caused Victorian businesses to suffer losses.