# Personal Data Oversharing

> A defect in which more personal data is collected, kept, logged or exposed than the declared purpose needs.

Record: `architecture:personal-data-oversharing`
Kind: anti-pattern
Layer: [Enforcement Core](https://banes-lab.com/records/layer/enforcement-core.md)
Severity: discouraged
Scope: architecture_evolution
Aliases: Unbounded Data Collection
Canonical: https://banes-lab.com/ontology#architecture-personal-data-oversharing

Listed in [Architecture principles](https://banes-lab.com/api/records/architecture.md), after [Secret Sprawl](https://banes-lab.com/records/architecture/secret-sprawl.md) and before [Observability Noise](https://banes-lab.com/records/architecture/observability-noise.md).

## Repair

- Refactored by: [data_minimization](https://banes-lab.com/records/lexicon/data-minimization.md), field_redaction, purpose_binding, retention_policy
- Detected by: personal_data_in_logs, unused_sensitive_fields, broad_export, missing_data_minimization
- Violated by: Collect, store, log, transmit, or expose more personal data than needed for the declared purpose.
- Measured by: personal-data fields in logs and exports
- Enforced by: privacy review, log redaction rules

## Severity

- [discouraged](https://banes-lab.com/records/vocabulary/severity-discouraged.md)

## Category

- [Anti-patterns](https://banes-lab.com/records/architecture-category/anti-patterns.md)

## Force

- [Architecture evolution](https://banes-lab.com/records/force/architecture-evolution.md)

## Detected by

- [runtime/entrypoints/leak.entrypoint.ts](https://banes-lab.com/source/build/runtime/entrypoints/leak.entrypoint.ts.md)

## Negated by

- [Privacy by Design](https://banes-lab.com/records/architecture/privacy-by-design.md)

## Linked from

- [Anti-patterns](https://banes-lab.com/ontology/principles/architecture-category-anti-patterns.md)
- [Security / Privacy / Compliance / Governance](https://banes-lab.com/ontology/principles/architecture-category-security-privacy-compliance-governance.md)
- [Severity levels](https://banes-lab.com/ontology/schema/the-vocabulary-severity.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
