# AI privacy

> Canonical: https://skillalmanac.com/glossary/ai-privacy | Last verified: 2026-11-24 | Index status: not offered to search engines

AI privacy is the practice of protecting personal or sensitive information that AI systems collect, use, share or store. That is IBM's definition.

Also called: privacy and AI, AI data privacy, LLM privacy, AI privacy risks.

## In plain language

AI privacy is about what happens to personal information when an AI system touches it. When you paste a customer email into a chatbot, that text goes to the company running the model, and the company's terms decide how long it is kept and whether it is used for anything else. Privacy also covers the data a model was trained on. The main limitation is that you often cannot see inside a system to check, so you rely on its documentation and settings. The risk is exposing someone's health, financial or other sensitive details, so remove what the task does not need before it leaves your machine.

## Technical definition

IBM lists six privacy risks in AI: collection of sensitive data, collection without consent, use without permission, unchecked surveillance and bias, data exfiltration, and data leakage, the accidental exposure of sensitive data. Its listed practices, drawn from the OSTP document IBM links as the Blueprint for an AI Privacy Bill of Rights, include risk assessments across the lifecycle, limiting collection, confirming consent, and security measures such as cryptography, anonymization and access controls. NIST describes privacy as the norms and practices that help to safeguard human autonomy, identity and dignity. Prompt injection is named by IBM as one route to data exfiltration.

## How it shows up when you use agents

A coding agent reads files, runs commands and sends what it reads to a model provider as part of the prompt. That makes privacy a practical question about your working folder. A `.env` file, a customer export or a PDF with author metadata can all end up in an agent's context if the agent opens them, and the provider's data terms then apply. This is also how [shadow AI](/glossary/shadow-ai) happens: someone pastes work data into a tool nobody approved.

What breaks when it is misunderstood: people assume a prompt stays private because the chat looks private, or that deleting text from a document removed it. The terms of the provider you use state what is kept and for how long, so read them for the plan you are on.

Next actions:

- Remove what the task does not need before it leaves your machine; the [sensitive data redaction](/skills/skill-almanac/sensitive-data-redaction) skill replaces identifiers with placeholders.
- Check files you share for hidden metadata with the [PDF metadata privacy check](/skills/skill-almanac/pdf-metadata-privacy-check).
- Treat untrusted content an agent reads as a risk to your data; see [prompt injection](/glossary/prompt-injection).

## Common confusions

- **Privacy versus security.** Security keeps unauthorised people out. Privacy is about whether personal information should be collected and used at all. IBM lists both leakage and collection without consent as privacy risks.
- **Privacy versus confidentiality of code.** A trade secret and a person's health record are different things, and different rules apply to them. The same redaction habits help with both.
- **Redacted versus hidden.** A black box drawn over PDF text leaves the text in the file. The [redaction guide](/learn/redact-a-pdf-without-leaking-text) shows how to confirm it is gone.
- **Myth.** Anonymised data is safe to share without further thought. IBM lists anonymization alongside cryptography and access controls among its security practices, so treat it as one measure among several.

## Worked examples in this catalogue

### [sensitive-data-redaction](https://skillalmanac.com/skills/skill-almanac/sensitive-data-redaction)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A file with emails, phones, cards, IBANs, keys, IPs and listed names replaced by consistent placeholders before you share it.

Why it exercises the concept: Text you send to a model leaves your machine. Replacing identifiers first removes them from what is sent, which is the data-minimisation habit IBM lists.

### [pdf-metadata-privacy-check](https://skillalmanac.com/skills/skill-almanac/pdf-metadata-privacy-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A PDF's document metadata checked for personal names, e-mail addresses and local file paths before the file is shared.

Why it exercises the concept: Personal details can sit in file metadata as well as in visible text. The check covers the part people forget before they upload a file.

### [env-file-exposure-check](https://skillalmanac.com/skills/skill-almanac/env-file-exposure-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A project folder checked for committed environment files and secret-shaped values, reported with file, line and a masked value.

Why it exercises the concept: Secrets in a repository can reach an agent's context when it reads files. Finding them first is a related data-exposure step, though it concerns credentials rather than personal data.

### [Redact a PDF Without Leaving the Text Behind](https://skillalmanac.com/learn/redact-a-pdf-without-leaking-text)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A drawn black box does not remove PDF text; the guide has you apply redactions and then extract the text again to confirm nothing is left.

Why it exercises the concept: It shows how to check that sensitive text is actually gone before a document is sent to a person or a model.

## Related terms

- [Responsible AI](https://skillalmanac.com/glossary/responsible-ai.md)
- [Prompt injection](https://skillalmanac.com/glossary/prompt-injection.md)
- [Training data](https://skillalmanac.com/glossary/training-data.md)
- [AI governance](https://skillalmanac.com/glossary/ai-governance.md)
- [Shadow AI](https://skillalmanac.com/glossary/shadow-ai.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [Federated learning](https://skillalmanac.com/glossary/federated-learning.md)
- [Machine unlearning](https://skillalmanac.com/glossary/machine-unlearning.md)
- [Differential privacy](https://skillalmanac.com/glossary/differential-privacy.md)

## Sources

- [What is AI privacy?](https://www.ibm.com/think/topics/ai-privacy), IBM (accessed 2026-11-24)
- [AI RMF Playbook: Characteristics of trustworthy AI systems](https://airc.nist.gov/airmf-resources/airmf/3-sec-characteristics/), NIST (accessed 2026-11-24)
- [OECD AI Principles](https://oecd.ai/en/ai-principles), OECD.AI (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
