HANPs enhance CD8+ T cell and macrophage-mediated tumor immunity, especially effective with higher aspect ratio nanoparticles. Here, CD8A is linked to neoplasm.