The immune microenvironment consisting of activated CD8+ and CD4+ T cells exert an anti-cancer role during tumor initiation but turn pro-tumorigenic during invasive growth. Here, CD8A is linked to cancer.