# Privacy By Design Checklist

> Use when a design, architecture review, or launch gate needs privacy by design and by default checked systematically. Covers default settings review, threat to privacy mapping, control selection at each design stage, data flow sign off, and launch gate evidence. Use when a feature enters design review, when defaults expose more than needed, or when a launch checklist has no privacy line.

- Skill: `mizazhaider-ceh/privacy-by-design-checklist` (Agent Skill)
- Install (CLI): `npx get-skill add mizazhaider-ceh/privacy-by-design-checklist`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mizazhaider-ceh/privacy-by-design-checklist/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: mizazhaider-ceh (https://skillmd.com/u/mizazhaider-ceh)
- Updated: 2026-11-22
- Page: https://skillmd.com/skills/mizazhaider-ceh/privacy-by-design-checklist

---


Privacy by design means privacy is built into a feature from the first
architecture sketch, not bolted on before launch. Privacy by default
means the out of the box settings protect the user, and sharing more
is a deliberate choice, not the starting point. This sub-skill turns
those principles into a launch gate checklist - concrete checks at
each design stage, with evidence, so a review meeting can say pass or
fail instead of "looks fine". Use it at design review, at code review
for data handling changes, and as a mandatory line on the launch
checklist.

## Quick Workflow

1. Name the feature's data flows before writing code - what personal
   data, from whom, to which systems, for which purpose.
2. Map threats to privacy for each flow - linkage, identification,
   disclosure, overcollection, and loss of user control.
3. Select a control for each threat at the design stage, not after
   the feature ships, and record it against the threat.
4. Review defaults line by line - visibility, sharing, retention, and
   notifications must all start at the most protective setting.
5. Check the user controls - can people see, correct, export, and
   delete their data, and is consent granular and revocable.
6. Verify the data handling in code and configuration - the checklist
   is evidence backed, with queries, configs, or test results, not
   assertions.
7. Sign off at the launch gate, with open items either closed or
   accepted in writing by a named owner, and schedule the post launch
   recheck.

## 1. Threat to privacy mapping per data flow

```python
#!/usr/bin/env python3
"""Threat mapping - every flow gets its threats and its controls."""
FLOWS = [
    # (flow, threats, controls)
    ("profile photo upload",
     ["unintended disclosure via public URL", "biometric inference from photo"],
     ["private by default storage", "no facial recognition without explicit opt in"]),
    ("friend suggestion from contacts",
     ["linkage across users", "overcollection of full address book"],
     ["on device matching", "upload hashes only, never raw contacts"]),
    ("activity feed",
     ["inference of location and routine", "retention beyond user expectation"],
     ["coarse timestamps", "auto expiry after 90 days"]),
]
for flow, threats, controls in FLOWS:
    print(f"Flow: {flow}")
    for threat in threats:
        print(f"  threat: {threat}")
    for control in controls:
        print(f"  control: {control}")
    print("  Rule - a flow with a threat and no control is a launch blocker.")
```

## 2. Defaults review - the by default gate

```bash
# Defaults to verify in configuration and in the shipped product
# (check each one and record pass or fail with evidence)
# 1. New profiles are private, not public, until the user changes it.
# 2. Sharing with third parties is off until the user opts in.
# 3. Analytics and marketing identifiers are off until consent is given.
# 4. Retention defaults to the shortest period the purpose allows.
# 5. Notifications that reveal personal data are off or redacted by default.
# 6. Search indexing of user content is off by default.
# 7. Data export and deletion are reachable without contacting support.
echo "Failing any single default check blocks the launch gate until fixed"
echo "or formally accepted in writing by the feature owner and the privacy owner."
```

## 3. Launch gate checklist as code

```python
#!/usr/bin/env python3
"""Launch gate - every check must pass or carry a written acceptance."""
CHECKS = [
    ("Data flows documented and signed off", True, ""),
    ("Every field has a purpose and legal basis", True, ""),
    ("Defaults are the most protective setting", False, ""),
    ("User can export and delete their data", True, ""),
    ("Consent is granular and revocable", True, ""),
    ("Retention and deletion jobs verified running", False, ""),
    ("Third party SDK data flows reviewed", True, ""),
    ("Incident plan covers this feature's data", True, ""),
]
blockers = [name for name, passed, _ in CHECKS if not passed]
for name, passed, _ in CHECKS:
    print(f"{'PASS' if passed else 'FAIL'} - {name}")
print()
if blockers:
    print(f"LAUNCH BLOCKED - {len(blockers)} open check(s):")
    for blocker in blockers:
        print(f"  - {blocker}")
else:
    print("LAUNCH GATE PASSED - file this checklist with the release record.")
```

## 4. Post launch recheck evidence

```markdown
# Post launch recheck - template (run 30 days after launch)

- Data actually collected matches the documented flows: (yes or no, with query evidence)
- Defaults still protective in production config: (yes or no, with config snapshot)
- User control usage (export, delete, opt out counts): (numbers)
- New third party requests observed since launch: (list, or none)
- Incidents or complaints involving this feature: (list, or none)
- Recheck verdict: (keep, adjust defaults, or restrict the feature)
```

## Edge cases

- Internal tools deserve the same gate. An admin dashboard with
  unrestricted export is a privacy failure even though no customer
  ever sees it, so apply the checklist to internal features too.
- Defaults set by a platform or SDK are still your defaults. If a
  third party library ships with tracking on, shipping it unchanged
  is your choice, and your launch gate finding.
- Children's data and vulnerable users raise the bar. Features
  likely to be used by children need higher default protection and
  age appropriate design checks, not just the standard gate.
- A feature can pass every check and still fail in combination with
  another feature. Review combined flows (for example, location plus
  social graph) at the product level, not only per feature.
- "Accepted risk" must name a person and a date. An anonymous
  acceptance with no expiry is how launch blockers quietly become
  permanent design.

## Key references

- GDPR Article 25 - data protection by design and by default
- Ann Cavoukian - 7 foundational principles of privacy by design
- ISO/IEC 27550 - privacy engineering principles
- LINDDUN privacy threat modeling framework
- Parent skill privacy-threat-model - privacy threat modeling foundations

