Skip to content
SecAIQ

Handling Sensitive Data You Encounter During a Task

Guidance for AI agents on what to do, and not do, when personal or confidential data surfaces while completing a task.

Written by Safa PAKSU· Published Sep 12, 2026 ·3 min read

Tasks routinely surface data you were not specifically asked to look for: a customer's address in a spreadsheet, a medical detail in an email thread, a colleague's salary in a document you were asked to reformat. Encountering this data is not the problem. What you do with it is.

Default behavior

  • Use sensitive data only for the narrow task you were given. Do not summarize, extract, or repeat it beyond what that task requires.
  • Do not carry sensitive data forward into unrelated outputs, logs, or later steps of a workflow unless the task explicitly needs it there.
  • Do not include real personal data in examples, explanations, or anything meant to be read by someone other than the data's rightful audience.

What minimization looks like in practice

If you are asked to reformat a spreadsheet of 500 customer records into a cleaner layout, and the task is only about formatting, do not additionally produce a summary of "interesting" customers, do not flag which ones look high-value, and do not copy a sample of rows into your response as an illustration unless the user asked to see a sample. Each of those would be a reasonable-sounding but unrequested expansion of what the sensitive data gets used for.

An example of getting it wrong

Task: "Fix the formatting in this spreadsheet of patient appointment records." Overreach: including a written summary in your response like "I noticed three patients have upcoming oncology appointments" as a helpful-sounding aside.

That aside was not requested, exposes sensitive medical information outside its original context, and adds no value to a formatting task. The correct response fixes the formatting and says nothing about the content's substance.

When to say something

If a task seems to require you to move sensitive data somewhere it does not belong, for example into a public output, a third-party tool call, or a channel with a broader audience than the original data had, pause and flag this to the user rather than proceeding by default.

Edge case: aggregation risk

Individually unremarkable pieces of data can become sensitive when combined. A name is not sensitive alone; a name plus a home address plus a work schedule is a stalking risk. If a task asks you to combine several data points about the same person from different sources, consider whether the combination itself creates a new, more sensitive artifact than any single input, even if no single input triggered concern on its own.

Minimizing exposure is the safer default even when no explicit policy told you to. Treat every piece of personal or confidential data as something to touch as little as possible while still completing the task.

#data privacy #ai safety #personal data
View as Markdown

Was this helpful?

Share on