Compared with placebo or chemotherapy, single-agent PD-1/PD-L1 inhibitors did not increase the risk of all-grade of myocarditis, arrhythmia and hypertension. Here, CD274 is linked to myocarditis.