PurposeShiliao Decoction (SLD) was developed for treatment and prevention of cancer-associated malnutrition (CAM) in China. In this study, we aim to discover SLD’s active compounds and demonstrate the mechanisms of SLD that combat CAM through network pharmacology and molecular docking techniques.MethodsAll components of SLD were retrieved from the pharmacology database of Traditional Chinese Medicine Systems Pharmacology (TCMSP). The GeneCards database and the Online Mendelian Inheritance in Man database (OMIM) were used to identify gene encoding target compounds, and Cytoscape was used to construct the drug compound–target network. The network of target protein-protein interactions (PPI) was constructed using the STRING database, while gene ontology (GO) functional terms and the Kyoto Encyclopaedia of Genes and Genomes (KEGG) pathways associated with potential targets were analyzed using a program in R language (version 4.2.0). Core genes linked with survival and the tumor microenvironment were analyzed using the Kaplan–Meier plotter and TIMER 2.0 databases, respectively. Protein expression and transcriptome expression levels of core gene were viewed using the Human Protein Atlas (HPA) and the Cancer Genome Atlas (TCGA). A component-target-pathway (C-T-P) network was created using Cytoscape, and Autodock Vina software was used to verify the molecular docking of SLD components and key targets.ResultsThe assembled compound–target network primarily contained 134 compounds and 147 targets of the SLD associated with JUN, TP53, MAPK3, MAPK1, MAPK14, STAT3, AKT1, HSP90AA1, FOS, and MYC, which were identified as core targets by the PPI network. KEGG pathway analysis revealed pathways involved in lipid and atherosclerosis, the PI3K/Akt signaling pathway, and immune-related pathways among others. JUN is expressed at different levels in normal and cancerous tissues, it is closely associated with the recruitment of different immune cells and has been shown to have a significant impact on prognosis. The C-T-P network suggests that the active component of SLD is capable of regulating target genes affecting these related pathways. Finally, the reliability of the core targets was evaluated using molecular docking technology.ConclusionThis study revealed insights into SLD’s active components, potential targets, and possible molecular mechanisms, thereby demonstrating a potential method for examining the scientific basis and therapeutic mechanisms of TCM formulae.