a phase ii study of nivolumab + ipilimumab in advanced hcc patients who have progressed on first line atezolizumab + bevacizumab

Conditions: BCLC Stage B Hepatocellular Carcinoma; BCLC Stage C Hepatocellular Carcinoma; Locally Advanced Hepatocellular Carcinoma; Metastatic Hepatocellular Carcinoma; Stage III Hepatocellular Carcinoma AJCC v8; Stage IIIA Hepatocellular Carcinoma AJCC v8; Stage IIIB Hepatocellular Carcinoma AJCC v8; Stage IV Hepatocellular Carcinoma AJCC v8; Stage IVA Hepatocellular Carcinoma AJCC v8; Stage IVB Hepatocellular Carcinoma AJCC v8; Unresectable Hepatocellular Carcinoma

Summary: this phase ii trial tests whether nivolumab and ipilimumab works to shrink tumors in patients with liver cancer that has spread to nearby tissue or lymph nodes (locally advanced), has spread to other places in the body (metastatic), or cannot be removed by surgery (unresectable). immunotherapy with monoclonal antibodies, such as nivolumab and ipilimumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. nivolumab and ipilimumab may be effective in killing tumor cells in patients with liver cancer.

primary objective: i. to investigate the confirmed objective response rate (orr) of nivolumab and ipilimumab in patients with hepatocellular carcinoma (hcc) who have progressed radiographically on atezolizumab/bevacizumab that necessitates change in treatment. secondary objectives: i. to determine the overall survival (os) in hepatocellular carcinoma (hcc) patients treated with nivolumab and ipilimumab who have progressed radiographically on atezolizumab / bevacizumab that necessitates change in treatment. ii. to determine the progression free survival (pfs) in hepatocellular carcinoma (hcc) patients treated with nivolumab and ipilimumab who have progressed radiographically on atezolizumab/bevacizumab that necessitates change in treatment. iii. to determine the disease control rate in hepatocellular carcinoma (hcc) patients treated with nivolumab and ipilimumab who have progressed radiographically on atezolizumab/bevacizumab that necessitates change in treatment. iv. to assess the frequency and severity of adverse events in hepatocellular carcinoma (hcc) patients treated with nivolumab and ipilimumab who have progressed radiographically on atezolizumab/bevacizumab that necessitates change in treatment. outline: patients receive nivolumab intravenously (iv) over 30 minutes and ipilimumab iv over 90 minutes on day 1. treatment repeats every 21 days for 4 cycles in the absence of disease progression or unacceptable toxicity. patients then receive nivolumab iv over 30 minutes on day 1. treatment repeats every 28 days for up to 24 cycles in the absence of disease progression or unacceptable toxicity. after completion of study treatment, patients are followed up at 30 days and then every 3 months for up to 2 years from registration.

Eligibility criteria:
inclusion criteria: * age \>= 18 years. * hcc diagnosis confirmed by histology/cytology or clinically by american association for study of liver diseases (aasld) criteria in cirrhotic patients. * measurable disease as defined by response evaluation criteria in solid tumors (recist) version (v)1.1 * locally advanced, metastatic, or unresectable disease. * child pugh class a. * barcelona clinic liver cancer (bclc) stage b (not amenable to liver directed therapy) or stage c. * prior treatment with atezolizumab and bevacizumab combination with radiographic progression that necessitates change in treatment per treating physician. patients with rapid progression on atezolizumab and bevacizumab (defined as patients who progressed radiographically in the first restaging scan that necessitates change in treatment) are excluded. * washout period \>= 4 weeks prior to registration is required since last atezolizumab and bevacizumab dose. * eastern cooperative oncology group (ecog) performance status (ps) 0 or 1. (form is available on the academic and community cancer research united \[accru\] website). * absolute neutrophil count (anc) \>= 1000/mm \^ 3 (obtained =\< 28 days prior to registration). * platelet count \>= 60,000/mm\^3 (obtained =\< 28 days prior to registration). * hemoglobin \>= 8.5 g/dl (obtained =\< 28 days prior to registration). * total bilirubin =\< 3 x upper limit of normal (uln) (obtained =\< 28 days prior to registration). * alanine aminotransferase (alt) and aspartate transaminase (ast) =\< 5 x uln (obtained =\< 28 days prior to registration). * international normalized ratio (inr) =\< 2.3 or prothrombin time (pt) =\< 6 seconds above control or if patient is receiving anticoagulant therapy and inr is within target range of therapy creatinine =\< 1.5x uln (obtained =\< 28 days prior to registration). * negative pregnancy test done =\< 7 days prior to registration, for women of childbearing potential only. * note: if the urine test is positive or cannot be confirmed as negative, a serum pregnancy test will be required. * provide informed written consent =\< 28 days prior to registration. * willing to return to enrolling institution for follow-up (during the active monitoring phase of the study). * note: during the active monitoring phase of a study (i.e., active treatment), participants must be willing to return to the consenting institution for follow-up. * willing to provide mandatory tissue specimens and blood specimens for correlative research purposes. exclusion criteria: * any of the following because this study involves an investigational agent whose genotoxic, mutagenic and teratogenic effects on the developing fetus and newborn are unknown * pregnant persons * nursing persons * persons of childbearing potential who are unwilling to employ adequate contraception. * major surgery =\< 4 weeks prior to registration. * liver directed therapy (transarterial chemoembolization \[tace\], y-90, liver directed radiation) =\ 28 days prior to registration is allowed as long as patient has at least one measurable untreated lesion by recist v1.1. * patients with rapid progression on atezolizumab and bevacizumab (who progressed radiographically in the first restaging scan that necessitates change in treatment) are excluded. * prior treatment =\< 4 weeks prior to registration with anti-ctla-4 antibody for hcc. * comorbid systemic illnesses or other severe concurrent disease which, in the judgment of the investigator, would make the patient inappropriate for entry into this study or interfere significantly with the proper assessment of safety and toxicity of the prescribed regimens. * immunocompromised patients and patients known to be human immunodeficiency virus (hiv) positive and currently receiving antiretroviral therapy. * note: patients known to be hiv positive, but without clinical evidence of an immunocompromised state, are eligible for this trial. * uncontrolled intercurrent illness including, but not limited to: * ongoing or active infection excluding hepatitis c virus (hcv) * symptomatic congestive heart failure * unstable angina pectoris * unstable cardiac arrhythmia * psychiatric illness/social situations that would limit compliance with study requirements. * active infection including tuberculosis (clinical evaluation that includes clinical history, physical examination and radiographic findings, and tuberculosis \[tb\] testing in line with local practice), hepatitis b (known positive hepatitis b virus \[hbv\] surface antigen \[hbsag\] result). patients with a past or resolved hbv infection (defined as the presence of hepatitis b core antibody \[anti-hbc\] and absence of hbsag) are eligible. patients with chronic hbv infection as evidenced by detectable hbv surface antigen or hbv deoxyribonucleic acid (dna) are eligible if on antiviral therapy and have hbv dna \< 100 iu/ml. patients with active or resolved hepatitis c (hcv) infection as evidenced by detectable hcv ribonucleic acid (rna) or antibody are eligible. * receiving any other investigational agent which would be considered as a treatment for the primary neoplasm =\< 4 weeks prior to registration. * other active malignancy =\< 2 years prior to registration. exceptions: non-melanotic skin cancer or carcinoma-in-situ of the cervix. * history of myocardial infarction =\< 6 months, or congestive heart failure requiring use of ongoing maintenance therapy for life-threatening ventricular arrhythmias. * history of allogenic organ transplantation. * active or prior documented autoimmune or inflammatory disorders (including inflammatory bowel disease \[e.g., colitis or crohn's disease\], diverticulitis \[with the exception of diverticulosis\], systemic lupus erythematosus, sarcoidosis syndrome, or wegener syndrome \[granulomatosis with polyangiitis, graves' disease, rheumatoid arthritis, hypophysitis, uveitis, etc\]). the following are exceptions to this criterion: * patients with vitiligo or alopecia * patients with hypothyroidism (e.g., following hashimoto syndrome) stable on hormone replacement * any chronic skin condition that does not require systemic therapy * patients without active disease in the last 5 years may be included but only after consultation with the study physician * patients with celiac disease controlled by diet alone * history of leptomeningeal carcinomatosis. * known allergy or hypersensitivity to any of the study drugs or any of the study drug excipients. * current or prior use of immunosuppressive medication =\< 14 days prior to registration. the following are exceptions to this criterion: * intranasal, inhaled, topical steroids, or local steroid injections (e.g., intra articular injection) * systemic corticosteroids at physiologic doses not to exceed 10 mg/day of prednisone or its equivalent * steroids as premedication for hypersensitivity reactions (e.g., computed tomography \[ct\] scan premedication). * receipt of live attenuated vaccine =\< 30 days prior to registration; note: patients, if enrolled, should not receive live vaccine whilst on study treatment and up to 30 days after the last dose of study treatment. * any unresolved toxicity national cancer institute (nci) common terminology criteria for adverse events (ctcae) v5.0 grade \>= 2 from previous anticancer therapy with the exception of alopecia, vitiligo, and the laboratory values defined in the inclusion criteria. * history of grade 3 or 4 immunotherapy related toxicity nci ctcae v5.0 due to prior regimen attributed to atezolizumab.