This study aimed to assess the profile of phenolic compounds and their relationship with the defence mechanism of beans from genus Phaseolus and Vigna against fungal contamination indicated by the occurrence of aflatoxins and inhibitory activity against fungal amylase.