Could I be liable for costs?

No.  Represented class members cannot be made liable for the costs of a class action.  Only the named plaintiff(s) can be liable for adverse costs orders. If the case is successful, the legal costs incurred in running the case will be recovered from the amount paid by the defendants. No member of the represented class will be asked to pay anything by way of legal costs out of their own pocket.