---
library: "bootstrap"
slug: "DataMinimization"
name: "DataMinimization"
ref: "DataMinimization#e8c8"
hash: "sema:DataMinimization#mh:SHA-256:e8c8cd89b8e187d501000746c5216fef9ea41558a20fde07372881a2948994eb"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/DataMinimization"
---

# DataMinimization

Ingest only what is strictly necessary

Society · Protocols

## Mechanism

Information Hygiene [Protocol](https://semahash.org/vocabularies/bootstrap/patterns/Protocol.md). Before ingesting a [Context](https://semahash.org/vocabularies/bootstrap/patterns/Context.md) or Dataset, the [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) MUST execute a filtering pass to remove all fields/tokens not strictly necessary for the immediate `[Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md).Goal`. This enforces the Principle of Least Privilege for data access. It invokes [InputGuard](https://semahash.org/vocabularies/bootstrap/patterns/InputGuard.md) to filter raw ingress, employing [Select](https://semahash.org/vocabularies/bootstrap/patterns/Select.md) to fetch only required fields and [ContextCompress](https://semahash.org/vocabularies/bootstrap/patterns/ContextCompress.md) to drop transient processing data.

## Invariants

- Ephemeral Processing: Sensitive data used for intermediate steps must be dropped from [Context](https://semahash.org/vocabularies/bootstrap/patterns/Context.md) immediately after use.
- Necessity: Every data field ingested must map to a specific requirement in `[Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md).[AcceptSpec](https://semahash.org/vocabularies/bootstrap/patterns/AcceptSpec.md)`.

## Preconditions

- Raw data source available
- [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) goal defined

## Postconditions

- Clean context created
- Raw source discarded or closed

## Failure modes

- [Context](https://semahash.org/vocabularies/bootstrap/patterns/Context.md) Hoarding: [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) retains sensitive data 'just in case' it is needed later.
- [Correlation](https://semahash.org/vocabularies/bootstrap/patterns/Correlation.md) Attack: Seemingly innocent minimized data points combined to reveal PII.

## Where this came from

—

## Builds on

- [InputGuard](https://semahash.org/vocabularies/bootstrap/patterns/InputGuard.md) (references)
- [Task](https://semahash.org/vocabularies/bootstrap/patterns/Task.md) (references)
- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) (references)
- [Correlation](https://semahash.org/vocabularies/bootstrap/patterns/Correlation.md) (references)
- [Protocol](https://semahash.org/vocabularies/bootstrap/patterns/Protocol.md) (references)
- [Select](https://semahash.org/vocabularies/bootstrap/patterns/Select.md) (references)
- [AcceptSpec](https://semahash.org/vocabularies/bootstrap/patterns/AcceptSpec.md) (references)
- [ContextCompress](https://semahash.org/vocabularies/bootstrap/patterns/ContextCompress.md) (references)
- [Context](https://semahash.org/vocabularies/bootstrap/patterns/Context.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: DataMinimization#e8c8
- Hash: sema:DataMinimization#mh:SHA-256:e8c8cd89b8e187d501000746c5216fef9ea41558a20fde07372881a2948994eb

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/DataMinimization
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/DataMinimization.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
