ICI treatment activates autoreactive CD8+ T cells, resulting in myositis and myocarditis. Here, CD8A is linked to myocarditis.