Wolfberry prevented liver damage caused by anti-tuberculosis drugs associated with the YAP1/FXR pathway through gut microbiota. Here, YAP1 is linked to tuberculosis.