A minimal nearest-centroid classifier splits a 3D feature space into two classes with a flat decision boundary. Switch between an evasion attack, which perturbs a single input vector until it crosses the boundary, and a data-poisoning attack, which injects mislabeled training points that pull the boundary itself out of place.