A massive Wells Fargo customer data breach was not the work of a hacker, but of the bank’s own lawyer who failed to review the bank’s entire set of discovery documents, including information about the bank’s wealthy customers, before it was shipped to a litigation adversary.

The event highlights the increasing risks of relying on unfamiliar e-discovery technology—and the potential liability exposure to lawyers.