Therapeutic potential of Echinocactus grusonii and its associated endophytic fungus Aspergillus oryzae in neuroprotection: in vitro and in silico investigations Authors: Ahmed A Heraiz, Ahmed Othman, Amr Farouk, Mostafa M Hegazy, Abd El-Salam I Mohammed, Atef A El-Hela Published: 2026 ABSTRACT AbstractThe Golden Barrel Cactus (Echinocactus grusonii, syn. Kroenleinia grusonii), native to Mexico, is well known in horticulture but remains insufficiently studied with respect to its chemical composition. This study examined the chemical profile and neuroprotective potential of Echinocactus grusonii spines and its endophytic fungus, Aspergillus oryzae. The spines contained markedly higher levels of phenolics (293 mg gallic acid/g DW extract), flavonoids (132 mg quercetin/g DW extract), and alkaloids (14.5 mg atropine/g DW extract) compared to the stem. Untargeted metabolomics (UPLC-HRMS/MS) tentatively identified 27 metabolites in the spines and 14 in the fungal extract. Both extracts exhibited potent, dose-dependent inhibition of acetylcholinesterase (AChE) and β-secretase (BACE-1). The spines extract showed IC₅₀ values of 0.362 µg/mL (AChE) and 0.425 µg/mL (BACE-1), while the fungal extract was more effective against AChE (IC₅₀ = 0.255 µg/mL). In silico docking was performed for all identified compounds, and molecular dynamics simulation of the top-scoring candidates demonstrated stable interactions with the target enzymes. These findings highlight the spines of Echinocactus grusonii and their associated endophytes as promising dual-target neuroprotective sources for the management of neurodegenerative disorders.Supplementary InformationThe online version contains supplementary material available at 10.1038/s41598-026-62565-5.Keywords: Cactaceae, Kroenleinia grusonii, Neuroprotection, Computational studies, Liquid chromatography–mass spectrometry (LC–MS), Bioactive metabolitesSubject terms: Biochemistry, Biotechnology, Drug discovery, Microbiology, Plant sciences Introduction Cacti (family Cactaceae) are succulent xerophytes of considerable ecological and economic importance, particularly in the arid regions of the Americas1. To withstand extreme environmental conditions, they have evolved distinctive adaptations, including spines derived from modified leaves, Crassulacean acid metabolism (CAM), and water-storing photosynthetic stems2,3. Beyond their role in physical defence and reducing solar irradiation, spines also contribute to plant’s survival by hosting microorganisms that may facilitate microbial-mediated deterrence of herbivores4. Moreover, cacti represent a rich source of secondary metabolites—such as alkaloids, flavonoids, and terpenoids—which exhibit neuroactive, anti-inflammatory, and antioxidant properties2. Echinocactus grusonii Hildm. (Kroenleinia grusonii), commonly known as the Golden Barrel Cactus, is a member of the Cactaceae family native to Mexico. Previous investigations of its stems have led to the isolation of compounds exhibiting notable neuroprotective activity1,5. In parallel, endophytic fungi inhabiting desert cacti play critical ecological roles, enhancing host tolerance to heat and drought stress through improved water and nutrient transport, as well as regulation of stomatal activity6. These symbiotic associations represent an underexplored reservoir of bioactive metabolites, with Aspergillus oryzae serving as a prominent example. Alzheimer’s disease (AD) is a progressive neurodegenerative disorder characterized by cognitive decline and driven by multifactorial pathologies, including acetylcholine depletion, extracellular β-amyloid (Aβ) plaque accumulation, and tau protein aggregation7. Two key enzymes are crucial to AD pathogenesis: acetylcholinesterase (AChE), which hydrolyses acetylcholine, and β-secretase (BACE-1), which catalyses the rate-limiting step in Aβ production8. Accordingly, inhibition of AChE and BACE-1 remains a cornerstone of current AD management and is also relevant to other therapeutic areas, including glaucoma, myasthenia gravis, and nerve injury9,10. Building upon the reported neuroprotective potential of E. grusonii1, the present work extends current knowledge through a comparative investigation of the chemical composition and neuroenzyme inhibition activities of E. grusonii spines and its associated endophytic fungus, Aspergillus oryzae. This integrated approach provides additional insights into the potential contribution of both plant and fungal metabolites to the observed biological activities. In the present study, all extracts were evaluated for their in vitro inhibitory activity against AChE and BACE-1, with total phenolic, flavonoid, and alkaloid contents quantified. The spines extractwas subjected to GC-MS analysis, while both the spines and A. oryzae extracts were profiled using UPLC-MS to identify key bioactive constituents. To elucidate potential mechanisms of action, molecular docking studies were performed to predict binding interactions with the active sites of AChE and BACE‑1. These predictions were subsequently validated through molecular dynamics (MD) simulation. A schematic workflow of the study is presented in Fig. 1. Schematic workflow of the current study. Materials and methods Plant material Samples of Echinocactus grusonii Hildm. were collected in July 2023 from Helal cactus farm (30° 06’ 29.0” N, 31° 06’ 19.5” E). The species was authenticated by Prof. Abdo Marei Hamed, Professor of Plant Ecology in the Department of Botany and Microbiology, Faculty of Science, Al-Azhar University, Cairo, Egypt. Following collection, the spines were manually separated from the stems, air-dried, finely powdered, and then extracted separately using 80% methanol. The resulting crude extracts were concentrated under reduced pressure, yielding approximately 3 g of each sample. Isolation and purification of fungal material The plant stems were washed with sterilized distilled water, treated with ethanol (70%) for 1–2 min, and ultimately air-dried under a laminar flow hood, the inner stem tissues were carefully dissected under sterile conditions and placed onto Sabouraud Dextrose Agar (SDA) plates containing antibiotics. After 3 days of incubation at room temperature, the hyphal tips of the fungi were removed and transferred to a fresh SDA medium. A pure strain was isolated by repeated inoculation. The isolated pure fungal strain was identified as Aspergillus oryzae by Dr. Amal A. E. Mekawy, Regional Center for Mycology and Biotechnology (RCMB), Al-Azhar University. Extraction and fractionation of fungal metabolites Aspergillus oryzae fungus mass growth was performed on a solid culture medium containing 100 g basmati rice. The cultures were then incubated at room temperature without shaking for 21 days. For extraction of fungal metabolites, the ethyl acetate (EtOAc, 250 mL x3) was added to the fungal culture and left for 48 h to ensure complete extraction. The remaining culture media was extracted with 100% methanol (MeOH). Following concentration under reduced pressure, the obtained extracts were Aspergillus oryzae EtOAc (Ao-E, 5.8 g), Aspergillus oryzae MeOH (Ao-M, 3.0 g). Chemicals and reagents All chemicals and reagents used in this study were of analytical or reagent grade. Solvents, including MeOH and EtOAc, were used for the extraction of plant and fungal materials. Reference standards were purchased from Sigma-Aldrich (St. Louis, MO, USA). In vitro acetyl cholinesterase (AChE) and β-secretase (BACE-1) inhibition assays The AChE and BACE-1 inhibitory assays were performed using AChE inhibitor screening assay kit USA (K197-100) and BACE-1 inhibitor screening assay kit, Bio Vision, USA (K720-100), following the method previously mentioned in literature1. Analysis of total phenolic content Total phenolic content was determined as stated in Folin–Ciocalteau method with some modifications11. Three independent samples of each extract (500 and 1000 µg/mL) were used. Gallic acid calibration solutions of 15.71–300 µg/mL concentrations were prepared in duplicates. Then, 1 mL of each extract was dissolved in 2 ml of MeOH, 500 µL of each extract was mixed with 2.5 mL Folin–Ciocalteau reagent (Merck, Darmstadt, Germany), diluted ten-fold, and 2.5 mL (75 g/L) Na2CO3. After incubation at 25 °C for 2 h, the absorbance was measured at 765 nm using a BioTek Synergy HTX Multi-Mode Reader. Total phenolic content was expressed as milligrams of gallic acid equivalent (GAE) per gm of dry extract11. Analysis of total flavonoid content Total flavonoids were determined by a modified AlCl3 colorimetric method. 1 mL of each extract was dissolved in 2 mL of MeOH in a 10 mL volumetric flask. Then, 5% NaNO3, 5% NaOH, and 7% AlCl3 solutions were prepared in a 25 ml of volumetric flask. Following that, 200 µL of each extract was mixed with 75 µL of 5% NaNO3 in a sealed glass vial and left for 5 min at room temperature. Moreover, 1.25 mL of AlCl3 and 0.5 mL NaOH were added to each vial, and the mixture was sonicated and incubated for 5 min at room temperature. After incubation, the absorbance was measured at 510 nm. The flavonoids content of the extracts were estimated by using quercetin standard calibration curve and the obtained results were expressed as microgram of quercetin equivalent (QE) per 1 g of dry extract11,12. Analysis of total alkaloid content In this study, total alkaloids were estimated as previously described in the literature13. Briefly, bromocresol green (BCG) solution was prepared by heating 69.8 mg bromocresol green, 3 mL 2 N NaOH, and 5 mL distilled water till completely dissolved. The solution was then diluted to 1000 mL with distilled water. Phosphate buffer solution (PH 4.7) was prepared by adjusting PH of sodium phosphate 2 M (71.6 g Na2HPO4 in 1000 mL distilled water) to 4.7 with citric acid (42.02 g citric acid in 1000 mL). The residue of each extract was dissolved in 2 N HCl and filtered. in a separating funnel, 1 mL of solution was washed with 10 mL chloroform (3 times). Then, the pH of the solution was rendered neutral with 0.1 N NaOH. Following that, 5 mL of BCG solution and 5 mL Phosphate buffer were added to the solution and the mixture extracted with 5 mL chloroform by vigorous shaking. The collected extracts were diluted with chloroform, and the absorbance was measured at 470 nm. Additionally, the standard solution of atropine was made by dissolving 10 mg of a pure atropine (Sigma Chemical, USA) in 10 mL distilled water and aliquots of 5, 10, 20, 40 and 60 ug/mL transferred to different separating funnels. Then, 5 mL of BCG solution and 5 mL Phosphate buffer were added, followed by extraction with chloroform and measure the absorbance at 470 nm. UPLC-ESI-MS/MS analysis Chemical profiling of Echinocactus grusonii spines extract, in addition to the EtOAc extract of the isolated endophytic fungus Aspergillus oryzae was done utilizing ESI- MS/MS coupled to UPLC as previously reported by Talaat et al.14. Molecular docking and molecular dynamics simulations (MD) See supplementary information. Statistical analysis Statistical analysis was carried out using Graph Pad Prism version 8.0.2. ANOVA with Tukey’s multiple comparison test, with the level of significance p < 0.05, was conducted to compare the mean values of the results. All experiments were performed using three independent biological replicates (n = 3), and the results obtained were expressed as mean ± SD. Results and discussion Total phenolics, flavonoids, and alkaloids in E. grusonii Plants produce phenolic compounds (polyphenols) and flavonoids as key adaptive strategy to combat oxidative damage caused by abiotic stresses such as drought, UV radiation, and salinity, as well as biotic threats including herbivores and pathogens. Additionally, alkaloids, another class of nitrogenous secondary metabolites, also play a vital role in plant defence against environmental stressors15,16. The total phenolic content (TPC) of extracts from E. grusonii (stems and spines) and its endophytic fungus Aspergillus oryzae was determined using the Folin–Ciocalteau assay. This method relies on an electron transfer from phenolic compounds to a phosphomolybdic/phosphotungstic acid complex, producing a blue color detectable at 760 nm. The intensity correlates with reducing power and is measured as gallic acid equivalents (GAE). Using a gallic acid calibration curve (, ), the spines extract showed the highest TPC (293.0 ± 3.2 mg GAE/g), followed by the stems (145.9 ± 2.1 mg GAE/g), as seen in Table 1. The study also quantified total flavonoid content (TFC) and alkaloid content. The spines extract again exhibited the highest levels for both, with a TFC of 132.1 ± 1.3 mg QE/g and an alkaloid content of 14.46 ± 0.39 mg atropine equivalents/g, as detailed in Table 1. Table 1Total phenolic content (TPC) [mg GA g− 1], total flavonoid content (TFC) [mg QE g− 1] and alkaloid content [mg Atropine g− 1] in different extracts of EG. The results are expressed as mean ± SD (n = 3).SampleTotal Phenolic Content [mg GA g− 1]Total Flavonoid Content [mg QE g− 1]Total Alkaloid content [mg Atropine equivalent g− 1]E. grusonii spines293.0 ± 3.2132.1 ± 1.314.46 ± 0.39E. grusonii stem145.9 ± 2.133.4 ± 0.60.94 ± 0.09Aspergillus oryzae EtOAc35.5 ± 0.810.8 ± 0.30.70 ± 0.07 Total phenolic content (TPC) [mg GA g− 1], total flavonoid content (TFC) [mg QE g− 1] and alkaloid content [mg Atropine g− 1] in different extracts of EG. The results are expressed as mean ± SD (n = 3). Determination of individual compounds by gas chromatography-mass spectrometry (GC-MS) analysis Gas chromatography–mass spectrometry (GC-MS) analysis of the E. grusonii spines extract revealed 11 compounds, as detailed in Table S1. The main compounds detected were glycerol 1-palmitate (19.96%), and 2,3-dihydroxypropyl stearate (15.33%). Additionally, three alkaloids were detected in the extract named, 3-oxo-20-methy l-11-α-hydroxy conanine-1,4-diene, 3α-hydroxy-6-benzyl-6-azacholest-4-en-7-one, and 2-acetyl-3-(2-cinnamido) ethyl-7-methoxyindole. The identification was made using the mass spectral data as well as the published data and NIST Mass Spectral Library (December 2005). Profiling of Echinocactus grusonii metabolites by UPLC- ESI- MS/MS analysis Annotation of metabolites in Echinocactus grusonii spines extract The methanolic extract of Echinocactus grusonii spines was analysed by ultra-high-performance liquid chromatography-tandem mass spectrometry (UPLC-MS/MS) to characterize its principal bioactive constituents. The resulting base peak ion (BPI) chromatograms in both positive and negative electrospray ionization modes are presented in Fig. 2. UPLC-MS/MS analysis of the spines extract in both positive and negative ESI modes enabled the tentative identification of 27 metabolites. These compounds, which include alkaloids, phenolic acids, and flavonoids, were annotated based on their retention times, observed MS/MS fragment ions, and fragmentation patterns by comparison with literature data (Table S2). Representative compounds identified are illustrated in Fig. 3. Base peak ion (BPI) chromatograms of Echinocactus grusonii spines extract in positive and negative ionization modes. Representative compounds identified in Echinocactus grusonii spines extract. Alkaloids The presence of alkaloids is a distinctive chemotaxonomic characteristic of cacti species17, with phenylethylamines and tetrahydroisoquinolines representing two major classes18. These alkaloids are particularly prevalent in the Cactoideae subfamily, revealing their role as chemotaxonomic markers. Supporting this, our previous study on Echinocactus grusonii stems extract led to the isolation of two rare chlorinated phenylethylamine alkaloids1, further confirming the presence of this alkaloid class within the species. To investigate the alkaloid constituents of Echinocactus grusonii spines extract, UPLC-MS/MS analysis was performed. This led to the tentative identification of five alkaloids. Compounds 1–5 were characterized as phenethylamine derivatives. Compound 1 was tentatively identified as hordenine. It displayed a precursor ion at m/z 166.1233, with characteristic fragment ions at m/z 121 and 10319. Similarly, compound 2 was identified as candicine, a quaternary ammonium alkaloid, characterized by a parent ion at m/z 180.1383 [M + H]+ and a daughter ion at m/z 121 resulting from from the loss of a trimethylamine moiety N(CH3)320. Compound 3 was recognized as N-acetyl tyramine indicated by a protonated molecular ion [M + H] + at m/z 180.1026. A key fragment ion at m/z 166 corresponds to the loss of methyl group. Besides, the break of the C-N bond between N-CO-CH3 and CH2 resulted in fragment ions appeared at m/z 12121. Compound 4, N-methyl-N-(4-hydroxyphenethyl) acetamide, is N-methylated derivative of 3 identified by a precursor ion at m/z 194.1172, with characteristic fragments at m/z 180 and 165 denoted consequent demethylations of acetyl and N-CH3 groups21. Finally, 5 was characterized as N-trans feruloyl tyramine, as it exhibited a protonated base peak at m/z 314.1371. Characteristic fragments were observed at m/z 177 and 121, corresponding to the cleavage of the feruloyl amide and subsequent feruloyl moiety, respectively22. Flavonoids Flavonoids, present as both aglycones and glycosides, are widely distributed secondary metabolites in Cactaceae species2. In xerophytic plants such as Echinocactus grusonii, flavonoids play essential roles in adaptation to harsh environments by regulating cell differentiation and growth, and by providing protection against biotic and abiotic stresses23. In the current study, UPLC-MS/MS analysis enabled the tentative identification of several flavonoids (6–21) within the E. grusonii spines extract as seen Table S2. Compound 6 (m/z 271.0600 [M + H]⁺) was characterized as apigenin, showing a fragment at m/z 153 ([¹,³A]⁻, RDA cleavage)24. Compounds 7 and 20 corresponded to naringenin (m/z 273.0758 [M + H]⁺) and naringenin-7-O-glucoside (m/z 433.1150 [M–H]⁻)25–28. Compounds 8, 10, 13, and 14 were identified kaempferol (m/z 287.0551 [M + H]⁺), isokaempferide (m/z 301.0711 [M + H]⁺), kaempferol-3-gentiobioside (m/z 609.1467 [M–H]⁻), and kaempferol-3-O-rutinoside (m/z 595.1663 [M + H]⁺and m/z 617.1485 [M + Na]+), respectively29–31. Moreover, compounds 9, 11, 12, and 15 were annotated quercetin (m/z 303 [M + H]⁺), quercetin dimethyl ether (m/z 331.0816 [M + H]⁺), isorhamnetin (m/z 317.0658 [M + H]⁺), and quercetin-3-gentiobioside (m/z 625.1418 [M–H]⁻), respectively31–36. Compounds 16–19 were determined as isorhamnetin-3-rhamnoside, isorhamnetin-3-galactoside, isorhamnetin 3-O-rhamnoside, and isorhamnetin-3-O-(2-hexosyl) hexoside, respectively. Finally, compound 21 was suggested as luteolin-7-O-gentiobioside (m/z 611.1613 [M + H]⁺)37–40. Phenolic acids Three phenolic acids were tentatively identified from the methanolic extract of E. grusonii spines, including chlorogenic acid (22) (m/z 353.0888 [M–H]⁻), ferulic acid β-glucoside (23) (m/z 355.1045 [M–H]⁻), and protocatechuic acid (24) (m/z 153.0195 [M–H]⁻)41,42. Other miscellaneous compounds Compound 25 was identified as sucrose with m/z 365.1058 [M + Na] ⁺. Compound 26 was determined to be ferulaldehyde (C₁₀H₁₀O₃) at m/z 179 [M + H] ⁺. Finally, stigmasterol (27) was annotated from a pseudo-molecular ion peak at m/z 413.2653 [M + H]⁺43–46. Annotation of metabolites in Aspergillus oryza isolated from Echinocactus grusonii The ethyl acetate (EtOAc) extract derived from Aspergillus oryzae isolated from E. grusonii stems was analysed by UPLC-MS/MS to identify its major active constituents. Base peak ion (BPI) chromatograms were acquired in both positive and negative ionization modes (Fig. 4). By comparing the obtained LC-MS data with previously reported metabolites from Aspergillus species, 14 compounds were tentatively identified. These included polyketides, alkaloids, terpenoids, pyrones, phenolics, and other classes of secondary metabolites (Table S3, Fig. 5). Base peak ion (BPI) chromatograms of Aspergillus oryza EtOAc extract in positive and negative ionization modes. Identified compounds from Aspergillus oryzae EtOAc extract. Aspergilsmin C (1) is a polyketide previously isolated from A. giganteus and reported to exhibit anticancer activity, including significant anti-angiogenic functions47. Aspergillusol B (2) is a cyclic carbonate reported from the soil fungus Aspergillus sp. PSU-RSPG18548. Viridicatin (3), featuring a 2-quinolone/quinazoline core, is a phenyl quinolone previously reported from A. carneus49. Fumisoquin C (7) is an isoquinoline alkaloid reported from A. fumigatus50, while versiquinazoline F (14) is a fumiquinazoline alkaloid previously reported from Aspergillus versicolor. Although the anti-Alzheimer potential of these alkaloids has not been examined, prior studies on structurally related isoquinolines have demonstrated AChE inhibitory activity and neuroprotective effects51. Campyrone C (4) is an α-pyrone derivative isolated from A. niger52, while aspersclerotiorone A (5) is a γ-butenolide-furanone dimer reported from A. sclerotiorum53. Pyranterrone A (6), an isoindole, was isolated from A. terreus54. Aspergilol F (8) is an antioxidant phenolic compound reported from A. versicolor55. Terrusnolide A (9) is an anti-inflammatory butenolide obtained from an endophytic Aspergillus sp. isolated from Tripterygium wilfordii56. Dikojiacid A (10) is kojic acid derivative from A. flavus GZWMJZ-28857. Versicolactone B (11) is a butyrolactone isolated from A. versicolor with reported antiviral activity58. Prenylterphenyllin F (12) is a prenylated p-terphenyl from A.candidus LDJ-5; this class of compounds has demonstrated α-glucosidase inhibitory, cytotoxic, and antibacterial activities59. In vitro acetylcholinesterase (AChE) and β-secretase (BACE-1) inhibition activity AChE and BACE-1 are recognized therapeutic targets in neurodegenerative disease research, and their inhibition represents a promising strategy not only for the management of Alzheimer’s disease but also for other neurological and cognitive disorders1,9,10 Accordingly, four extracts including Aspergillus oryzae EtOAc (Ao-E), Aspergillus oryzae MeOH (Ao-M), E. grusonii stems, and E. grusonii spines, were evaluated for their in vitro inhibition of AChE and BACE-1. As summarized in Table 2, all extracts exhibited dose-dependent inhibition of both enzymes, with the spines and Ao-E extracts demonstrating the most potent activity. The spines extract recorded IC₅₀ values of 0.362 ± 0.012 µg/mL against AChE and 0.425 ± 0.014 µg/mL against BACE-1. Similarly, the Ao-E extract showed IC₅₀ values of 0.255 ± 0.008 µg/mL against AChE and 0.550 ± 0.018 µg/mL against BACE-1. The pronounced bioactivity observed is most likely attributed to the enriched content of secondary metabolites within these crude extracts. Table 2Acetylcholinesterase (AChE) and β-secretase (BACE-1) inhibitory activity of E. grusonii and Aspergillus oryzae extracts. All determinations were carried out using three independent biological replicates (n = 3), and values are expressed in µg/mL concentration ± SD.CompoundAChE inhibition (IC₅₀, µg/mL)BACE-1 inhibition (IC₅₀, µg/mL)Aspergillus oryzae EtOAc0.255 ± 0.0080.55 ± 0.018Aspergillus oryzae MeOH3.18 ± 0.1041.882 ± 0.062Spines extract0.362 ± 0.0120.425 ± 0.014Stem extract0.603 ± 0.0190.939 ± 0.031Donepezil0.167 ± 0.006–Curcumin–0.35 ± 0.012 Acetylcholinesterase (AChE) and β-secretase (BACE-1) inhibitory activity of E. grusonii and Aspergillus oryzae extracts. All determinations were carried out using three independent biological replicates (n = 3), and values are expressed in µg/mL concentration ± SD. It is important to compare the neuroprotective activity observed in our study with previously reported natural inhibitors from related cactus species. Literature survey indicated that extracts of Opuntia microdasys var. rufida have demonstrated potent butyrylcholinesterase inhibition, with IC₅₀ values as low as 0.04 mg/mL for the ethyl acetate flower extract and 0.08 mg/mL for the methanolic fruit extract of O. leptocaulis. Furthermore, flavonol glycosides isolated from O. microdasys (e.g., isorhamnetin and quercetin derivatives) were shown through docking studies to interact favorably with cholinesterase active sites, supporting their role as specific inhibitors60. In addition, previous studies reported that hordenine possesses neuroprotective properties against AlCl₃-induced Alzheimer’s disease61, while chlorinated derivatives of hordenine exhibited strong inhibitory activity against both AChE and BACE-11. Moreover, apigenin has been shown to enhance cholinergic function through multiple mechanisms, including elevating acetylcholine levels in the brain, improving cholinergic transmission, and protecting the structural integrity of the blood–brain barrier. It also counteracts amyloid-β effects by restoring acetylcholine secretion and promoting hippocampal choline uptake. In animal models, apigenin alleviates memory impairment through acetylcholinesterase inhibition and increased cortical acetylcholine, thereby improving learning and memory performance62–64. Additionally, quercetin demonstrated neuroprotective effects in an AlCl₃-induced Alzheimer’s rat model by improving memory deficits and modulating key AD-related genes, including reductions in APP, BACE-1, and presenilin-1 (PSEN1)65. In addition to these effects, the AChE inhibitory activity of quercetin and its glycosides has been extensively reported66. Naringenin, kaempferol, and isokaempferide displayed both in vitro and in silico inhibitory activity against AChE and BACE-11. The neuroprotective properties of naringenin have been attributed to multiple mechanisms, including the reduction of neurotoxicity, oxidative stress, and neuroinflammation, as well as its anti-amyloidogenic potential67. Similarly, kaempferol and its derivatives exert neuroprotective effects by targeting key pathological pathways, such as inhibiting protein aggregation, reducing inflammation, and mitigating oxidative stress68. Furthermore, isorhamnetin demonstrated significant neuroprotective effects in STZ-induced diabetic rats69. Previous studies have demonstrated the ability of chlorogenic acid to inhibit acetylcholinesterase ex vivo in the hippocampus and frontal cortex of mice, as well as in in vitro assays. Molecular docking simulations further suggested a potential binding interaction of chlorogenic acid with the AChE enzyme, reinforcing its role as a promising natural inhibitor70,71. Molecular docking study Molecular docking was employed to investigate the binding interactions between compounds identified in A. oryzae and E. grusonii spines extracts with AChE (PDB: 4M0E) and BACE-1 (PDB: 4LXM). In agreement with the in vitro results, the highest docking score against 4M0E was identified among the constituents of A. oryzae EtOAc extract for compound 9 (terrusnolide A), −10.9 kcal/mol), as shown in Fig. 6. Other compounds in both extracts may be considered potent, with higher scores, such as aspergilline C (13) in the EtOAc A. oryzae extract (−10.3 kcal/mol) and isorhamnetin-3-O-glucoside (16), isorhamnetin-3-galactoside (17) and isorhamnetin 3-O-rhamnoside (18) in the MeOH E. grusonii spines extract (−10.3 to −10.8 kcal/mol). On the other hand, compounds 11 (versicolactone B) in EtOAc A. oryzae and 15(quercetin-3-gentiobioside) in MeOH E. grusonii spines extracts showed close binding affinities toward 4LXM (−9.9 and − 9.6 kcal/mol). Again, aspergilline C (13) from EtOAc A. oryzae extract, in addition to isorhamnetin-3-O-glucoside (14), isorhamnetin 3-O-rhamnoside (16), and luteolin-7-O-gentiobioside (21) of MeOH E. grusonii spines extract, recorded higher binding free energies to 4LXM, ranging from − 9 to −9.5 kcal/mol. Interestingly, the above constituents showed higher scores than positive standards used, such as donepezil (−9.5 kcal/mol) for AChE and curcumin (−7.9 kcal/mol) for BACE-1. The most potent constituents in EtOAc A. oryzae extract (9, 11, and 13) were members of butenolide, butyrolactone, and alkaloid classes. These computational findings are consistent with the observed in vitro enzyme inhibition. Binding free energies of EtOAc Aspergillus oryzae and MeOH Echinocactus grusonii spines constituents toward AChE (PDB: 4M0E) and BACE-1 (PDB: 4LXM). Based on these findings, it was necessary to characterize the types of interactions formed by the potent constituents—EtOAc A. oryzae terrusnolide A (9) and versicolactone B (11), as well as MeOH E. grusonii spines isorhamnetin-3-O-rhamnoside (18) and quercetin-3-gentiobioside (15)—against AChE (PDB: 4M0E) and BACE-1 (PDB: 4LXM), as shown in Fig. 7A–D. In agreement with Ferreira De Freitas and Schapira (2017)72, hydrogen bonds, hydrophobic contacts, and π-stacking were the dominant, followed by weak hydrogen bonds and cation–π interactions. Conventional hydrogen bonds are mainly responsible for the higher docking scores in the investigated complexes. O–H⋯O interactions were observed in 4M0E-9 and 18 of EtOAc A. oryzae and MeOH E. grusonii spines between the hydroxyl group of TYR A:124, TYR A:337, TYR A:72, THR 75, 9, and 18, the carbonyl, hydroxyl, and carboxylate groups of the ligands, SER A:293, and ASP A:74 (Fig. 7A and B). The same type of bond shown between THR A:231, THR A:232, TYR A:198, and THR A:231 hydroxyl groups of 4LXM and the carbonyl as well as the hydroxy groups of compounds 11 and 15 of EtOAc A. oryzae and MeOH E. grusonii spines. Interestingly, the hydroxyl groups of 15 made 5 bonds with the carbonyl of GLN A:73, PHE A:108, ILE A:126, ASP A:228, and the ligand itself. On the other hand, N–H⋯O interactions were detected between GLY A:13 and THR A:72 of 4LXM and the carbonyl and O-pyran of the constituents 11 and 15 in EtOAc A. oryzae and MeOH E. grusonii spines (Fig. 7C and D). According to Chen and Kurgan (2009)73, who investigated hydrogen bonds between amino acids in proteins and small ligands, hydrophilic residues such as TYR, THR, and GLY were more involved in this type of bonding, acting as donors more than acceptors, which is consistent with our findings. Docking interactions of potent constituents in EtOAc A. oryzae compounds 9 (A) and 11 (C) and MeOH E. grusonii spines compounds 18 (B) and 15 (D) against AChE (PDB: 4M0E) and BACE-1 (PDB: 4LXM). The cation–π interaction observed between the positive pyran ring of 18 and the π-orbitals of TRP A:286 (Fig. 7B) is a potent, general non-covalent binding force observed across a wide range of biological contexts, including interactions between TRP residues and ACh74. π-π stacked and T-shaped interactions are two common, non-covalent aromatic-aromatic orientations, with stacked featuring parallel ring faces, while T-shaped involves the edge of one ring facing the centre of another. According to Wilson and colleagues75, and in agreement with our findings, stacked interactions are more abundant, while T-shaped interactions are often driven by electrostatic attraction between edge hydrogens and the ring centre. As shown in Fig. 7A and B, π-π stacked bonds between TRP A:286 and TYR A:341 residues of 4M0E and the compounds 9 and 18 of EtOAc A. oryzae and MeOH E. grusonii spines, while π-πT-shaped bonds were observed between PHE A:338 of 4M0E and TRP A:115 of 4LXM and 9 and 11 of EtOAc A. oryzae. Almost 50% of all π-stacking interactions are observed between the aromatic ring of phenylalanine, tyrosine (36.8%), tryptophan (8.7%), and histidine (5.1%) with that of the ligand72. Hydrophobic pi-alkyl bonding was found only in 9 and 11 of EtOAc A. oryzae with the pi-orbitals of TRP A:86 and TYR A:71 of 4M0E and 4LXM. Finally, carbon as a proton donor in GLN A:12 and THR A:232 of 4LXM was bonded to 11 and 15 of the EtOAc A. oryzae and MeOH E. grusonii spines, respectively, as proton acceptors. Molecular dynamics (MD) simulation It was necessary to study the MD simulation interactions of the potent metabolites with AChE and BACE-1 targets, in line with the study’s aim. Figure 8 illustrates and compares the MD simulations of the potent components terrusnolide A (9) of EtOAc A. oryzae and Isorhamnetin 3-O-rhamnoside (18) of MeOH E. grusonii spines, against AChE (PDB: 4M0E). The Root Mean Square Deviation (RMSD) of the enzyme (Cα) indicates a stable protein backbone with values around 1.5–2.0 Å. AChE does not undergo major conformational changes in either complex (Fig. 8A and B). On the other hand, ligand RMSD (Lig fit Prot) remains consistently below ~ 2.0 Å with minimal fluctuation for 9 and ~ 2.4 Å for 18. Neither ligand diffuses from the binding site, where 9 appears slightly more rigid, while 18 has a bit more breathing room, but remains fully bound. The Root Mean Square Fluctuation (RMSF) plot shows peaks indicating the enzyme’s most flexible regions (Fig. 8C and D). MD simulations for the interactions of EtOAc A. oryzae compound (9) (A, C, E, and G) and MeOH E. grusonii spines compound (18) (B, D, F, and H) against AChE (PDB: 4M0E). α‑Helices (red backgrounds) and β‑strands (blue backgrounds) generally correspond to regions with low RMSF values, indicating structural rigidity. Peaks of high fluctuation are typically associated with loop regions, most prominently at the N‑ and C‑termini. Residues interacting with the ligand are marked with green bars; these residues generally exhibit reduced fluctuations, reflecting stabilization by the ligand and confirming the presence of a stable binding pocket. In line with the docking analysis, the enzyme-ligand 9 interaction likely shows a high prevalence of hydrogen bonds and strong hydrophobic contacts, especially with TRP (Fig. 8E). While the ligand 18 relies heavily on hydrophobic packing within AChE and on water bridges, suggesting that the fit is not perfectly complementary and that water molecules act as “adapters” to facilitate the interactions (Fig. 8F). As shown in Fig. 8G and H, both ligands appear to maintain a stable radius of gyration (rGyr), indicating that they do not undergo folding or unfolding during the simulation. Compound 18 shows a slightly higher rGyr, suggesting a more extended conformation. A stable solvent-accessible surface area (SASA) indicates that both ligands remain consistently buried within the pocket. Monitoring of the polar surface area (PSA) further confirms that the polar groups of the ligands remain engaged in hydrogen‑bond interactions rather than flipping into the solvent, as observed for compound 9. In contrast, the reliance of compound 18 on water bridges suggests that part of its polar surface area is satisfied by water molecules rather than direct protein contacts (Fig. 8G and H). Notably, AChE inhibitors such as donepezil and galantamine use hydrogen bonds with aromatic residues in the active site while also relying on hydrophobic interactions for their effectiveness. In MD simulations, hydrophobic ligands often bind more stably, although they may not exhibit as strong an affinity as polar ligands76. Similarly, MD simulations of versicolactone B (11) and quercetin‑3‑gentiobioside (15), selected based on their higher docking scores against BACE‑1 (PDB: 4LXM), revealed stable enzyme–ligand interactions. The RMSD of the enzyme fluctuated by ~ 2–3 Å and stabilized after ~ 100 ns in the presence of ligand 11, whereas in the presence of ligand 15, the RMSD remained stable with fluctuations of ~ 2–2.5 Å. Both simulations reached equilibrium, and the protein remained structurally stable (Fig. 9A and B). Higher fluctuations (~ 4–6 Å), suggesting partial mobility, were observed for ligand 11, whereas ligand 15 exhibited lower fluctuations (~ 2–3 Å), indicating tighter binding. Peaks corresponding to flexible loops and termini were evident in the enzyme RMSF, with ligand 11 forming contacts across residues such as LYS9, TYR14, GLN25, HIS49, and TRP115. In contrast, ligand 15 showed stronger contacts within similar flexible regions, particularly with residues including GLY11, TYR71, ASP106, and ARG128 (Fig. 9C and D). MD simulations for the interactions of EtOAc A. oryzae compound (11) (A, C, E, and G) and MeOH E. grusonii spines compound (15) (B, D, F, and H) against BACE-1 (PDB: 4LXM). The protein–ligand contact analysis revealed approximately eight total contacts for ligand 11, dominated by hydrophobic interactions with occasional hydrogen bonds. In contrast, ligand 15 formed around twenty total contacts, characterized by strong hydrogen bonding and water bridges (Fig. 9E and F). Both ligands maintained a consistent rGyr and stable burial within the binding pocket. The stable PSA further suggests that the polar groups of the ligands are engaged in hydrogen bonding with the protein and do not flip into the solvent. Conclusion This study explored the neuroprotective potential of Echinocactus grusonii (spines and stems) and its associated endophytic fungus Aspergillus oryzae. Extracts from both sources exhibited strong inhibitory activity against AChE and BACE‑1, two key enzymes implicated in Alzheimer’s disease. Chemical analysis revealed that these extracts are rich in phenolics, flavonoids, and alkaloids. Detailed profiling using GC and UPLC–MS/MS identified multiple bioactive metabolites, several of which demonstrated strong binding affinities to AChE and BACE‑1 in molecular docking studies. Molecular dynamics simulations further validated the stability of these interactions. Overall, the findings suggest that E. grusonii and its endophytic fungus A. oryzae represent promising sources of multi‑target natural inhibitors for Alzheimer’s disease. The proposed dual‑target neuroprotective potential is supported by experimental enzyme inhibition assays, computational analyses, and previously reported neuroprotective activities of several identified metabolites. Nevertheless, further cellular and in vivo investigations are required to establish comprehensive biological validation and safety profiles of these bioactive compounds. Supplementary Information Below is the link to the electronic supplementary material. Supplementary Material 1