Skip to content
Lucerna Law

Confidentiality and ethics

Attorney-Client Privilege and AI: Where the Risk Is

By Published 9 min readUpdated

Attorney-client privilege protects confidential communications with a lawyer, so the risk with AI lies in who else can read what is typed into the tool. In the one federal ruling this post could open, a client's chats with a publicly available AI platform had no protection. Case law is thin, and no decision read here addresses a firm's contracted tool.

Does using AI waive attorney-client privilege?

Using AI does not waive attorney-client privilege as a matter of course, and it can destroy the confidentiality that privilege depends on. Whether it does turns on the law of the jurisdiction, who used the tool, and what the provider may do with the text. No rule of evidence read for this post mentions AI.

The short version of this question, and why the duty of confidentiality is a separate body of law, is in does putting client information into AI waive privilege. This post is the longer one.

What privilege requires

The federal ruling discussed below states the test as the Second Circuit puts it. Privilege attaches to communications between a client and an attorney, that are intended to be and in fact were kept confidential, for the purpose of obtaining or providing legal advice. Other jurisdictions phrase their tests in their own words.

Each element is a place where an AI tool can matter. The second is the obvious one. If a third party can read the communication, or the user has agreed that it may, confidentiality is in doubt.

What Rule 502 does and does not do

Federal Rule of Evidence 502 limits the consequences of some disclosures. Its text covers disclosures made in a federal proceeding or to a federal office or agency, disclosures in state proceedings, court orders and party agreements.

Those provisions are about disclosure in or connected with proceedings. Typing client information into a chatbot on an ordinary working day is a different event, and the rule's text does not speak to it.

What United States v. Heppner decided about AI and privilege

In United States v. Heppner, Judge Jed Rakoff of the Southern District of New York held that a criminal defendant's written exchanges with a public generative AI platform were protected by neither attorney-client privilege nor the work product doctrine. The memorandum, filed February 17, 2026, describes the question as apparently one of first impression nationwide.

The facts come from the Heppner memorandum itself, document 27 in case number 25 Cr. 503. After receiving a grand jury subpoena, the defendant used the platform to prepare reports outlining possible defense strategy. He did this without any suggestion from his lawyers. Agents later seized about thirty-one documents recording those exchanges. His counsel claimed privilege, saying he had entered information learned from counsel and had made the documents in order to speak with counsel.

How the documents reached the court in Heppner
  1. 01

    Subpoena

    The defendant receives a grand jury subpoena

  2. 02

    AI reports

    He uses a public generative AI platform to prepare reports outlining possible defense strategy, with no suggestion from his lawyers

  3. 03

    Seizure

    Agents later seize about thirty-one documents recording the exchanges

  4. 04

    Privilege claim

    His counsel claims privilege over them

  5. 05

    Ruling

    The court holds the exchanges protected by neither attorney-client privilege nor the work product doctrine

The court found at least two of the three elements missing, and addressed all three.

  1. No attorney. The exchanges were not between the defendant and his counsel. The court wrote that the platform is not an attorney, and that this alone disposed of the claim.
  2. No confidentiality. The court pointed to the platform's written privacy policy. As the court read it, the provider collects inputs and outputs, uses them for training, and reserves the right to disclose data to third parties, including governmental regulatory authorities. The defendant therefore could have had no reasonable expectation of confidentiality.
  3. No purpose of legal advice from the tool. Because he acted on his own, what mattered was whether he sought legal advice from the platform, and the platform disclaims giving it.

Two further points matter to lawyers. The court said that sending the documents to counsel afterwards did not help, since communications that are not privileged do not become so by being shared with a lawyer. And in a footnote it said that even if some of what the defendant typed was privileged information from his lawyers, he waived the privilege by sharing it with the platform and its provider.

This is one trial court's memorandum in a criminal case, about a client acting alone on a publicly available platform. The court noted it knew of no earlier case on the issue. A different court, or different facts, could come out differently.

Is an AI vendor a third party or the lawyer's agent?

Whether an AI vendor counts as an outside third party or as something like the lawyer's agent is not settled in anything this post could open. Heppner treated a publicly available platform as a third party. In a passing remark, it left room for a different answer where counsel directs the use.

The remark is short. The court said that had counsel directed the defendant to use the platform, it "might arguably be said to have functioned in a manner akin to a highly trained professional who may act as a lawyer's agent within the protection of the attorney-client privilege." It cited the line of Second Circuit cases on professionals who assist lawyers. It did not decide the point.

The court also met the argument that an AI tool is just software, like cloud-based word processing. It answered that the use of such applications "is not intrinsically privileged in any case."

Ethics authorities come at the vendor from another side. They ask what care a lawyer must take, not what a court will protect.

  • D.C. Bar Ethics Opinion 388 says a provider with access to what a lawyer types is among the "others" whose handling of client confidences the lawyer must take reasonable care over.
  • ABA Formal Opinion 512 applies the earlier thinking on cloud computing and outsourcing to AI providers. The walk-through of Opinion 512 covers it.

These are conduct rules. Following them makes a stronger factual record on confidentiality. They do not guarantee how a judge will rule.

Consumer terms and enterprise terms: why the contract matters to privilege

The contract matters to privilege because Heppner's confidentiality finding rested partly on what the provider's written policy let it do. The court gave two reasons: the defendant wrote to a third-party platform, and the policy allowed collection, training and disclosure to third parties. It did not say what result different terms would bring.

D.C. Opinion 388 draws the same line from the ethics side. It warns that lawyers who put client information, or their own mental impressions, into AI products, "especially 'free' ones," risk violating confidentiality rules. It notes that paying business users may be able to negotiate better terms, and it describes zero data retention, where the provider keeps neither inputs nor outputs, as one option some products offer.

Read these terms before any client text goes in.

Term to findWhy it bears on confidentialityWhere the concern comes from
Use of inputs and outputs for trainingText may shape answers given to othersHeppner; D.C. Opinion 388
The provider's right to disclose to third partiesUndercuts an expectation of confidentialityHeppner
Whether the provider's staff can read contentA stranger to the relationship can see itD.C. Opinion 388
Retention after the session endsStored text can be demanded or breachedD.C. Opinion 388

Terms differ by product and by plan, and they change. This post does not state what any provider's terms say today. How to compare a tool built for client files with a public chatbot is in private AI vs ChatGPT at a glance.

Are prompts and AI outputs protected as work product?

Prompts and AI outputs can be work product only if they meet the ordinary test: material prepared in anticipation of litigation or for trial, by or for a party or its representative. Heppner denied protection to a client's own AI documents. No decision read for this post rules on prompts written by a lawyer.

Federal Rule of Civil Procedure 26(b)(3) gives the civil rule. Ordinarily a party may not discover documents "prepared in anticipation of litigation or for trial by or for another party or its representative." If a court orders discovery on a showing of substantial need, it must still protect the "mental impressions, conclusions, opinions, or legal theories" of the attorney or other representative.

Why the claim failed in Heppner

The court assumed the documents were made in anticipation of litigation. It still denied protection for two reasons. They were not prepared by counsel or at counsel's behest, and they did not reflect counsel's strategy when they were made. The court expressly disagreed with an earlier magistrate judge's decision in the same district that had not limited work product to material prepared by or at the direction of a lawyer. So judges within one district have differed on the scope.

The lawyer's own prompts

Two ethics opinions observe that a lawyer's prompts can carry the lawyer's thinking. D.C. Opinion 388 says that through a back-and-forth with a tool, a lawyer "effectively may be disclosing her mental impressions." Texas Opinion 705 says such exchanges could expose the lawyer's privileged mental impressions to the tool.

Neither opinion decides whether that exposure forfeits protection in court. They flag it as a reason for care.

Keeping the exchanges

D.C. Opinion 388 raises a related point. A lawyer should consider whether specific interactions with a tool on a client matter belong in the client file. A firm that keeps prompts and answers should expect to be asked for them some day, and should know what protection it would claim.

Practical safeguards for privilege when a firm uses AI

Practical safeguards for privilege all work on the same two facts a court looked at in Heppner: whether a lawyer directed the use, and whether the tool's terms keep the text confidential. None of them guarantees an outcome. Each makes the record better if the question is ever litigated.

  • Read the provider's terms and privacy policy for training, staff access, third-party disclosure and retention, and keep a dated copy.
  • Keep client work off consumer accounts that the firm has not vetted.
  • Tell clients early not to work through their case with a public chatbot on their own. Heppner's facts were exactly that.
  • Where a client or consultant will use a tool for the matter, have counsel direct it and document that direction.
  • Limit who inside the firm can see a matter's AI exchanges.
  • Decide whether prompts and answers go in the client file, and treat them as you would other drafts and notes.
  • Raise the issue with the firm's own counsel before a sensitive matter goes into any tool.

Tools that act on their own widen the exposure. California's guidance warns that poorly configured agentic systems may "even expose privileged material," which is covered in the California Bar's generative AI guidance.

Where Lucerna Law stands

Lucerna Law does not tell firms that using it preserves privilege. Its FAQ calls that a legal question it cannot answer and recommends that a firm's counsel review the privacy policy and terms before client files are uploaded.

The facts it does state are these. It does not use files, questions or answers to train a model. Each firm's records are isolated from every other firm's. On each question, text from the matter's files is sent to a model on Amazon Bedrock, under AWS's standard service terms. Staff with access to the database and storage could read a firm's data. The product holds no security certification.

Those are facts for a risk assessment. How a court would weigh them is not something a vendor can promise. For how the model is given a matter's text, see how the AI reads the files in a matter.

Confidentiality is a fact a court finds, and the contract is where it starts looking.