A brain-machine interface (BMI) is a direct communication pathway between the brain and an external device, often aimed at assisting, augmenting, or repairing human cognitive or sensory-motor functions. BMIs hold potential for transformative applications in medicine, neuroscience, and human-computer interaction, but they also raise ethical and technical challenges related to privacy, security, and user autonomy.