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
- Name the feature's data flows before writing code - what personal
data, from whom, to which systems, for which purpose.
- Map threats to privacy for each flow - linkage, identification,
disclosure, overcollection, and loss of user control.
- Select a control for each threat at the design stage, not after
the feature ships, and record it against the threat.
- Review defaults line by line - visibility, sharing, retention, and
notifications must all start at the most protective setting.
- Check the user controls - can people see, correct, export, and
delete their data, and is consent granular and revocable.
- Verify the data handling in code and configuration - the checklist
is evidence backed, with queries, configs, or test results, not
assertions.
- 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
#!/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
# 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
#!/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
# 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
1---2name: privacy-by-design-checklist3description: "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."4version: "1.0.0"5domain: privacy6lifecycle: stable7last_verified: "2026-10-27"8parent: privacy-threat-model9requires: [privacy-threat-model]10extends: []11relates: [data-minimization, privacy-impact-assessment, gdpr-engineering]12tools:13 - name: Python14 version: "3.12"15 - name: curl16 version: "8.5"17metadata:18 source: https://skillmd.com/skills/mizazhaider-ceh/privacy-by-design-checklist19---2021Privacy by design means privacy is built into a feature from the first22architecture sketch, not bolted on before launch. Privacy by default23means the out of the box settings protect the user, and sharing more24is a deliberate choice, not the starting point. This sub-skill turns25those principles into a launch gate checklist - concrete checks at26each design stage, with evidence, so a review meeting can say pass or27fail instead of "looks fine". Use it at design review, at code review28for data handling changes, and as a mandatory line on the launch29checklist.3031## Quick Workflow32331. Name the feature's data flows before writing code - what personal34 data, from whom, to which systems, for which purpose.352. Map threats to privacy for each flow - linkage, identification,36 disclosure, overcollection, and loss of user control.373. Select a control for each threat at the design stage, not after38 the feature ships, and record it against the threat.394. Review defaults line by line - visibility, sharing, retention, and40 notifications must all start at the most protective setting.415. Check the user controls - can people see, correct, export, and42 delete their data, and is consent granular and revocable.436. Verify the data handling in code and configuration - the checklist44 is evidence backed, with queries, configs, or test results, not45 assertions.467. Sign off at the launch gate, with open items either closed or47 accepted in writing by a named owner, and schedule the post launch48 recheck.4950## 1. Threat to privacy mapping per data flow5152```python53#!/usr/bin/env python354"""Threat mapping - every flow gets its threats and its controls."""55FLOWS = [56 # (flow, threats, controls)57 ("profile photo upload",58 ["unintended disclosure via public URL", "biometric inference from photo"],59 ["private by default storage", "no facial recognition without explicit opt in"]),60 ("friend suggestion from contacts",61 ["linkage across users", "overcollection of full address book"],62 ["on device matching", "upload hashes only, never raw contacts"]),63 ("activity feed",64 ["inference of location and routine", "retention beyond user expectation"],65 ["coarse timestamps", "auto expiry after 90 days"]),66]67for flow, threats, controls in FLOWS:68 print(f"Flow: {flow}")69 for threat in threats:70 print(f" threat: {threat}")71 for control in controls:72 print(f" control: {control}")73 print(" Rule - a flow with a threat and no control is a launch blocker.")74```7576## 2. Defaults review - the by default gate7778```bash79# Defaults to verify in configuration and in the shipped product80# (check each one and record pass or fail with evidence)81# 1. New profiles are private, not public, until the user changes it.82# 2. Sharing with third parties is off until the user opts in.83# 3. Analytics and marketing identifiers are off until consent is given.84# 4. Retention defaults to the shortest period the purpose allows.85# 5. Notifications that reveal personal data are off or redacted by default.86# 6. Search indexing of user content is off by default.87# 7. Data export and deletion are reachable without contacting support.88echo "Failing any single default check blocks the launch gate until fixed"89echo "or formally accepted in writing by the feature owner and the privacy owner."90```9192## 3. Launch gate checklist as code9394```python95#!/usr/bin/env python396"""Launch gate - every check must pass or carry a written acceptance."""97CHECKS = [98 ("Data flows documented and signed off", True, ""),99 ("Every field has a purpose and legal basis", True, ""),100 ("Defaults are the most protective setting", False, ""),101 ("User can export and delete their data", True, ""),102 ("Consent is granular and revocable", True, ""),103 ("Retention and deletion jobs verified running", False, ""),104 ("Third party SDK data flows reviewed", True, ""),105 ("Incident plan covers this feature's data", True, ""),106]107blockers = [name for name, passed, _ in CHECKS if not passed]108for name, passed, _ in CHECKS:109 print(f"{'PASS' if passed else 'FAIL'} - {name}")110print()111if blockers:112 print(f"LAUNCH BLOCKED - {len(blockers)} open check(s):")113 for blocker in blockers:114 print(f" - {blocker}")115else:116 print("LAUNCH GATE PASSED - file this checklist with the release record.")117```118119## 4. Post launch recheck evidence120121```markdown122# Post launch recheck - template (run 30 days after launch)123124- Data actually collected matches the documented flows: (yes or no, with query evidence)125- Defaults still protective in production config: (yes or no, with config snapshot)126- User control usage (export, delete, opt out counts): (numbers)127- New third party requests observed since launch: (list, or none)128- Incidents or complaints involving this feature: (list, or none)129- Recheck verdict: (keep, adjust defaults, or restrict the feature)130```131132## Edge cases133134- Internal tools deserve the same gate. An admin dashboard with135 unrestricted export is a privacy failure even though no customer136 ever sees it, so apply the checklist to internal features too.137- Defaults set by a platform or SDK are still your defaults. If a138 third party library ships with tracking on, shipping it unchanged139 is your choice, and your launch gate finding.140- Children's data and vulnerable users raise the bar. Features141 likely to be used by children need higher default protection and142 age appropriate design checks, not just the standard gate.143- A feature can pass every check and still fail in combination with144 another feature. Review combined flows (for example, location plus145 social graph) at the product level, not only per feature.146- "Accepted risk" must name a person and a date. An anonymous147 acceptance with no expiry is how launch blockers quietly become148 permanent design.149150## Key references151152- GDPR Article 25 - data protection by design and by default153- Ann Cavoukian - 7 foundational principles of privacy by design154- ISO/IEC 27550 - privacy engineering principles155- LINDDUN privacy threat modeling framework156- Parent skill privacy-threat-model - privacy threat modeling foundations