By integrating network pharmacology with in vitro and in vivo experiments, this study demonstrated that BC inhibited the proliferation and migration of TNBC cells by inhibiting the Ras/ERK/c-Fos signaling pathway, promoting apoptosis, and causing S-phase cycle arrest. Here, FOS is linked to breast cancer.