SHH-induced M2 suppression and anticancer effect on NSCLC cells (A549 and HCC-366) were mediated by STAT3 inhibition. Here, STAT3 is linked to hepatocellular carcinoma.