Follow private data through an AI service

A resident uses a city housing assistant to report a leaking ceiling, then discovers that a maintenance contractor received private details that had nothing to do with the repair. The assistant may have transmitted those details through a generated work summary rather than shari…

Imagine a city housing department that introduces an assistant to help residents report urgent repairs. A tenant describes water coming through the ceiling, attaches a photograph, and asks whether someone can visit before the weekend. The assistant reads the message, looks up the city's repair procedures, and prepares a case for a human dispatcher. A month later, the department receives a complaint. A maintenance contractor has seen details from a tenant's message that had nothing to do with fixing the leak. The assistant did not necessarily give the contractor the entire original message. It may have copied a revealing phrase into a work summary. To investigate, an auditor needs to know where that phrase traveled.

The original request may contain a name, an address, a telephone number, and a description of the problem. It may also mention a child's illness, an argument with a landlord, or a temporary living arrangement. Those additional details are personal information even though the form was designed for repairs. The department can have a sound reason to collect a location for a repair crew without having the same reason to transmit unrelated family circumstances. The practical privacy question is what information was used, by which component, for what approved purpose, and what happened when the information was no longer needed.

Start at the moment the resident sends the request. The portal might save the photograph and message in a case system. A separate service may turn the image into text. Another step may remove obvious identifiers before preparing a prompt for the model. The model provider may receive that prompt, while the department stores a summary and a record of the exchange. Each step creates a different opportunity for a person to encounter, infer, or retain private information. An application can accurately list the original database and still overlook temporary files, troubleshooting records, or material passed through an outside service.

Bare Metal Cyber's study guide for this certification is a useful follow-up to this part of the lesson. When you review the material on AI inputs and privacy, try reconstructing the resident's request as a sequence of decisions. Identify where the department needed an address, where it only needed a repair category, and where the original message could have been replaced by a smaller amount of information. That exercise is more useful than remembering a list of storage components without knowing why they received the data.

Imagine the dispatcher receives a well-written work order that says the ceiling is wet in the upstairs bedroom and the resident is worried about mold. It also says that the resident is recovering from an illness. A contractor needs the location, access arrangements, and information about the building condition. The illness might be unnecessary. This is an output problem, not simply a question of who could read the original form. The assistant generated a new record with its own audience. Privacy safeguards must apply when content is transformed and passed along, as well as when raw data is first collected.

An auditor can make that observation testable. Select a small, properly authorized sample of repair cases with free-text descriptions. For each one, compare the information the resident supplied with what the dispatcher and contractor actually received. Look at whether the summary includes unrelated details, whether a human can correct it, and whether the product design limits the fields carried to the contractor. A policy saying employees should be discreet does little if the application automatically includes every sentence in the work order. A control that strips unnecessary details before sharing may be more reliable, although it must still preserve facts needed for safe repairs.

Now consider the assistant's knowledge source. The city has maintenance guidance describing what counts as an emergency, which contractors can perform electrical work, and when a tenant should be advised to seek immediate help. To answer questions, the assistant retrieves relevant passages. This is often called retrieval-augmented generation. The model is given selected material while preparing the answer. The retrieval service may also search case histories so the assistant can tell a resident whether a previous visit occurred. That second source changes the privacy picture because individual records can appear inside the model's working context.

Suppose the repair-history index combines cases from several apartment buildings. A person who asks about their own unit should not receive details about a neighbor's complaint just because the complaints mention the same pipe. If the retrieval tool searches first and checks access only after producing an answer, confidential material may already have entered the model's context. The output filter might hide it from the resident, but that does not prove the underlying handling was appropriate. Stronger design can restrict retrieval before the private passage is supplied. The auditor needs evidence that those restrictions operate under the application's actual permissions, not merely in a database administrator's demonstration.

The same issue can arise when a service account has broader access than the person using the assistant. The application may connect to a case repository through one privileged identity. Without effective authorization at the request level, that technical convenience can make records available across residents, contractors, or staff roles. Testing should include ordinary people with different entitlements, a person whose access was recently removed, and a contractor who should see only assigned jobs. An apparently harmless request can expose an authorization gap without any attacker attempting an elaborate exploit.

One easy mistake is to treat an embedding as proof that information is anonymous. A search system may convert text into a numerical representation that helps find passages with related meaning. That representation is not a normal readable sentence, but it remains connected to a source document and may support searching, linkage, or disclosure in certain conditions. The organization must still decide how the index is protected, how access restrictions follow its source records, and how a corrected or removed source changes the search results. Renaming data as a vector does not settle the privacy question.

Prompts and responses deserve the same attention. An engineer may enable detailed debugging to understand why the assistant fails to classify a repair request. Debugging records can contain the resident's original text, the retrieved history, the model's draft answer, and a system identifier that links the exchange to a person. Those records may be copied into a monitoring service or sent to a support vendor. The department could delete the main case record according to its schedule while keeping a much more revealing transcript elsewhere. The auditor should ask how the logging setting was chosen, who can read the records, and what happens when the setting changes.

For a second optional reference, Bare Metal Cyber's Cyber Wiki entry on Data Flow Mapping for Privacy offers a way to examine that hidden movement. After listening, use the housing example to follow a single sensitive phrase from the resident's message through storage, model context, troubleshooting logs, and the contractor's final work order. The useful distinction is between a diagram that says two systems are connected and evidence showing what information was actually transferred between them.

Vendor promises need to be interpreted narrowly. An outside model provider may say that customer prompts are not used to train a general model. That does not necessarily mean prompts are never processed, temporarily retained, inspected for abuse, or copied into diagnostics. The contract, selected service tier, administrative settings, and documented operational behavior determine what can reasonably be concluded. An auditor would want to know which provider handled the request, under which service configuration, what subprocessors were involved where relevant, and how the organization verifies its own restrictions. A reassuring product slogan is not sufficient evidence.

There is another distinction between training and ordinary use. The housing assistant might use an existing general-purpose model without training it on tenant requests. It can still expose personal information through a prompt, a retrieval result, or an output. Later, a product manager might propose fine-tuning the model on thousands of closed repair cases so it writes better summaries. That is a material new handling decision. Previously collected personal descriptions could become training examples, with different retention, testing, and potential memorization risks. Approval for handling a repair request does not automatically approve every later model-improvement project.

What about removing names first? Replacing a tenant's name with a case number can reduce casual identification. Yet an exact apartment location, date, building photograph, and unusual personal story may still identify that person to a contractor who knows the area. Information can also become identifiable by combining it with another dataset. Pseudonymization may be valuable, especially when access to the linking record is separated, but its effectiveness depends on context. The same text may be low risk in one environment and revealing in another. An auditor should test the residual risk instead of accepting a universal claim of anonymity.

Models can also produce new sensitive information. A repair assistant may infer that a household has a medical vulnerability from a discussion of ventilation, even if the tenant did not explicitly request that classification. If the inference is placed in the case file and later treated as an established fact, privacy and accuracy problems reinforce each other. The organization should distinguish what a person reported from what the model inferred, limit unnecessary inferences, and make corrections possible. Merely removing a sensitive input field does not guarantee that outputs cannot reveal or speculate about sensitive circumstances.

Then there is memory. Some assistants remember earlier exchanges so a resident need not repeat the case number. That convenience can create another collection of personal information. The organization needs to know whether memory belongs to one session, one account, or a shared device, and whether an authorized user can clear or correct it. A household member borrowing a phone should not automatically inherit another person's private repair narrative. Testing the assistant after a session ends can reveal more than a design document describing memory in general terms.

When a resident asks the city to correct or remove information, the answer may require several systems to cooperate. A case record can be corrected, but the search index may still carry an old description. A prompt log might have its own retention setting, and a contractor could have copied the summary into a separate work platform. Requests must be evaluated under the applicable obligations and legitimate retention needs, so not every record can necessarily disappear immediately. The essential control is a defensible process that identifies affected copies, performs the required action, records exceptions, and checks the result.

Removing a source record is different from removing its possible influence on a trained model. If the city has fine-tuned a model on historical repair narratives, deleting one training file may not undo the model changes already produced. Depending on the architecture and circumstances, meaningful remediation might involve preventing future training use, replacing a model, retraining, or other evaluated techniques. An auditor should resist a vendor statement that promises perfect unlearning without evidence. Equally, an auditor should not assume that retraining is always required. The right conclusion depends on the affected information, applicable obligation, available method, and demonstrated result.

Privacy testing should look beyond a handful of artificial attack prompts. Normal employees may paste a complete tenant history into a question because doing so seems helpful. A dispatcher may forward an answer without seeing the raw personal information embedded in it. A contractor may use a shared login because the job is urgent. Those practices are foreseeable conditions of use, not exotic abuses. The audit can examine interface defaults, training, permissions, and samples of real operating records under appropriate access. If people must consistently notice and remove hidden private details themselves, the control design may be too fragile.

Monitoring gives the department an opportunity to notice problems that tests did not predict. A privacy complaint, unusual access to an unrelated building, an unexpected increase in prompt retention, or sensitive wording in contractor summaries could each justify investigation. Useful monitoring must connect a signal to a responsible team and an action. A dashboard with thousands of blocked requests is less persuasive than evidence that genuine exposures were investigated, affected records were corrected, access was restricted where necessary, and the same failure did not recur. The response should also distinguish an accidental disclosure from an approved user making an unauthorized secondary use.

Imagine an auditor choosing one repair case to trace. The authorized inquiry would begin at collection and establish what the resident was told. It would then follow what entered the model request, what retrieved passages were supplied, what was logged, who saw the summary, what the contractor received, and how long the relevant records remained. The auditor does not need to reproduce a resident's private details in the report. A carefully restricted sample, redacted evidence, system configuration, and independent retesting can demonstrate the issue while avoiding further exposure. Audit evidence should not become a new uncontrolled privacy dataset.

Suppose the investigation confirms that the assistant sent unnecessary health information to contractors. The immediate correction might stop the field from flowing into work orders and review affected cases for further action. The deeper correction would address why the summary generator lacked a purpose boundary, why the application allowed sensitive free text to pass through, and why testing failed to include a realistic resident story. A change to the model's wording alone may leave the data path intact. A durable fix is measured by changed information handling and repeatable tests, not by the number of documents updated.

The city can still offer a faster and more useful repairs service. Residents benefit when urgent leaks reach the right crew promptly, and contractors benefit when they receive enough context to do safe work. Those benefits do not require every personal detail to accompany the request through the entire system. By the time the auditor finishes following one phrase from the resident's original message to the contractor's work order, the question has become precise: did each recipient and component receive only information appropriate to its role, and can the city prove what happened afterward?

Follow private data through an AI service
Broadcast by