As a guard against SQL injection attacks, we should monitor synatx error DB query exceptions, and send an email notice to security-team@wikimedia.org if they suddenly start happening.
I'm not very famialr with monitoring infastructure at wikimedia, but maybe incinga could be used to check https://logstash.wikimedia.org/goto/eed39a6fab525646bec815b27be3bed0 on a regular basis.