Back to BlogAI Security

Samsung Lost Source Code to ChatGPT 3 Times

Three separate Samsung engineering teams pasted proprietary code and confidential data into ChatGPT in April 2023. Each incident revealed a different.

March 13, 20269 minute read
Samsung ChatGPT leaksource code protectionenterprise AI controlsinsider data leakageMCP Server anonymization

Updated for 2026

Three Teams, Three Leaks, One Month

In April 2023, Samsung Semiconductor disclosed three separate incidents. Three different teams had sent proprietary data to an AI chatbot within a single month. The incidents were not related. Different people, different roles, different days.

They shared only two traits. Each person used the tool to do real work. Each accidentally sent data Samsung had not meant to share outside the company.

Incident 1 — Source code. A software engineer was debugging equipment code. He pasted proprietary semiconductor source code into the chat. The code held manufacturing IP.

Incident 2 — Meeting notes. An employee was preparing a summary of a meeting. She submitted her notes for the AI to condense. Those notes contained confidential strategy and roadmap details.

Incident 3 — Database query. A third employee wanted help with a slow query. He shared the database structure and the query logic. That logic referenced proprietary schemas and business rules.

Three incidents. Three disclosures. One month.

Why the Employees Did It

None of the three were acting carelessly. They used an AI tool for tasks that AI tools are built for. Code review. Text summarization. Query optimization. Each task was legitimate.

The missing piece was a technical stop. No system blocked the submission before it hit an external server. No filter caught proprietary identifiers before they left the network. Nothing stood between the employee's real need and the outside service.

A policy warning existed. But a warning is not a barrier. The risk of an accidental mistake was abstract and remote. The productivity benefit was real and immediate. Rational workers chose productivity.

The result was predictable. Three incidents in thirty days. Three disclosures of IP. A corporate crisis that triggered bans across the industry.

The Industry Reaction

Samsung moved quickly. It cut AI tool access on corporate devices.

Other organizations followed. Those that announced restrictions included Bank of America, Citigroup, Goldman Sachs, JPMorgan Chase, Apple, and Verizon. The financial sector reacted fastest. Large banks and tech firms concluded the same thing. AI tools without technical controls posed unacceptable compliance risk.

Every one of them reached the same finding. Employees are not the problem. Policy warnings are not enough. Data left corporate networks because nothing stopped it. Policy alone cannot create a technical stop.

The 71.6% Bypass Rate

The ban approach has a measured failure rate. LayerX research from 2025 found that 71.6% of employees subject to enterprise AI bans kept using AI tools. They used personal accounts or personal devices.

The reason is simple. A tool that delivers real value gets used. People find workarounds rather than give it up. AI can cut task time in half. A policy warning will not change that calculation. Workers log in from a personal phone or laptop. Security teams cannot see that traffic.

The practical outcome is the worst case. Corporate data still reaches AI providers. But now it flows through channels with zero oversight. Corporate device traffic could at least be logged. Personal account use is invisible.

Samsung's three incidents happened on corporate devices. Employees who bypass the ban do the same thing. They send work data to AI models. But now it goes through channels with no enterprise visibility.

The Technical Fix That Addresses the Root Cause

Samsung's incidents were not caused by careless people. They were caused by an architecture with no interception layer. There was nothing between the employee's prompt and the vendor's server.

Model Context Protocol (MCP) does not fill that gap on its own. An MCP server is a tool the AI client calls; it does not sit in the data path between the developer and the model. Developers using Claude Desktop or Cursor IDE — the tools used for the kind of code debugging behind Samsung's first incident — can call the anonym.legal MCP Server, but what is typed or pasted into the prompt reaches the AI provider before any tool runs.

The MCP Server anonymizes the text the assistant hands to it: file contents, tool output, or data that is passed on or stored. Detected entities in that text are replaced with tokens. Detection runs on anonym.legal's EU-hosted API.

A developer who wants proprietary code kept away from the vendor anonymizes it before sending — in the web app or with the Chrome Extension in the browser — and pastes the tokenized version. The AI model still helps with the debug task. The replaced details do not reach the vendor's servers.

Incident 1 becomes avoidable: the source code reaches the AI vendor already anonymized, if it is anonymized before it is sent. The engineer gets the help they needed. The IP stays under company control.

The same logic covers Incident 2. Meeting note summarization via browser-based tools is addressed by the Chrome Extension and its enterprise controls. Incident 3 needs the same step: the schema and query logic have to be anonymized before they are sent, whichever AI interface is used.

Bans vs. Technical Controls

Banning tools that 71.6% of employees already bypass does not reduce risk. It moves the risk to invisible channels.

The browser DLP tool comparison covers interception options for browser-based AI use. For organizations comparing anonymization to other DLP products, the Nightfall vs. anonym.legal comparison covers the blocking-vs-anonymization tradeoff directly.

Samsung's incidents were an early signal. The root cause was an absence. No interception layer. No technical control. That gap is fixable now. The question is whether enterprises deploy the fix, or keep relying on bans that most employees already work around.

When This Approach Has Limits

An anonymization layer between employees and ChatGPT is a real control, not a complete one. Be honest about where it stops.

Detection is probabilistic, not perfect. The interception layer scrubs what it recognizes as sensitive: names, keys, customer records, recognizable code patterns. A novel proprietary identifier, an internal codename, or a fragment of source that does not match any known pattern can slip through unredacted. The layer lowers the volume and severity of leakage; it does not reduce the probability of a leaked secret to zero. Treat it as defense-in-depth, not a guarantee.

It only protects the channels routed through it. An interception layer governs the endpoints and accounts it is installed on. An engineer who opens ChatGPT on a personal phone, a home laptop, or an unmanaged browser profile bypasses the control entirely. The Samsung pattern was employees reaching for the fastest tool available, and the fastest tool is often the one outside corporate management. The personal-device gap persists for any endpoint the organization does not instrument.

Reversible tokenization moves the risk, it does not remove it. If you tokenize values so output can be re-identified later, the mapping key becomes the new crown jewel. Whoever holds it can reverse the anonymization. Key custody, rotation, and access logging then become the real control surface, and a leaked key undoes the protection retroactively.

Anonymization complements governance, it does not replace it. A technical layer reduces the damage when someone pastes the wrong thing, but it does not set policy, train staff, manage endpoints, or decide which AI tools are sanctioned. Organizations that deploy interception and then stop investing in acceptable-use policy and endpoint management are buying a single control and calling it a program.

Sources

Ready to protect your data?

Start anonymizing PII with 273 entity types across 48 languages.