Security threat models ask who breaks in; privacy threat models ask
who learns what about whom, including insiders and the system itself.
This skill gives the method: LINDDUN categories, privacy attacker
profiles, and data flow analysis that surfaces linkability and
identifiability risks a security review misses.
Quick Workflow
- Draw the data flow diagram: subjects, processes, data stores, and
every flow of personal data.
- Walk each element against LINDDUN: Linkability, Identifiability,
Non-repudiation, Detectability, Disclosure, Unawareness, Non
compliance.
- Profile privacy attackers: the curious insider, the data broker,
the state actor, and the system operator itself.
- For each threat, name the harmed party: it is the data subject,
not the company.
- Rate by severity to the subject and likelihood given the
architecture.
- Turn threats into requirements: PETs, minimization, or process
changes.
- Assign owners and verify at implementation, not just on paper.
- Revisit when data flows change; the model rots fast.
1. LINDDUN walkthrough
# LINDDUN categories with the question each asks:
# Linkability: can two actions be tied to the same person?
# Identifiability: can the person be named from this data?
# Non-repudiation: can the subject deny it later (logs as evidence)?
# Detectability: can an observer tell the subject did something?
# Disclosure: is personal data exposed where it should not be?
# Unawareness: does the subject know this processing happens?
# Non-compliance: does this violate policy or law?
echo "walk every data flow and store against all seven"
#!/usr/bin/env python3
"""Threat register: one row per (element, LINDDUN category) finding."""
threats = [
("analytics pipeline", "Linkability",
"pseudonymous IDs stable across sessions allow profiling",
"rotate IDs per session or add noise"),
("support tickets", "Identifiability",
"agents see full history including unrelated past tickets",
"scope ticket view to the current issue"),
("mobile SDK", "Unawareness",
"location collected though the feature never shows a map",
"remove collection or disclose and get consent"),
]
for el, cat, desc, mitigation in threats:
print(f"[{cat}] {el}\n threat: {desc}\n fix: {mitigation}\n")
2. Data flow diagram essentials
# Minimum viable DFD for privacy:
# - every datastore labeled with whose data and how long
# - every flow labeled with the data categories it carries
# - trust boundaries where the operator changes (your backend vs vendor)
# - the subject's view: what they think happens vs what actually happens
echo "the gap between subject expectation and reality is where threats hide"
Edge cases
- The system is internal only. Insiders are still privacy attackers;
internal tools need the same analysis.
- Machine learning on the data. Models memorize; add extraction and
membership inference to the threats.
- The threat model is done once and filed. Schedule the revisit with
the data flow owner, or it becomes fiction.
Escalation
- High severity threat with no cheap fix: propose the PET
(differential-privacy, anonymization-techniques) or a product
scope change, with the tradeoff explicit.
- Legal classification needed (is this personal data): involve
counsel; engineers should not make that call alone.
Detection and defender view
Privacy threats are detected by design review, not by SIEM: data
flow audits, schema change gates, and periodic re modeling. The
"defender" here is the design itself plus the DPO's oversight.
Durable practice: make the threat model a living doc owned by the
team, reviewed on every architecture change, with mitigations
tracked like security bugs.
Key references
- LINDDUN methodology (linddun.org): categories and process.
- NIST Privacy Framework: threat modeling context.
- Related skills: privacy-impact-assessment, differential-privacy.
1---2name: privacy-threat-model3description: Use when building a privacy threat model for a system you4 design or review. Covers LINDDUN methodology, attacker profiling for5 privacy, linkability and identifiability analysis, and turning the6 model into engineering requirements. Also use when a security threat7 model misses the privacy harms.8version: 1.0.09domain: privacy10lifecycle: stable11last_verified: '2026-10-23'12requires: []13extends: []14relates: [privacy-impact-assessment, data-minimization, gdpr-engineering]15tools:16 - name: Python17 version: '3.12'18metadata:19 source: https://skillmd.com/skills/mizazhaider-ceh/privacy-threat-model20---2122Security threat models ask who breaks in; privacy threat models ask23who learns what about whom, including insiders and the system itself.24This skill gives the method: LINDDUN categories, privacy attacker25profiles, and data flow analysis that surfaces linkability and26identifiability risks a security review misses.2728## Quick Workflow29301. Draw the data flow diagram: subjects, processes, data stores, and31 every flow of personal data.322. Walk each element against LINDDUN: Linkability, Identifiability,33 Non-repudiation, Detectability, Disclosure, Unawareness, Non34 compliance.353. Profile privacy attackers: the curious insider, the data broker,36 the state actor, and the system operator itself.374. For each threat, name the harmed party: it is the data subject,38 not the company.395. Rate by severity to the subject and likelihood given the40 architecture.416. Turn threats into requirements: PETs, minimization, or process42 changes.437. Assign owners and verify at implementation, not just on paper.448. Revisit when data flows change; the model rots fast.4546## 1. LINDDUN walkthrough4748```bash49# LINDDUN categories with the question each asks:50# Linkability: can two actions be tied to the same person?51# Identifiability: can the person be named from this data?52# Non-repudiation: can the subject deny it later (logs as evidence)?53# Detectability: can an observer tell the subject did something?54# Disclosure: is personal data exposed where it should not be?55# Unawareness: does the subject know this processing happens?56# Non-compliance: does this violate policy or law?57echo "walk every data flow and store against all seven"58```5960```python61#!/usr/bin/env python362"""Threat register: one row per (element, LINDDUN category) finding."""63threats = [64 ("analytics pipeline", "Linkability",65 "pseudonymous IDs stable across sessions allow profiling",66 "rotate IDs per session or add noise"),67 ("support tickets", "Identifiability",68 "agents see full history including unrelated past tickets",69 "scope ticket view to the current issue"),70 ("mobile SDK", "Unawareness",71 "location collected though the feature never shows a map",72 "remove collection or disclose and get consent"),73]74for el, cat, desc, mitigation in threats:75 print(f"[{cat}] {el}\n threat: {desc}\n fix: {mitigation}\n")76```7778## 2. Data flow diagram essentials7980```bash81# Minimum viable DFD for privacy:82# - every datastore labeled with whose data and how long83# - every flow labeled with the data categories it carries84# - trust boundaries where the operator changes (your backend vs vendor)85# - the subject's view: what they think happens vs what actually happens86echo "the gap between subject expectation and reality is where threats hide"87```8889## Edge cases9091- The system is internal only. Insiders are still privacy attackers;92 internal tools need the same analysis.93- Machine learning on the data. Models memorize; add extraction and94 membership inference to the threats.95- The threat model is done once and filed. Schedule the revisit with96 the data flow owner, or it becomes fiction.9798## Escalation99100- High severity threat with no cheap fix: propose the PET101 (differential-privacy, anonymization-techniques) or a product102 scope change, with the tradeoff explicit.103- Legal classification needed (is this personal data): involve104 counsel; engineers should not make that call alone.105106## Detection and defender view107108Privacy threats are detected by design review, not by SIEM: data109flow audits, schema change gates, and periodic re modeling. The110"defender" here is the design itself plus the DPO's oversight.111Durable practice: make the threat model a living doc owned by the112team, reviewed on every architecture change, with mitigations113tracked like security bugs.114115## Key references116117- LINDDUN methodology (linddun.org): categories and process.118- NIST Privacy Framework: threat modeling context.119- Related skills: privacy-impact-assessment, differential-privacy.