We found that ICI-related myocarditis reduced Mst1 kinase activity and activated TAZ, acting as a co-activator of RORγt to promote Th17 differentiation and inhibit Treg cell development. The gene discussed is MST1; the disease is myocarditis.