Our study provides a basis for blocking GLI1 activity in the prevention and treatment of peritoneal metastases of gastric cancer. Here, GLI1 is linked to gastric cancer.