Elith日本語版
Menu

Generative AI data leak countermeasures: how to prevent mistaken uploads of company files, and what to check after one

A rule against entering confidential information is not enough to prevent generative AI data leaks. Based on primary sources and a published case, this article sets out five checks before sending company files, and what to confirm with the provider and decide on reporting after a mistaken upload.

Published
{minutes} min read
9 min read
Illustration of thin lines from a stack of documents, one of which passes through a translucent panel to a cloud, representing company files being sent to an external service

In short: A rule that says "do not enter confidential information" is not enough to prevent data leaks through generative AI. Before sending a file, check five things: what information it contains, which service it goes to, the contract and settings, how much you hand over, and the pre-send controls. If something was sent by mistake, confirm deletion, training opt-out and the end of retention with the provider as separate questions, and let the responsible staff decide whether a report is required.

Elith offers GENFLUX Security. Through a browser extension (Chrome, Edge) and a desktop app (macOS, Windows), it makes AI use visible and can detect, warn about or block, before sending, confidential or personal information that breaks company rules.

For the overall risks of generative AI, see "What is generative AI security?". This article focuses on the moment company files and information are sent to generative AI.

At what stage do generative AI data leaks happen?

Diagram of two stages where generative AI data leaks can happen. The top row shows an employee sending text or files to an external generative AI service; once sent, the data is in the provider's hands. With an unapproved service, or one whose training and retention terms have not been checked, its handling cannot be controlled, and for personal data the purpose of use and the provider's handling should be checked first. The bottom row shows that even in an approved AI, sensitive data can remain in four places: context during inference, documents retrieved by RAG, output, and monitoring and traces (logs). It notes that OWASP LLM02 (2026 edition) says disclosure can occur through all of these, not only the answer, and lists its baseline measures: removing personal data, minimizing context sent to providers, authorizing each document before retrieval, and limiting logs.

A person sends text or files to an external service

The most familiar case is a person sending text or files to an external generative AI. On October 23, 2026, Panasonic Operational Excellence announced that, in a project to introduce an HR information system, a project member had uploaded data containing personal information to an external generative AI service whose use the company prohibits (the company's announcement, in Japanese). The data covered about 75,000 employees, about 178,000 former employees, about 55,000 family members of employees and about 26,000 family members of former employees. Right after the discovery, the member deleted the chat history and the data on the work PC, and the company reported the incident to the Personal Information Protection Commission on September 29, 2026. The service operator replied that the feature that uses data for AI training was disabled at the time of the upload, and that even after a user deletes data it is kept for 30 days from the deletion date and is no longer held by the operator from October 25. At the time of the announcement, no public disclosure of the information and no concrete damage from misuse had been confirmed.

How to find unapproved services is covered in detail in "What is shadow AI?". This article looks at checks at the moment of sending, including approved services.

Even with approved AI, sensitive data can remain in RAG, outputs and logs

Approved services still have leak paths. OWASP LLM02:2026 says that disclosure is not limited to the final answer, listing retrieved RAG chunks, tool-call arguments, logs and traces among the channels. It explains that at inference time, context such as the system prompt, RAG chunks and files can surface more than was asked. As foundational measures it lists scrubbing personal data at ingest, sending only task-required fields to external providers, authorizing each document before retrieval, and restricting and scrubbing logs and traces (OWASP LLM02:2026).

Bugs on the provider's side are a separate path. In March 2023, OpenAI reported that a bug in an open-source library let some users see titles from another user's chat history, and that payment-related information of 1.2% of ChatGPT Plus subscribers active during a specific nine-hour window may have been unintentionally visible (OpenAI's report). This is why you need to choose where data goes and check the contract.

Five checks before uploading company files

Diagram of five checks before uploading and three things to check if data was sent by mistake. On the left, the five checks: 1, classify the information, such as whether it includes personal data or trade secrets; 2, confirm the service and account are approved by company rules; 3, check training use, retention and deletion terms in both the contract and the settings; 4, remove unnecessary information and send only what is needed; 5, check which devices, apps and routes pre-send detection, warning and blocking cover. On the right, the three steps after a mistake: 1, record the service, account, time and file, share them with the internal contact, and identify what was sent and whom it covers; 2, ask the provider about deletion, training opt-out and end of retention one by one, since they are not the same; 3, legal and privacy staff decide whether reporting or notice is required. A note says the three steps are this article's proposal based on published cases and NIST AI 600-1, not a legally required procedure.

1. Classify the information, such as personal data or trade secrets

First, check what the file contains. Japan's Personal Information Protection Commission asks businesses entering prompts that contain personal information to confirm that this is within the scope needed to achieve the specified purpose of use. It also states that if a business enters prompts containing personal data without the person's prior consent, and the data is handled for purposes other than producing the response, the business may be in violation of the Act on the Protection of Personal Information (the Commission's alert, in Japanese). Files can contain the same information, so the same thinking applies. IPA's guide for AI users also advises against telling cloud AI your trade secrets (IPA, Security tips for AI users, in Japanese).

2. Check that the service and account are approved

METI's Handbook for Protecting Confidential Information says that setting rules to use only generative AI approved in advance, and to enter only information approved under defined criteria, is effective in preventing leaks of confidential information (METI handbook, p. 28, in Japanese). Its examples of measures also include prohibiting generative AI other than what the company approves and restricting web access (same, p. 54). It does not call for banning all AI. Check that the service is approved by the company and that the account is not a personal one.

3. Check training use, retention period and deletion terms in both the contract and the settings

The Personal Information Protection Commission asks businesses that enter prompts containing personal data without consent to confirm thoroughly that the provider does not use that data for machine learning, among other things (the Commission's alert, in Japanese). Even with training turned off, the retention period and deletion terms need to be checked separately. OWASP LLM02:2026 also lists, as a foundational measure, enforcing no-train and no-retain terms technically rather than through policy text alone (OWASP LLM02:2026).

4. Hand over only what is needed and remove the rest

Instead of the whole file, hand over only the parts the task needs. OWASP LLM02:2026 lists, as a foundational measure, sending only task-required fields to external providers and disabling features that automatically attach full records unless justified (OWASP LLM02:2026).

5. Check how far pre-send detection, warnings and blocking reach

If you use a mechanism that detects, warns about or blocks data before it is sent, check which devices, browsers or apps, routes, and file formats it covers. Having such a mechanism does not mean it covers every path.

What to check if something was sent by mistake

The following is our own summary based on published cases and NIST's approach to incident response planning. It is not a procedure set by law.

Identify what was sent and whom it covers, and share it internally

Contact the internal point of contact and identify the service, account, date and time, file, the information it contained, and the people it covers. NIST AI 600-1 suggests establishing incident response plans for third-party generative AI, communicating them to the relevant people, defining ownership, and rehearsing them regularly (NIST AI 600-1, GV-6.2-003).

Ask the provider about deletion, training and retention separately

Deleting, stopping training use and ending retention are not the same thing. Ask the provider about the training-use setting, where and how long the data is stored, whether anything remains after deletion, and whether there was any access or secondary use. Keep records of the actions and the evidence.

Legal and privacy staff decide whether a report to the Personal Information Protection Commission or a notice to the people concerned is required. NIST AI 600-1 also suggests reviewing incident response plans for alignment with breach reporting and data protection laws (NIST AI 600-1, GV-6.2-003). In the Panasonic case, the company reported to the Commission and described its announcement as a substitute for notifying each person under the Act on the Protection of Personal Information (the company's announcement, in Japanese).

Turning prevention into operations

Connect rules, pre-send controls, logs and training

The AI Guidelines for Business, version 1.2 (March 31, 2026), from Japan's Ministry of Internal Affairs and Communications and Ministry of Economy, Trade and Industry, also ask AI users to take care not to enter personal or confidential information inappropriately (AI Guidelines for Business, main text, p. 40, in Japanese). They are non-binding guidelines that encourage voluntary efforts by businesses; following them does not guarantee that nothing leaks. NIST AI 600-1 also suggests inventorying third parties with access to organizational content and establishing approved lists of generative AI technologies and service providers (NIST AI 600-1, GV-6.1-007). What matters is linking the steps: set rules, put a mechanism in place that stops data before it is sent, check with logs, and pass it on through training.

What GENFLUX Security covers

GENFLUX Security makes visible who uses AI, when and which service, and, based on company rules, can detect, warn about or block confidential or personal information before it is sent. It also supports masking where needed, DLP alerts, policy management and report output. The browser extension and the desktop app are available now. Check how far each file format can be inspected in your own environment.

Summary

Rules alone cannot fully prevent generative AI data leaks. The starting point is to set the five checks before sending, and the checks after a mistaken upload, as a defined procedure.

Frequently asked questions

If training is turned off, is it fine to send company documents?

Not being used for training is different from not being stored or viewed. Check the retention period, deletion terms and scope of access in both the contract and the settings. If personal data is included, also check that the use is within the purpose of use.

Is it safe once I delete the upload history?

Deleting the history does not mean the data disappears on the provider's side right away. In the Panasonic case, too, the service operator replied that data is kept for 30 days from the deletion date even after a user deletes it. Besides deleting, confirm the end of retention with the provider.

To detect and control confidential information before it is sent to generative AI, see GENFLUX Security.

Sources

  1. Panasonic Operational Excellence, Apology and notice regarding the upload of personal information to an external generative AI service (October 23, 2026, in Japanese)
  2. Personal Information Protection Commission of Japan, Alert on the use of generative AI services (June 2, 2023, in Japanese)
  3. IPA, Security tips for AI users (April 2, 2026, in Japanese)
  4. Ministry of Economy, Trade and Industry, Handbook for Protecting Confidential Information (last revised February 2024, in Japanese)
  5. Ministry of Internal Affairs and Communications and Ministry of Economy, Trade and Industry, AI Guidelines for Business, version 1.2 (March 31, 2026, in Japanese)
  6. OWASP, LLM02:2026 Sensitive Information Disclosure
  7. NIST AI 600-1, Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile (July 2024)
  8. OpenAI, March 20 ChatGPT outage: Here’s what happened (March 24, 2023)