Introduction

Antifungal resistance was underestimated for a long period of time. The most pronounced cases were seen in patients with cancer therapy, organ, or bone marrow transplantation. Currently, a huge deficiency is encountered in the market regarding the antifungal drugs effective against systemic and local infections; particularly, with the emerging multi-resistant fungal strains [1]. The WHO report in 2023 listed three fungal priority pathogens, Candida auris, Aspergillus fumigatus and Cryptococcus neoformans and urged the critical importance of developing new effective drugs against them [2].

Endophytes are the microbial community associated with plants with no significant harm, which was known to provide the plant with marked natural products diversity as well as disease, insects, nematodes defiance [3, 4]. These largely untapped and sustainable resources of natural products have revolutionized the field of drug discovery since it provided novel molecular skeletons in mass yield [5, 6]. It is estimated that endophytes repository of bioactive molecules (80%), particularly the novel ones, could exceed those reported from soil microorganisms; hence, exploring endophytes is an outstanding approach to fight antifungal resistance [6].

Despite the ubiquitousness of Aspergillus spores everywhere and the fact that most people can inhale them without hazard, those with severe respiratory infections, hospitalized or under chemotherapeutic regimens can be extremely vulnerable to them. Aspergillosis is life threatening in patients with underlying diseases or immunocompromised patients and is the most common missed diagnosis in intensive care units [7]. With the development of antifungal resistance, A. fumigatus became on the watch list in the CDC antibiotic resistant threats 2023; especially, its azole resistant strains whose infection is 33% less likely to be treated than other Aspergillus strains [8]. Azole resistance can be acquired from the environment without prior exposure to azole fungicides triazole, voriconazole and itraconazole are antifungal agents that remained in the market for a long time effective, cheap and available yet the emergence of resistance has given the problem new dimensions and demanded the discovery of potent alternatives [9].

Another fungi on the list was C. neoformans, representing an annual 1 million infections, and commenced with inhaling the fungal air-borne spores and progressed to pneumonia and even CNS meningitis, a cryptococcosis scenario that was commonly encountered in immunocompromised patients with organ transplantation, cancer or HIV [10]. With only a few limited choices of antifungal treatments like fluconazole., amphotericin B or 5-fluorocytosine whose costs, toxicity and cost deter their prescription in the first place let alone azole resistance, Cryptococcus sp. are largely left untreated with a huge health hazard [11]. C. auris emerged recently as a major infection in intensive care units (ICUs) in reports in India, Kuwait and Spain with average 25 days stay patients. Even though C. auris isolates appeared to colonize indwelling devise and catheters, they also infected skin and different body sites [12]. This review aims to cover the antifungal activity exerted by endophytic compounds and extracts against three of the WHO top priority pathogens, A. fumigatus, C. neoformans and Candida species C. auris and C. albicans. Details about the endophyte source, collection, culture, compounds chemistry and biosynthesis, SAR and antifungal properties will be discussed and analyzed. Aspergillus diseases were controlled by commonly prescribed azole antifungal agents until recently when azole resistant A. fumigatus emerged as a worldwide health threat. Previously effective medications fell short of dealing with this antifungal resistance, which necessitated antifungal drug discovery research. Natural products with MIC values < 10 μg/mL are considered potent and should be given due care to progress with their in-vivo and clinical studies. MIC values between 10 and 100 μg/mL are moderately active and may be further promoted if suitable medicinal chemistry modifications can enhance their efficacy [13].

Methodology

Papers with reported bioactivity against any of these pathogenic strains, A. fumigatus, C. neoformans, C. albicans or C. auris were included. Endophytes of either fungi, actinomycetes or bacteria were included. The literature search period started from 1980 and extended to 2024, and all types of publications, original articles, reviews or reports and commentaries were included. Negative results of antimicrobial assays against any of the strains of interest were listed here and analyzed to help direct future research to study promising compounds only. Boolean search operators like and, or, not, near, * were exploited to narrow down the search items for the best fit of our keywords. Search engines like Web of Science, Reaxys, Scopus, Google Scholar, Pubmed and Science direct were utilized. Phrase and keywords used were C. auris antifungal (1099 results), C. albicans antifungal (18,297 results), A. fumigatus antifungal endophytes (4958 results), Cryptococcus neoformans antifungal endophytes (24 results), bioactive compounds endophytes C. auris (307 results), bioactive compounds endophytes C. albicans (12,900 results), bioactive compounds endophytes A. fumigatus (8320 results), bioactive compounds endophytes Cryptococcus neoformans (2750 results). The total number of initial search results was 48,655, which was narrowed further to 110 articles. Results were refined to only the English language articles in top peer reviewed journals, and highly cited articles were prioritized. All articles filtration criteria were conducted according to the Web of Science (WOS) core collection selection.

A. Terrestrial plant-endophytes

I. Bacterial endophytes with activity against selected pathogens

The moderately active antifungal agent toxoflavin was isolated from Lycoris aurea bacterial endophyte and optimized in large scale fermentation to yield more than 1300 mg/litre; additionally, the azole resistant human pathogen A. fumigatus and C. neoformans were susceptible to toxoflavin [13]. The bacterial endophyte Bacillus velezensis LDO2 isolated from peanut was active against A. flavus mycelial growth 80.77%, and this was related to the fungicidal compounds fengycin, bacilysin, and surfactin indicated in the UPLC-MS analysis [14].

Three Bacillus strains, B. cereus (LBL6), B. thuringiensis (SBL3) and B. anthracis (SBL4) were isolated from Berberis lyceum, and their ethyl acetate extract displayed activity against A. niger and A. flavus [15]. Bacterial endophytes colonizing the same biological niche with fungi possibly produce metabolites to antagonize and hinder their growth. This was seen in many cases as in cannabis seedling endophytes, which possessed antibiotic activity against its Aspergillus pathogen as well as Alternaria, Penicillium, and Fusarium sp. Isolation of the bioactive metabolites is highly urged here to progress into discovery and optimization of potential antifungal molecules [16]. In the same vein, B. velezensis isolated from grapevine were protective against other grapevine-endophytic fungi including Aspergillus spp. Evidently, several lytic enzymes were revealed using molecular genome mining tools as proteases, cellulases and chitinases as well as functional genes encoding macrolactin, fengycin, iturins, difficidin, and mycosubtilin secondary metabolites, which were shown by PCR analysis [17].

II. Fungal endophytes with activity against selected pathogens

1. Terpenes

On the other side, monoterpenes from the endophytic Pestalotiopsis foedan were only weakly active with MIC value of 50 μg/mL [18]. Nicotiana tabacum endophytes produced several molecules, a fumagillol derivative, a 10-membered lactone, a cyclohexanones together with sesquiterpenes and cembrdiene diterpenes with promising antifungal affect against A. fumigatus and MICs ≤ 8 μg/mL [19] (Table 1). (S, Z)-phenguignardic acid methyl ester, a meroterpene of the guignardianone type was isolated from the endophyte Phyllosticta sp J13-2-12Y and manifested a potent effect against C. albicans. These meroterpenes are rare in nature and comprised of an amino acid derived benzylidene dioxolanone while the guignardone type compounds formed of a monoterpene linked to a C-7 carbon unit were devoid of considerable activity [20]. Monoterpenes of the Pestalotiopsis endophytic isolate from Dendrobium officinale of Yandang Mountain in China possessed significant antifungal effect against C. albicans, C. neoformans, T. rubrum, and A. fumigatus [21]. The triterpene glycoside enfumafungin was isolated from some type of Kabatina species inhabiting the leaves of Juniperus communis with an activity towards A. fumigatus resembling the approved fungicide caspofungin acetate and its precursor pneumocandin B0. In-vivo studies in rats challenged with C. albicans to cause candidemia recorded moderate activity with ED90 of 90 mg/Kg with morphological alternations suggesting cell wall targeting particularly glucan synthase [22] (Fig. 1). Further chemical modifications and bioavailability studies led to the development of ibrexafungerp with better pharmacokinetics than enfumafungin [23, 24]. Another member of this class of metabolite is arundifungin, which was isolated from Arthrinium arundinis and showed glucan synthase inhibitory activity comparable to echinocandin L-733560 and papulacandins, yet the activity was specific to A. fumigatus and C. albicans and not Cryptococcus. This was rationalized to be due to the presence of 1,6-glucan or other non-1, 3-β-d-glucan components in its cell wall [25].

Table 1 Endophytic antifungal natural products with their potential activity against Candida albicans, C. auris, Cryptococcus neoformans and Aspergillus fumigatus
Fig. 1
figure 1

Endophytic terpene compounds with antifungal potential activity

2. Alkaloids

Cochliodinol was isolated from the endophyte Chaetomium globosum SNB-GTC2114 and demonstrated anticandidal effect of 2 μg/mL as well as potent cytotoxicity with IC50 as low as 0.53 μM in cell lines KB, MRC5, and MDA-MB-435 [26]. Cochliodinol is a prenylated dimeric indole alkaloid first described in 1975 by Brewer et al. and isolated later from several Chaetomium species [27]. The pyridine derivatives penicolinates A–C isolated from Penicillium sp. BCC16054 showed moderate activity against C. albicans compared to amphotericin B whose IC50 value of 0.072 μg/mL. Despite their antimalarial and antitubercular effects, they manifested cytotoxicity against NCI-H187, MCF-7, KB, and the normal VERO cell lines, which might retard the progress of these molecules to the clinical use [28]. The benzophenone asperfumoid and indole bioactive mycotoxin alkaloids were isolated from Cynodon dactylon endophytes and revealed marked anti-candidal activity. Helvolic acid and physcion fermentations were optimized to provide large scale cultures with an activity in the range of MIC 31-125 μg/mL [29] (Fig. 2). Hypoxylon species from Cinnamomum cassia Presl biosynthesized three furanones and three pyrrolo-pyrazines with hypoxylonone C and (3S,8aS)-3-benzyloctahydropyrrolo[1,2-α]pyrazine-1,4-dione exerting a marked anticandidal effect [30]. Indole alkaloids with notable activity against C. albicans were isolated from Chaetomium sp. SYP-F7950 endophyte with MIC range of 0.12 to 9.6 μg/mL although not devoid of cytotoxicity in A549 and MDA-MB-231 cell lines [31].

Fig. 2
figure 2

Endophytic alkaloids with antifungal potential activity

3. Peptides

Among the few effective antifungal molecules towards C. auris is persephacin, which was isolated from some plant-endophytes. This cyclic peptide was described as an aureobasidin like structure devoid of phenylalanine but possessing persephanine as an unusual amino acid. Persephacin exerted a significant activity against fluconazole-resistant C. albicans and A. fumigatus causing eye infection in an ex-vivo study, which outperformed control drugs [32] (Fig. 3). Moreover, the 3D tissue models, highly simulating in-vivo studies, demonstrated its safety for treatment of eye infection with negligible irritation or toxicity [32].

Fig. 3
figure 3

Endophytic peptides and amides with antifungal potential activity

Around four-hundred endophytes of Eugenia bimarginata DC were isolated and examined for their antifungal efficacy against Crypotcoccus neoformans and gattii, which resulted in discovering Mycosphaerella sp. UFMGCB 2032 extract with MIC values of 31.2 μg/mL and 7.8 μg/mL [33]. Upon inspecting its two major compounds, the eicosenoic acid derivative possessed an extra double bond, which was believed to alter the Log P value and alter receptor interaction. Myriocin reduced fungal virulence by stimulating the production of Cryptococcal pseudo hyphae, and both compounds showed synergistic effect with amphotericin B and might induce apoptotic cell death in fungi [11]. Coronamycin, the complex mixture of bioactive peptides was effective with a lower MIC value than flucytosine against C. neoformans, yet it exhibited negligible activity towards several fungal strains as A. fumigatus, A. ochraceus, Fusarium solani, Rhizoctonia solani and Candida species as C. parapsilosis (ATCC 90018), C. krusei (ATCC 6258), C. tropicalis (ATCC 750) except C. albicans (ATCC 90028) [34]. A cyclodepsipeptide comprised of six amino acids and a long chain fatty acid was isolated from Fusarium sp. inhabiting the roots of Mentha longifolia and displayed potent antifungal effects against three Candida species as well A. fumigatus. The antimalarial activity was pronounced against P. falciparum (D6 clone) with MIC value of 0.34 μM; however, its cytotoxicity in cell lines L5178Y and PC12 might hinder further progression [35].

4. Amides

The amino benzamide derivatives, fusarithioamide B and A [36]. manifested potent activity C. albicans compared to the standard antifungal clotrimazole, but their selective cytotoxicity against KB, HCT-116, BT-549, SKOV-3, SK-MEL, and MCF-7 cell lines might require chemical optimization to be suitable for further in-vivo and clinical studies. The proposed mode of action is possibly due to their sulphur-based structure reported before to react with SH-moieties in bacterial and microbial proteins and disrupting their metabolism [37]. Of the three isolated decatriene fatty acid amides, only bipolamide B was moderately active with broad spectrum against several fungal cells. The structural resemblance allowed prospecting a role of the five membered carbon short chain in bipolamide A to control toxicity/activity ratio since it was completely ineffective [38].

5. Polyketides

The second was koninginins X–Z polyketides from Trichoderma koningiopsis SC-5 with no demonstrated activity up to 100 μg/mL against C. albicans [39]. The endophytic fungus Aspergillus sp. AP5 isolated from Phragmites australis was chemically profiled to unveil the antifungal activity of its ethyl acetate crude extract towards C. albicans ATCC 10231 and A. niger. Nafuredin, carbonarin A and I, and yanuthone D were detected by HR-LCMS and prospected to be the bioactive antifungal ingredients according to PASS software of molecular networking [40]. Pestafolide A, the reduced azaphilone derivative isolated from the endophyte Pestalotiopsis foedan in China showed activity against Aspergillus fumigatus (ATCC 10894). This azaphilone structure partially resembled decipinin A [41] in the two spiro connected pyran rings and resembled monascusone A [42] in its partial tetrahydroisochromenone moiety, yet monascusone A lacked the C-9 tetrahydropyran. Other isobenzofuranones were isolated as pestaphthalides A and B, closely related to acetophthalidin [43], with antifungal effect against Candida albicans (ATCC 10231) and Geotrichum candidum (AS2.498), respectively (Table 1) [44]. Pestaphthalides A and B were totally synthesized before through iridium-aryl borylation followed by a Suzuki-cross coupling/Jacobsen-epoxidation, epoxide opening and a rearrangement of cyclic carbonate/γ-lactone [45]. Biosynthetically, azaphilones originate from a NR-PKS polyketide and fatty acid pathway combination occasionally involving amino acids [46]. Pestalofones are derived from a terpenoid/polyketide pathway with structural similarity to iso-A8277C isolated before from the endophyte Pestalotiopsis fici [47, 48]. Pestalofones B and C originated from the Diels–Alder reaction of two molecules of iso-A82775C with a characteristic polyhydroxylated cyclohexane ring either spiro connected or via exocyclic methylene. A. fumigatus (ATCC 10894) was susceptible to pestalofones C and E with MIC values of 1.10 and 0.90 μM, respectively [49]. The NRPS/PKS biosynthesized occidiofungin obtained from the soyabean endophyte Burkholderia sp. MS455 inhibited the growth of A. flavus by stimulating apoptotic cell death [50]. Occidofungin demonstrated a potent antifungal activity against several Candida clinical isolates including those with fluconazole and caspofungin resistance. According to the time-kill and PAFE assays, the target of occidiofungin was presumably different from caspofungin and echinocandin. Furthermore, it showed gastric acid and temperature stabilities, which predispose its possible suitability for oral route administration than caspofungin after conducting bioavailability studies. With only azoles till now as the approved oral antifungal agents, in-depth studies of occidofungin are highly warranted [51]. More polyketides phomopoxides of the cyclohexenoid polyhydroxylated type were isolated from the Phomopsis sp. YE325 endophyte with unique stereochemical and oxygenation patterns. Similar hexenoids were reported from Streptomyces, Eupenicillium and Aspergillus before [52]. Phomopoxides B, D and G revealed a significant antifungal activity against C. albicans and A. niger [53]. Among a large-scale library, isolated from Pestalotiopsis sp., comprised of caprolactams, polyketides, quinones, and polamides only 2-hydroxy-6-methyl-8-methoxy-9-oxo-9H-xanthene-1-carboxylic acid reported a weak anticryptococcal activity of 50 μM [54]. Comparable to nystatin, CR377 represented a potent selective anticandidal molecule [55]. CR377 was first isolated from unidentified Fusraium sp. and later obtained from Fusarium fujikuroi by Von Bargen et al. who identified the genetic cluster and renamed it as fujikurin A [56]. Aplojaveediins A isolated from the endophyte Aplosporella javeedii exhibited antifungal effect 100 μM when tested against C. albicans ATCC 24433 hyphal forms and Saccharomyces cerevisiae while being non-cytotoxic towards cancer cell lines HUH7, THP-1, and CLS-54. Additionally, it showed a fungicidal activity and a fast viability decline when given in a fourfold MIC value compared to hygromycin, which only exerted a static growth inhibitory effect [57].

Halogenated fungal derived compounds were not subjected to sufficient scrutinization as antifungal agents, and few reports stated their dominant sources from marines, sponges and algae. Moreover, questions remained unanswered about their enzymatic or non-enzymatic biosynthesis to better manipulate this potential source of underexplored compounds [58]. In a recent study, histone deacetylase (HDAC) inhibitors as suberoylanilide hydroxamic acid were employed to enhance the isocoumarin biosynthetic pathways in Lachnum palmae and resulted in the production of brominated and chlorinated products with moderate activity against B. cereus and S. aureus although with insignificant effect against C. albicans and C. neoformans. Zhao et al. noted the higher activity of the brominated molecules compared to the chlorinated one [59]. In accordance with the host plant activity, the fungal endophyte Botryosphaeria rhodian yielded the depsidones Botryorhodines A and B. Both the compounds and the crude extract manifested potency against A. terreus human pathogen, possibly attributed to the aldehydic group of C-3 position. Depsidones from natural products were reported typically from lichens and few were found in plants or endophytes [60]. The previously synthesized 7-amino-4-methylcoumarin was obtained in decent amounts from the endophytic Xylaria sp. YX-28 residing in an ancient 1000-year-old Ginkgo tree. The abundance and large-scale production of this wide spectrum antimicrobial and antifungal agent warranted more exploitation; especially for priority pathogens as C. albicans and A. niger [48]. The rare in nature macrolactone glycoside Lecythomycin exerted a moderate inhibitory but selective effect towards the growth of A. fumigatus and C. kruzei since it manifested no similar action on closely relevant strains as C. albicans and A. faecalis or bacteria. This was credited to its uncommon 24-membered lactone and the mannoside sugar part, only ascribed to few fungi before [61]. The isocoumarin cladosporin obtained in high titer amount of 24% from Cladosporium cladosporioides was shown to be active against Plasmodium falciparum in the nanomolar range and against Cryptococcus neoformans. The chemical features of cladosporin were analyzed to highlight the importance of the open unsubstituted 5′-position, C-6’ R configuration, and C-6 hydroxylation for the antifungal activity [62]. Depsidones as simplicildone C was isolated from Simplicillium sp. PSU-H4 in Thailand and displayed a weak antifungal effect against C. neoformans with a high safety profile towards VERO cell lines, which suggested the need to improve this depsidone nucleus and enhance its potency by medicinal chemists [60, 63]. In the same way, simplicildones K and globosuxanthone E produced by Simplicillium lanosoniveum were active against Cryptococcus neoformans ATCC90113 with the MIC value of 32 μg/mL [64]. Both the polar and nonpolar fractions of the endophytic fungus extract P. sclerotiorum PSU-A13 manifested good antimicrobial and anti-HIV integrase activities. Contrarily to what might be considered, the assays conducted on three azaphilone acetonide, deacetonide and isocoumarin nuclei showed the significance of the chlorine atom in the sclerotiorin isolated from the hexane extract for both the antifungal and anti-HIV effects, irrespective of the azaphilone unit [65] (Fig. 4). The novel skeleton of spiro 5, 6 membered lactones revealed remarkable antifungal effect against both C. albicans and C. neoformans with MIC80 values down to 2 and 4 μg/mL, respectively. For instance, spiromassaritone isolated from Rehmannia glutinosa endophytes was more potent than griseofulvin by 3 folds magnitude [66]. Dimeric chromanones showed potent effect against C. albicans ATCC 10231 with paecilins A the most active among its congeners. Similarly, strain Escherichia coli ATCC 25922 was inhibited by paecilins L and N with MIC values of 16 μg/mL for each, and Salmonella enteritidis ATCC 25923 were susceptible to chromanones paecilins L and N with MIC values 32 μg/mL for each [67]. The crude endophytic extract of A. tubingensis AN103 demonstrated higher antifungal effect than its pure compounds with MIC values between 3.2 and 14 μg/mL against F. solani MLBM227, A. niger ATCC 16404, C. albicans ATCC 10231, and A. alternata MLBM09. These compounds were the naptha-γ-pyrones pyranonigrin A, TMC 256 A1 as well as fonsecin and asperazine [68].

Fig. 4
figure 4figure 4figure 4

Endophytic polyketides with antifungal potential activity

6. Fatty acid derivatives

Candida albicans infections were characterized as serious health threats with more than three hundred thousand infected cases reported per year. Women suffer from vulvovaginal candidiasis, which is a recurrent infection and at least once in life 75% of females encountered it. Immunocompromised patients are particularly vulnerable where mortality rate can reach up to 50% even with drug treatment [69]. In two attempts to study endophytes from food sources in China, tee tree endophyte Scopulariopsis candelabrum was fermented in large scale to obtain monomers and dimers of alkenoic acids namely, hymeglusin and fusariumesters, and the former showed anticandidal activity with MIC 20 μg/mL [70]. From rare liverworts as Scapania verrucosa Heeg, which are difficult to obtain in large amounts, endophytes represent a promising way to study secondary metabolites due to their high biomass production. For example, Chaetomium fusiforme was isolated from S. verrucosa and produced several volatile molecules, mainly methyl ester (21.25%), acetic acid (35.05%), 3-methyl-, and butane-2, 3-diol (12.24%), and valeric acid, possibly causing its effect against Candida albicans ATCC76615, Cryptococcus neoformans ATCC32609, Trichophyton rubrum, and Aspergillus fumigatus with IC80 values of 32, 64,64 and 8 μg/mL, respectively [71].

7. Miscellaneous

Several ascomycetes endophytic fungi were isolated from family Cupressaceae hosts as Cupressus, Platycladus, and Juniperus species in Iran and revealed anti-aspergillosis activity against human pathogenic Aspergillus fumigatus IFRC460 and Aspergillus niger IFRC278 through Petri dish dual-culture assays. The aryl ethers aspergillethers A and B were isolated from a Pulicaria crispa Forssk endophyte and reported significant activity against C. albicans and Geotrichium candidum [72, 73]. A diphenyl ether namely, 4-dihydroxy-2′, 6-diacetoxy-3′-methoxy-5′-methyl-diphenyl ether was isolated from Verticillium sp. and showed significant antifungal effect against C. albicans and A. fumigatus but not Cryptococcus neoformans [74]. Mycorrhizin A was first isolated from a mycorrhizal fungus of Monotropa hypopitys L. [75], and several attempts of synthesis were conducted before its complete synthesis in 1982 [76]. This benzofuran reported broad spectrum antimicrobial effect with a moderate activity towards C. albicans [77]. Mycosphaerella sp was isolated from Eugenia bimarginata and provided two usnic acid derivatives, mycousfuranine and mycousnicdiol, displaying moderate activity against Crypotcoccus neoformans and gattii 50 and 250 μg/mL [78] (Figs. 5 and 6).

Fig. 5
figure 5

Endophytic miscellaneous compounds with antifungal potential activity

Fig. 6
figure 6

Percentage of endophytic isolated compounds with promising activity against selected priority pathogens (total 101 compounds)

8. Endophytic bioactive extracts

The endophyte Epicoccum nigrum isolated from the roots of Maxillaria rigida was in a study among more than 383 isolated endophytes in Brazil and displayed activity against both C. albicans and C. krusei with MIC values of 7.8 μg/mL. No further work was done to investigate the extract and isolate the bioactive components [79]. The fungal isolates obtained from several arid plant species cultivated in Andalusia were examined for their secondary metabolite production, which was enhanced using polymeric resins such as Amberlite® and Diaion®. For instance, calbistrin A, dextrusin B4, and secalonic acid C were produced exclusively in presence of XAD-16 resin from Psudocamarosporium sp., Alternaria sp. and Sclerostagonospora sp. CF-281856, respectively. About 61 fungal extracts reported 70% inhibition of A. fumigatus ATCC 46645, and 23 fungal strains were effective against Candida albicans MY1055 [80] (Fig. 7). The amazonian plant Arrabidaea chica was the source of more than 100 endophytes whose ethyl acetate extracts were active against different microbial strains. The most active was Botryosphaeria mamane CF2-13 extract against P. mirabilis, E. coli, S. enterica, S. epidermidis, B. subtilis, S. marcescens,, A. brasiliensis,, C. tropicalis, K. pneumoniae, C. albicans, S. aureus and C. parapsilosis with MIC values in the range of 0.3 mg/mL [81]. The endophytes from Monarda citriodora Cerv. ex. Lag extended the antifungal effect of its host plant and showed biocontrol ability and complete inhibition against strains Sclerotinia sp., Aspergillus flavus, A. fumigatus and Colletotrichum capsica using dual culture assays with 50% inhibition ranging between 54 and 100% [82]. Four endophytic strains isolated from Dendrobium devonianum and D. thyrsiflorum cultivated in Vietman demonstrated weak antifungal effect towards A. fumigatus and C. albicans using agar diffusion assay [83]. More than nine ginkgo endophyte extracts proved potency against C. albicans, and A. fumigatus Trichophyton rubrum, and Cryptococcus neoformans and as antioxidants when tested by DPPH assay [84]. From the orchids trees Dendrobium devonianum and D. thyrsiflorum, more than 25 endophytic isolates were purified and identified based on ITS sequencing, and Fusarium, Epicoccum, and Phoma species were the dominant strains from both roots and stems, yet none exerted notable effect upon C. neoformans despite pronounced antibacterial effect against Bacillus subtilis, Escherichia coli, and Staphylococcus aureus [83]. 44.8% of endophytes of Pseudolarix kaempferi were screened against Pyricularia oryzae P-2b model and exhibited activity towards Cryptococcus neoformans, Trichophyton rubrum, and Candida albicans demonstrated by either conidia inhibition, swelling of hyphae or beads formation [85]. Moreover, the VOCs of family Cupressaceae endophytes showed time dependent inhibition of A. niger and A. fumigatus fungal growth in less than a week. The most active of which were Trichoderma koningii CSE32 and T. atroviride JCE33 extracts [7].

Fig. 7
figure 7

Endophytic fungal diversity with potential antifungal effect against selected priority pathogens. (Y-axis: number of endophytic fungal strains with antifungal activity against selected strains, X-axis: diversity of the endophytic fungal strains)

9. Mode of action of antifungal natural products

Unlike antibacterial compounds, many of the tested antifungal molecules are still far from being deeply studied to illustrate their exact mode of action, yet some mechanistic views were presented regarding terpenoids as follows. Fungal cell wall components include polymers such as chitin, mannoproteins, sphingolipids and glucans. While glucans are dominated by 1,3 or 1,6-glucose polymers in the cell wall, ergosterol constitutes the cell membrane. Inhibition of these polymers results in cellular death [86]. Many natural products act by crossing fungal cell walls and accumulating inside the lipid bilayer. This is true for terpenes/terpenoids whose lipophilicity enhance their capacity to go into the cell membrane and either lead to cell death or lack of germination [87]. Terpenes were reported to act by suppressing energy generation through mitochondrial damage. This alters virulence functions, cell wall protection and ergosterol biosynthesis, which is essential for fungal integrity [88]. Change in membrane hyperpolarization affects permeability and ions as calcium, pumps, and ATP pool eventually leading to cellular apoptosis. These events can be assessed by evaluating mitochondrial membrane permeability (MMP) and the amount of H + pumped out of the mitochondrial matrix [89]. A major fungal strategy to develop resistance is through efflux pumps, which remove substances out of the cell and undermine the effect of accumulated antifungal agents [90]. Many terpenes can act by inhibiting efflux pumps to cut down fungal resistance by down-regulating genes coding for efflux pumps as CDR1 and CDR2. Drimenol and other drimane sesquiterpenes were isolated from genus Termitomyces were screened against C. albicans and fluconazole resistant strains of C. parapsilosis, C. glabrata, C. albicans, C. krusei, Aspergillus, Cryptococcus and C. auris revealed potent microbicidal effect with MIC value of drimenol was investigated further and showed a fungal cell, membrane damaging effect. Further studies with mutant spot assay manifested changes in pathways and genes as the Crk1 kinase associated gene products, orf19.759, orf19.1672, Ret2, Cdc37, and orf19.4382 [91]. This was further assisted with heterozygous barcoded mutant collection assay, which was conducted on both Saccharomyces cervesise and C. albicans to unveil the target genes and complemented with molecular docking [92].

III. Actinomycete endophytes with activity against selected pathogens

Streptomyces YHLB-L-2 was isolated among 269 endophytes from medicinal plants in Fenghuang Mountain and its yeast peptone media fermentation produced quinomycin A, which was active against Cryptococcus neoformans and clinical resistant strains of Aspergillus fumigatus [93]. Endophytic Streptomyces in Arnica montana L. produced the cycloheximide with anticandidal effect against C. parapsilosis, presumably produced for the benefit of the host plant as antifungal and antiviral [94]. Streptomyces endophyte from roots of wheat plant hindered the growth of Aspergillus niger MTCC 282, despite showing no chitinase production, which indicated that its secondary metabolites could elicit the antifungal effect [95]. As many other Streptomyces strains, Streptomyces sp. K-R1 associated with root of Abutilon indicum produced the anthranilic peptide actinomycin D, yet it revealed crude extract weak activity towards fluconazole resistant Candida albicans MTCC-183 and Aspergillus niger MTCC-872 with MIC 1 mg/mL [96].

B. Marine-derived endophytes with activity against selected pathogens

Bostrycin and its deoxy derivative were isolated from the marine endophyte Nigrospora 1403 and reported moderate activity towards C. albicans, yet they were both of potent cytotoxic potential. The MTT assay of bostrycin suppressed the growth of six cancer cell lines, MCF-7, Hep-2, A549 Hep G2, KB, and MCF-7/Adr with IC50 values of, 6.13, 5.39, 2.64, 5.90, 4.19, and 6.68 μg/mL, respectively. Similarly, deoxybostrycin inhibited the growth of all tumor cells with IC50 between 2.4 and 5.4 μg/mL [97]. The marine macroalgae in bay of fundy in Canada provided about seventy-nine different endophytic species isolated from ten hosts. Among them were Penicillium sp, Helicomyces sp., Aspergillus sp., Botrytis sp., Trametes versicolor, Coniothyrium sp., Cladosporium sp., Coelomycete I, Hypoxylon sp., and Botryotinia fuckeliana. The mycelial and media methanol extracts displayed significant activity against C. albicans, P. aeruginosa and S. aureus [98]. Polyketides of the tandykusin type as well as phenyl derivatives were isolated from the mangrove endophyte Trichoderma lentiforme ML-P8-2 and exerted a moderate effect against C. albicans [99]. The sesquiterpene tremulenolide A was isolated from the endophyte Flavodon flavus PSU-MA201 together with a rare yet inactive difuranyl methane. Tremulenolide A was mildly active against C. neoformans [100] (Fig. 8). Heterodimeric xanthones with a 7,7′-Linkage were isolated from the mangrove plant endophyte Aspergillus flavus QQYZ. The non-biaryl linkage was reported for the first time in xanthones and possibly played a pronounced role in the broad-spectrum antifungal effect of aflaxanthone A and B. Other endophytic xanthones with C3-N-C2′ bridge like incarxanthone F [101], 2,2′-biaryl bond like phomoxanthones C–E [102], 2-4′-linkage like penicillixanthone B [103] or 4,4′-linkage like deacetylphomoxanthone C [104] were recorded before from Peniophora incarnata, Phomopsis sp. xy21, Setophoma terrestris (MSX45109), Phomopsis sp. HNY29-2B, respectively, but showed no activity against fungi [105]. From an unidentified endophytic fungus in Costa Rica, khafrefungin was separated and found effective against both filamentous fungi and yeasts; particularly, C. albicans, C. neoformans with MFC of 4 and 4 mg/mL respectively. In this scenario, complex sphingolipids were lost with the inhibition of phosphoinositol transfer to ceramides [106]. Khafrefungin specifically hindered inositol phospho-ceramide (IPC) synthase without inhibiting mammalian sphingolipid synthesis, which added to its safety profile.

Fig. 8
figure 8

Marine endophytic compounds with potential antifungal activity against selected priority pathogens

C. Coculture techniques of endophytes with activity against selected pathogens

Under standard fermentation procedures, microbial chemical diversity is usually limited, and the rediscovery of known metabolites becomes a common scenario, which delays novel molecules drug discovery [107]. Coupled with the large number of uncultivable strains, already existing in environment but not accessible to research, the use of different fermentation strategies to unlock the power of cryptic metabolites seems mandatory. For example, one strain many compounds (OSMAC)technique where a single promising microbial strain is subjected to different media and culturing conditions to maximize its production of bioactive molecules. Another example is epigenetic methods and employing modifiers like DNA methyl transferase inhibitors or histone deacetylase inhibitors to manipulate genetic clusters and possibly activate the transcription of secondary metabolite silent genes. Lastly, coculturing where the metabolites of one strain can induce the expression of another strain metabolites [108]. It is worth mentioning that coculturing strategies are usually straightforward and effective with no need for genetic level operations. In this section, data will be presented about how cocultures inspired the discovery of antifungal molecules against WHO priority pathogens [109].

The coculture of Cophinforma mamane with C.albicans shed light on the nature of interaction between the two microbes, particularly, by applying untargeted metabolomics and UPLC-MS–MS analysis to identify the compounds produced in both the axenic and coculture conditions. Results unveiled the downregulation of key survival metabolites of C. albicans like myoinositol, C20 sphinganine 1-phosphate, farnesol, and gamma-undecalactone; therefore, explaining the antifungal potential of the endophyte crude extract [110]. The endophyte Acremonium zeae was isolated from maize plant and showed through paired culturing an antifungal potential against A. flavus and F. verticillioides, possibly due to a significant production of pyrrocidine antibiotic [111] (Fig. 9). In a study of Nicotiana tabacum L. (No. Y20210917) with its associated four endophytic fungal strains, Penicillium janthinellum, Aspergillus fumigatus, Nigrospora sp. and Stagonosporopsis sp., the effect of the host media and coculturing was investigated and compared to the original axenic culture. Novel compounds as nigrolactone and multiplolide B were reported from the coculture of Nigrospora sp. and Stagonosporopsis sp. with antifungal activity against Aspergillus fumigatus down to MIC 2 μg/mL.; furthermore, the addition of the host extract to the fermentation media helped the production of AM6898A, asperfumol A, asperstone, and 4-epi-brefeldin C with no redundancy in pure PDB media. Even though 4β-acetoxyprobotryane-9β, 15α-diol was previously identified in Botrytis cinerea [112], it was only obtained from the coculture of the two endophytic strains Nigrospora sp. and Stagonosporopsis sp. and absent in the tobacco host media, which manifested the power of coculture to inspire cryptic metabolites [19].

Fig. 9
figure 9

Coculture endophytic compounds with potential antifungal activity against selected priority pathogens

The coculture of the endophyte Penicillium chrysogenum with its host Ziziphus jujuba extract successfully directed the formation of cryptic rare metabolites as spiro-β-lactones and gem-dimethyl hydroxyl products, namely penicichrins A–C with potent activity towards A. fumigatus [107]. Red ginseng coculture with the endophyte A. tubingensis S1120 manifested a better antifungal effect than any of the plant or the monoculture endophytes against A. tubingensis with the production of aspertubin A and panaxytriol whose MIC values were about 8 μg/mL [113]. The butanolide derivative irperide was effective as antifungal against A. fumigatus with MIC value of 1 μg/mL [114].

Eremophilane sesquiterpenes and polyketide terpene hybrids from Paraphaeosphaeria endophytic species cultured with its host Gingko biloba fruit extracts revealed activity towards Alternaria alternata and Beauveria bassiana, yet only alternariol methyl ether showed promising antifungal effect against A. fumigatus, which was correlated to the chromen-6-one nucleus [115].

D. Endophytic metabolites target fungal biofilms in selected pathogens.

Biofilm formation is the culprit behind more than 80% of chronic and 60% of all microbial infections. Fungal biofilm is different from bacterial ones in composition and extracellular matrix, and while bacterial biofilms were subjected to better studies, those of fungi and yeast have only drawn attention recently [116]. In contrast to the free-living cells, fungi forming biofilms are more resistant to treatments and immune system defense mechanisms. C. auris, initially discovered in the external ear canal of a Japanese patient, was recalcitrant to multiple antifungal drugs like polyenes, azoles, and echinocandins; moreover, it is tolerant to high salt and high temperature conditions [117]. Zeng et al. reported rubiginosin C activity against both C. albicans and C. auris where it inhibited yeast to hyphae transformation and biofilm formation with non-significant cytotoxic effect on mammalian cells [118]. Rubiginosin C, isolated from the stromata of Hypoxylon rubiginosum, could be employed as an internal coat to medical devices in a pre-therapeutic application to protect polystyrene material from C. albicans or C. auris adhesion [119] (Fig. 10).

Fig. 10
figure 10

Endophytic compounds with potential biofilm inhibitory activity against selected priority pathogens

Rubiginosin C, derived from stromata of the ascomycete Hypoxylon rubiginosum, effectively inhibited the formation of biofilms, pseudohyphae, and hyphae in both C. auris and C. albicans without lethal effects. Crystal violet staining assays were utilized to assess the inhibition of biofilm formation, while complementary microscopic techniques, such as confocal laser scanning microscopy, scanning electron microscopy, and optical microscopy, were used to investigate the underlying mechanisms. Rubiginosin C is one of the few substances known to effectively target both biofilm formation and the yeast-to-hyphae transition of C. albicans and C. auris within a concentration range not affecting host cells, making it a promising candidate for therapeutic intervention in the future.

The lipophilicity and the long side chain of this azaphilone could contribute to its ease of access in biological membranes. Alternaria tenuissima OE7 endophytes isolated from Ocimum tenuiflorum L. leaves provided a bioactive ethyl acetate extract with a biofilm inhibitory activity against C. albicans at 1.0 mg/mL; moreover, the antifungal potential was evident towards several strains as Candida albicans and C. tropicalis, Microsporum gypseum, A. parasiticus, Trichophyton rubrum, A. flavus, and A. fumigates. The mode of action was examined by scanning electron microscopy and showed to be a fungicidal effect with hyphal and cellular destruction and a synergistic action when taken concomitantly with fluconazole [120].

E. Future perspectives

Multi resistant fungal strains are growing more than any time before, and are considered a major health issue; particularly, to patients with invasive fungal infections affecting blood, brain, gut and lungs. Even worse our arsenal of antifungal drugs is limited, which makes drug discovery of novel antifungal a top health care priority. Recently, the WHO urged researchers to focus on hazardous fungi and yeasts and listed them as A. fumigatus, C. albicans, C. auris and C. neoformans. From the time 1980 to 2024 more than 300 compounds were isolated, identified and tested against these pathogens, yet few of them found their way to clinical trials and subsequently to the market. Our study realigned years of drug discovery against these four fungal and yeast strains and highlighted significant potent molecules to help their drug development process. We emphasize here the significance of endophytic polyketides where more than a third of the reported bioactive molecules belonged to this biogenic origin. Fungal biofilm inhibition is a promising research area in the following years and more studies are warranted in this realm since many molecules can be repurposed here in addition to novel compounds. Development of better culturing procedures can enhance fungal chemo diversity by applying modern OMICS techniques to unveil fungi dark matter. This includes but is not limited to coculturing endophytes either with other microorganisms or their host, which improves cultivability.