These findings suggest that cGAS-STING pathway genes are potential therapeutic target and may be associated with immune infiltration in patients with GC. Here, CGAS is linked to gastric cancer.