BlogKaltec Voices
What to block first when customer data goes into AI
- Type
- Kaltec Voices
- Published
- 24 November 2026
- Prepared by
- Byunghoon So
- Role
- ML / AI Engineer
Customer data put into AI crosses into another customer's answer through retrieval that picks the closest chunk, permissions that open every index, training on pooled records and question logs kept in one place. These paths are closed by a structure that keeps indexes, permissions and logs apart for each customer.
Background
Two electronics plants sent in nearly the same question two days apart. After reflow soldering, no-clean flux residue was left under QFN parts: did they need to add a cleaning step? We were trial-running a document search assistant then, before we split the indexes by customer. Because the same engineer handled both questions, the two drafts landed side by side, and one sentence in them matched to the letter: "After switching to a nitrogen atmosphere and raising the peak temperature, the residue under the parts went down." It was a line from the record the first plant left when it changed its reflow conditions three months earlier. Neither draft had gone out yet.
A different plant in the same industry can read a line's yield and its worries from its reflow profile and its history of residue defects. The path that sentence took that day lay where retrieval picks the closest chunk. When customer data goes into AI, the first thing to block is the path by which one customer's records cross into another customer's answer through retrieval, permissions, training and logs.
The closest chunk does not ask who owns it
In vector search, closeness is a distance in meaning, so whose record a retrieved chunk is never enters the calculation. The two plants worded their questions almost alike, so the first plant's chunk rising to the top was retrieval doing its job.
That trial index tagged each chunk with a customer label and, at search time, dropped chunks labeled for other customers. When we traced it, some chunks had lost their labels on the path that added field records later. A chunk with no label at all gave no reason to be dropped, so it stayed. No error message appeared. Filtering leaks elsewhere too. Filter after taking the top few results and too few chunks remain, so answers get thin, and the moment you loosen the condition to make up for it, other customers' chunks come back in. A cache that returns stored answers to similar questions, kept without separating customers, sends a previous customer's answer out whole without even passing through retrieval.
The usual fix is to write "do not cite other customers' records" into the prompt. But the chunks placed in front of the model often carry no owner, and even when they do, instructions are usually followed, not always. That day's sentence had no plant name or equipment number either. Stripping names is not enough. In an industry where only a few plants make the same part, matching whether a plant uses nitrogen reflow and in which quarter it changed its conditions is enough to guess which plant it is.
OWASP, which publishes a list of security risks for language model applications, lists this path too. It warns that when several users share one vector store, context can leak between queries, and recommends strictly partitioning the data in the store by user and permission (OWASP, 2025). Drop the idea that text turned into vectors is no longer the original. One study recovered 92% of 32-token texts word for word from the embeddings plus access to the model that made them, and with the same method restored people's names from clinical notes (Morris et al., 2023).
One index per customer, permissions where search is called
After that, we dropped filtering and split the indexes themselves by customer. In one customer's case, the agent opens only two indexes: that customer's, and a shared one holding public standards and product documents. A chunk that has lost its label has no customer index to go into and does not fall into the shared index either, so it stops at loading. There is a cost. Every time the embedding model changes, the indexes have to be rebuilt once per customer, and a new customer's index with only a few dozen records has little evidence to retrieve. The shared index fills that gap. We put a marker sentence that exists only for that customer into each customer index, and every time the loading path changes, we test whether that sentence comes up in another customer's case.
Separate indexes do more than block. The first plant's index builds up the reflow condition changes that plant went through and the residue results after them, and its next question looks for evidence in that history first. Since no similar record from another plant cuts in, there is no need to ask whether the conditions cited as evidence belong to that line.
Separate indexes are no use if permissions are broad. Even with the customer list hidden on screen, if the agent's search tool runs under an account that reads every index, one question sweeps every customer's records off screen. So permissions are checked where the search tool is called. The tool is called with a permission that opens only the index of that case's customer, the permission is tied to the person handling the case, and we log who opened which customer's index and when.
Records that go into training cannot be taken back out
Even with indexes and permissions split, fine-tuning a model on records pooled from many customers makes the partitions meaningless. Records that go into training melt into the weights with no source mark, and there is no telling in which customer's question they will resurface. One study pulled hundreds of verbatim sentences of training data out of a language model trained on internet text just by querying it. What came out included names, phone numbers and email addresses, and some sentences appeared in only one document in the entire training set (Carlini et al., 2021). A follow-up study reported that memorization grows with model size, with how often text repeats in the data and with the length of the prompt placed in front (Carlini et al., 2023).
One plant's reflow profile appears only once or twice in that customer's records, but even a sentence that appears once can be memorized. And to reliably remove just one customer's records from a trained model, for now you have to retrain on data without them. When a customer asks for their data to be deleted, it becomes hard to answer that it was. That is why we do not use customers' inputs, outputs or documents to train models. For outside AI services too, we check separately in the contract terms whether inputs are used for training and how long they are kept.
Question logs are customer records too
The last path is the questions themselves. A question like "We raised the peak on line 2 by a few degrees and it is still sticky under the QFN" carries raw operating conditions, more than any answer does. Question logs flow into development trace views, error analysis and evaluation set building, passing before many eyes. If they pile up in one trace view with no customer separation, splitting the indexes comes to nothing on the log side. The same goes for logs left on the outside AI service's side.
When logs are deleted, the copies in trace views and evaluation sets must go with them. We keep question logs separately for each customer, use them to build evaluation sets only for that customer's own evaluation, and delete the copies on the same day.
Putting it to work
Before sending process records to a supplier's technical support or AI tool, write the material you will send into two lists.
What can be mixed is material that says nothing about your plant no matter whose question it turns up in. Soldering standards and test methods, published papers, product TDS and SDS, and public regulatory documents belong here. A supplier can keep this material in one shared index read by every customer's case without any problem.
What must not be mixed is the reflow profile and whether nitrogen is used, whether there is a cleaning step, the history of residue defects and surface insulation resistance test results, board photos, question logs, and the judgments the supplier's engineers have made about your plant. For each item on this list, get four answers from the supplier and write them down: which index it goes into, who can open that index, whether it is used for training, and where and for how long question logs are kept. If even one is blank, that item does not go out yet. If your company runs a supplier security checklist, the four questions can move straight into it as items.
The hard part is the line between the two lists. A flux TDS is on the first list, but which plant uses that flux with what profile is on the second. If a TDS file goes into the shared index with a one-line note attached, such as "Used on plant A line 2, residue down after peak adjustment," that one line carries the second list over into the first. Whether the supplier strips such notes before loading shared material is worth asking along with the four questions.
Conclusion
There are four paths to block first when customer data goes into AI, and all four are blocked by structure outside the model: indexes split by customer, permissions where search is called, exclusion from training, and logs split by customer. In records built up this way, the evidence for an answer comes from that plant's own history, and there is no place for another plant's sentence to cut in. In the AI of a supplier you can trust with your process records, your records open only in your own case.
Supplier security checklists from electronics customers have begun to add lines asking whether AI is used, what data it reads and how it is separated by customer. Chemical suppliers that take in process records will likely have to write answers on the same lines at their next supplier audit.
Today that sentence exists only in the first plant's index.
Sources
- Carlini, N., Tramèr, F., Wallace, E., et al. (2021). Extracting training data from large language models. 30th USENIX Security Symposium. arXiv:2012.07805. https://arxiv.org/abs/2012.07805
- Carlini, N., Ippolito, D., Jagielski, M., Lee, K., Tramèr, F., Zhang, C. (2023). Quantifying memorization across neural language models. ICLR 2023. arXiv:2202.07646. https://arxiv.org/abs/2202.07646
- Morris, J. X., Kuleshov, V., Shmatikov, V., Rush, A. M. (2023). Text embeddings reveal (almost) as much as text. EMNLP 2023. arXiv:2310.06816. https://arxiv.org/abs/2310.06816
- OWASP. (2025). LLM08:2025 Vector and Embedding Weaknesses. OWASP Top 10 for LLM Applications 2025. https://genai.owasp.org/llmrisk/llm082025-vector-and-embedding-weaknesses/