Skip to content
Detecti.ai

← All articles

· 5 min · by Gardien Security

Law firms and generative AI: client confidentiality, pasted contracts and the lawyer's personal account

An associate gets a forty-page contract at five in the afternoon, with the partner's question: "what are the risks for our client?". He opens ChatGPT in his personal account, pastes the whole contract and asks for a summary of the termination and penalty clauses. The client's name, the deal value, the counterparty and every clause negotiated in confidence are now sitting in the account of a vendor the firm has never signed anything with.

Professional secrecy is the foundation of the relationship between a lawyer and a client. It does not stop applying because the tool was convenient. And the problem is that nobody at the firm knew it happened, because a pasted contract leaves no trace anywhere.

The problem is not the AI, it is the account

Using generative AI to review a text, organize a case timeline or prepare a first draft of an opinion is normal legal work. What changes everything is where the text ends up.

A tool contracted by the firm has a contract, a clause on retention, a written answer to "do you train the model on what you receive?". A personal account has none of that. The terms are consumer terms and the history sits in an account that does not belong to the firm.

The scale of the habit is documented. Netskope, in its Cloud and Threat Report 2026, measured that 47% of generative AI users at work use personal accounts. Cyberhaven, in its AI Adoption and Risk Report published in February 2026, found that 32.3% of ChatGPT use and 24.9% of Gemini use happen through personal accounts, and that 39.7% of data movements into AI involve sensitive data.

An illustrative example

Take Valente Advogados, a fictitious firm with thirty lawyers, litigation and corporate practices, and an outsourced IT team. Over one month, three things happen:

  1. A corporate associate pastes a share purchase agreement into his personal ChatGPT account to summarize it.
  2. A litigation assistant attaches a PDF of a complaint, containing the parties' CPF (the Brazilian individual taxpayer ID), to an AI tool to extract the claims.
  3. A partner uses the firm's contracted tool, with a corporate account, to polish a memo that names no client.

The first case breaches the duty of confidentiality. The second is processing of personal data outside any contract, and falls under the LGPD, the Brazilian data protection law, on top of the confidentiality duty. The third is the use the firm wants to encourage. Without a sensor on the endpoint, all three look the same: someone opened a tab.

The firm's tool versus the lawyer's personal account

Firm's toolLawyer's personal account
Contract with the vendorYesNo, consumer terms
Who controls retentionThe firmThe vendor and the lawyer
Trains the model on inputsContractual answerDepends on the plan, often yes by default
Deletion requestThe firm sends itThe firm has no access
Where the data livesKnownUnknown

"Unknown" is a valid answer in vendor risk, and the most common one for a personal account.

The classification a firm typically lands on

In practice, firms arrive at three levels:

Two categories make the difference for a law firm. The first is "your client's data": the firm sends its list of client CNPJs and CPFs, the server keeps only digests (HMAC with a key belonging to that firm, stored encrypted with another key that does not live in the database) and discards the text, and the agent tells "looks like a CPF" apart from "is the CPF of one of our clients". The second is the attachment: Windows records when the AI process opens a file, and the agent turns that into an event with the file's name and extension, never its folder. The content does not go up. What shows up is "contract.pdf, with 3 CPFs, two of them clients". The file name is recorded by default, the firm can turn it off, and the lawyer sees in the tray icon what is turned on. Since a law firm's file names often carry the client's name, that is a decision to make with the DPO.

The monthly report as a due-diligence artifact

Corporate clients are asking law firms a new question: "how do you use AI with our documents?". "We have a policy" is a weak answer. The strong answer is a dated document.

A monthly PDF report, with an executive summary, usage over time, tools seen, data types, vendor risk with a public source and the date it was checked, and a final section stating what the report does not contain, is a due-diligence artifact. It shows the firm knows which tools are used, that pasting client data into a personal account is warned or blocked, and that every alert had an owner and an outcome.

It also answers the reverse question, from the firm's own DPO: the report contains no text from any contract, because classification happens on the machine and there is no column in the database for content in the clear.

Where Detecti.ai comes in

Detecti.ai is the agent that produces that record: installed as a Windows service by the IT provider, it classifies pastes and attachments on the machine itself, applies warn or block, and delivers the monthly PDF report. The free pilot has its size and length agreed with each firm, usually 10 to 50 machines for 14 to 30 days.

Read next