Abstract: Highlights•Proposing a novel adversarial attack approach for EEG-based BCI.•Designing a spatial–temporal mechanism to select the channels and time steps.•The proposed method aligns with the existing brain science findings.•Experiments demonstrate superior attack performance compared to existing methods.