Pests cause substantial damage to human environments; therefore, studying insecticidal mechanisms is crucial for improving pest control. However, the use of chemical pesticides can cause irreversible secondary damage. In this study, we used network pharmacology to investigate the effect of Sophora flavescens Alt., as a biological pest control agent, on glucose-6-phosphate 1-dehydrogenase, thymidylate synthase, and a translocation protein in aphids. The stability and reliability of target proteins was analyzed using molecular docking and molecular dynamic simulations. Enzyme activity assays validated the feasibility of network pharmacology to obtain actionable targets. We used interdisciplinary integration to study pest control and network pharmacology to identify how Sophora flavescens Alt. resists aphid attacks. The results show that the use of network pharmacology can increase the accuracy and specificity of our predictions for the molecules targeted by insecticides. This approach will facilitate improved, environmentally friendly pest control development in the future.