Three years after the 'London Whale' rattled the markets, JPMorgan Chase (JPM) wants to predict who will become the next rogue employee.

The bank’s new surveillance program reportedly uses data points, such as missed compliance classes and violations of market-risk limits, to detect rogue workers. According to Bloomberg, this program is part of JPMorgan’s attempt to reduce legal bills, which have surpassed $36 billion since the financial crisis.

The company hinted at the program in a December 2014 report, which described creating “a more sophisticated predictive technology for surveillance by participating in a pilot assessment expected to be completed by mid-2015.”

Get the Latest Market Data and News with the Yahoo Finance App

This program to predict rogue workers could raise ethical issues, notes Yahoo Finance’s Aaron Task.

“At some point someone is going to get fired from JPMorgan for the company thinking they're going to do something wrong,” he says. “They're going to sue them and say ‘I didn't do anything wrong.’ 'But this program told us that you were a risk... you're not a bad apple but I think you're about to be bruised.'”

Rel: A life insurance company is offering big perks for your data