

The incident occurred in Kano state, one of 14 majority-Muslim states in northern Nigeria subject to Sharia law.
In northern states governed by Sharia law, homosexuality is punishable by death.
Damn I thought those Americans were exporting evangelical Christianity, not Sharia law. TIL.
There are machine learning algorithms for anomaly detection though. They actually work decently well because exploits like this do in fact differ significantly from regular orders. Because they assume all anomalies are attempted exploits, their false negative rate is rather low while their false positive rate can be a bit higher.
Taco Bell has the capability to create a decently large training set from all recorded orders (which must all be valid and non-malicious) so they shouldn’t have too many issues developing this model.
If an anomaly is detected, make a human verify it is indeed an irregular order.