If you are an employee, you should be safe from legal action. A book on casuistry (ethics as a "science") put out by the Catholics said that you aren't morally to blame either. If you are an independent contractor, then you have a problem.
Treat this advice with caution. I am not in IT; I am an Australian lawyer.