Findings suggest that patients with viral hepatitis positivity (especially hepatitis B virus) and macrovascular invasion and/or extrahepatic spread may benefit more in OS when treated with PD-1/PD-L1 immune checkpoint inhibitors. This evidence concerns the gene CD274 and viral hepatitis.