Human epidermal growth factor receptor 2 (HER2)-positive breast cancer (BC) is characterized by high invasiveness. Trastuzumab considerably improves the prognoses of HER2-positive BC, but some patients exhibit drug resistance. In this study, the effects of XLLXF combined with trastuzumab on the proliferation, apoptosis, invasion, and migration of HER2-positive BC cells are evaluated, and network pharmacology is performed. Then, we conduct an in vivo study using a xenograft mouse model of HER2-positive BC, and tumor growth is monitored. The expression levels of cytokines are measured by ELISA. Molecular docking is performed to observe the binding stability of IL2, JAK, STAT, and TNF with curcumenol, icariside-II, lobetyolin, and scutellarein. Finally, we observe changes in JAK1 and TNF-α in tumor tissues by immunohistochemistry. The results show that XLLXF enhances the inhibitory effects of trastuzumab on the proliferation, colony formation ability, migration, and invasion of HER2-positive BC cells and promotes apoptosis. Network pharmacology reveals that XLLXF may exert its effects on HER2-positive BC by modulating pathways such as the ErbB, JAK-STAT, and NF-κB pathways. Potential targets include cytokines closely related to immune function. In the in vivo study, XLLXF synergistically enhances the inhibitory effects of trastuzumab on tumor growth. ELISA reveals that XLLXF combined with trastuzumab increases the levels of IL-15, IL-2, TNF-α, and IFN-γ in tumor-bearing mice. Immunohistochemistry confirms that XLLXF can regulate the expressions of JAK1 and TNF-α. This study demonstrates that XLLXF can synergistically enhance the efficacy of trastuzumab in targeting HER2-positive BC. The mechanism may involve the modulation of inflammatory factors.