本文へ移動
cccskills
無料GitHub で公開

applying-privacy-design-patterns

Systematic application of the eight privacy design patterns per Hoepman: minimize, hide, separate, abstract, inform, control, enforce, and demonstrate. Covers pattern selection methodology per processing activity, mapping to GDPR principles, and practical implementation guidance for privacy-by-design system architecture.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md11.2 KB
  • assets/template.md3.1 KB
  • references/standards.md2.6 KB
  • references/workflows.md3.8 KB
  • scripts/process.py12.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Applying Privacy Design Patterns

Overview

Privacy design patterns provide reusable architectural solutions for implementing data protection principles in system design. Jaap-Henk Hoepman's framework (2014, expanded in "Privacy Design Strategies: The Eight Strategies for GDPR Compliance") defines eight privacy design strategies organized into two categories: data-oriented strategies (minimize, hide, separate, abstract) that focus on the processing of personal data itself, and process-oriented strategies (inform, control, enforce, demonstrate) that focus on the organizational processes surrounding data processing.

These patterns directly implement GDPR Article 25(1) data protection by design and map to specific GDPR principles under Article 5.

The Eight Privacy Design Patterns

Data-Oriented Strategies

1. MINIMIZE

Principle: Limit the processing of personal data as much as possible.

GDPR mapping: Article 5(1)(c) data minimization, Article 25(2) by default.

Sub-patterns:

Sub-patternDescriptionImplementation
Select before collectDetermine which data is necessary before designing collection interfacesAPI allowlists, form field audits
ExcludeRemove unnecessary data elements from collectionSchema validation rejecting non-required fields
StripRemove identifying information as soon as possible after collectionPseudonymization at ingestion boundary
DestroyDelete data as soon as the purpose is fulfilledTTL-based automated deletion

Prism Data Systems AG Implementation: The customer onboarding API at Prism Data Systems AG validates incoming requests against a strict allowlist. The /api/v2/register endpoint accepts only email, display_name, and country_code. The date_of_birth field is collected only during age verification and is converted to a boolean is_age_verified within 24 hours, with the raw date destroyed.

2. HIDE

Principle: Protect personal data, or make it unlinkable or unobservable.

GDPR mapping: Article 5(1)(f) integrity and confidentiality, Article 32(1)(a) encryption and pseudonymisation.

Sub-patterns:

Sub-patternDescriptionImplementation
EncryptApply cryptographic protection to data at rest and in transitAES-256-GCM field-level encryption, TLS 1.3
HashReplace identifiers with irreversible digestsSHA-256 for log anonymization
MixCombine data from multiple subjects to prevent singling outk-anonymity, differential privacy noise
ObfuscateAdd noise or perturbation to prevent precise inferenceDifferential privacy, data masking
DissociateBreak the link between data and identityPseudonymization with separated key storage

Prism Data Systems AG Implementation: All personally identifiable fields are encrypted with per-field AES-256-GCM Data Encryption Keys (DEKs) managed in AWS KMS. Customer identifiers entering the analytics pipeline are pseudonymized via HMAC-SHA256 with keys stored in a Hardware Security Module physically separated from analytics infrastructure.

3. SEPARATE

Principle: Process personal data in a distributed fashion, preventing correlation.

GDPR mapping: Article 5(1)(b) purpose limitation, Article 25(1) by design.

Sub-patterns:

Sub-patternDescriptionImplementation
IsolateProcess different categories of data in separate systemsPurpose-partitioned databases, microservice isolation
DistributeSpread data across multiple locations to prevent single-point accessFederated learning, SMPC, sharding

Prism Data Systems AG Implementation: Prism Data Systems AG maintains purpose-partitioned PostgreSQL databases: the authentication database stores only credential-related data, the billing database stores only financial data, and the analytics warehouse stores only pseudonymized event data. No single database contains a complete profile of any customer. Cross-purpose joins require explicit compatibility assessment per Article 6(4).

4. ABSTRACT

Principle: Limit the detail of personal data as much as possible.

GDPR mapping: Article 5(1)(c) data minimization, Recital 26 anonymization.

Sub-patterns:

Sub-patternDescriptionImplementation
SummarizeReplace detailed data with aggregated summariesAggregate reporting with minimum group size 11
GroupGeneralize values to broader categoriesAge ranges instead of exact ages, region instead of postal code
PerturbAdd randomness to exact valuesDifferential privacy, random rounding

Prism Data Systems AG Implementation: Customer age is stored as a 5-year bracket (e.g., "25-29") rather than exact date of birth. Geographic data is generalized from full postal code to canton-level. Analytics dashboards enforce a minimum group size of 11 records per cell, with smaller groups suppressed and displayed as "< 11."

Process-Oriented Strategies

5. INFORM

Principle: Inform data subjects about the processing of their personal data.

GDPR mapping: Articles 12-14 transparency obligations.

Sub-patterns:

Sub-patternDescriptionImplementation
SupplyProactively provide privacy informationLayered privacy notices, just-in-time notifications
NotifyAlert data subjects about processing eventsEmail notifications for new data access, breach notifications
ExplainProvide meaningful explanations of processing logicExplainable AI outputs, processing purpose descriptions

Prism Data Systems AG Implementation: A layered privacy notice is presented at every data collection point. The first layer is a plain-language summary (Flesch-Kincaid grade 8). The second layer provides full Article 13 information. Just-in-time notifications appear when a new feature requires additional data: "To activate bulk export, Prism Data Systems AG needs to process your API usage history."

6. CONTROL

Principle: Provide data subjects with control over the processing of their personal data.

GDPR mapping: Articles 15-22 data subject rights, Article 7(3) consent withdrawal.

Sub-patterns:

Sub-patternDescriptionImplementation
ConsentObtain and manage consent for each processing purposeGranular consent UI with unticked defaults
ChooseAllow data subjects to select processing optionsPrivacy preference center
UpdateEnable data subjects to correct their dataSelf-service profile editing
RetractEnable data subjects to withdraw consent or request erasureOne-click consent withdrawal, erasure request workflow

Prism Data Systems AG Implementation: The Privacy Preference Center at account.prism-data.ch/privacy provides data subjects with granular controls: per-purpose consent toggles, data download (portability), correction interface, and one-click erasure request. Consent withdrawal takes effect within 24 hours and triggers downstream processing cessation.

7. ENFORCE

Principle: Commit to processing personal data in a privacy-friendly way, and enforce this.

GDPR mapping: Article 24 controller responsibility, Article 25(1) by design, Article 28 processor contracts.

Sub-patterns:

Sub-patternDescriptionImplementation
CreateDefine and publish privacy policies and standardsGDPR policy framework, data classification standard
MaintainRegularly update and enforce privacy policiesQuarterly policy reviews, automated compliance checks
UpholdImplement technical enforcement of privacy rulesPurpose-based access control (OPA), automated retention

Prism Data Systems AG Implementation: Privacy policies are enforced technically through Open Policy Agent (OPA) rules that evaluate every data access request against the purpose registry. The CI/CD pipeline includes a privacy gate that blocks deployment of services failing the data minimization assessment. Processor contracts include standard contractual clauses reviewed semi-annually.

8. DEMONSTRATE

Principle: Demonstrate compliance with privacy policies and applicable regulations.

GDPR mapping: Article 5(2) accountability, Article 30 records of processing, Article 35 DPIA.

Sub-patterns:

Sub-patternDescriptionImplementation
RecordMaintain comprehensive records of processing activitiesArticle 30 register, consent logs, DPIA repository
AuditConduct regular privacy auditsQuarterly internal audits, annual external audit
ReportGenerate compliance reports for regulators and managementDPO quarterly report, board privacy report

Prism Data Systems AG Implementation: All data access events are logged in an immutable audit trail with: timestamp, requester identity, purpose declaration, data categories accessed, and authorization decision. The Article 30 register is maintained as a living document updated within 5 business days of any processing change. DPIAs are conducted for all high-risk processing and reviewed annually.

Pattern Selection Methodology

Step 1: Map Processing to GDPR Principles

For each processing activity, identify which GDPR principles are most relevant:

GDPR PrinciplePrimary PatternSupporting Patterns
Data minimization (Art. 5(1)(c))MINIMIZEABSTRACT, HIDE
Purpose limitation (Art. 5(1)(b))SEPARATEENFORCE
Storage limitation (Art. 5(1)(e))MINIMIZE (Destroy)ENFORCE
Integrity & confidentiality (Art. 5(1)(f))HIDEENFORCE
Transparency (Art. 5(1)(a))INFORMDEMONSTRATE
Lawfulness (Art. 5(1)(a))CONTROLENFORCE
Accuracy (Art. 5(1)(d))CONTROL (Update)INFORM
Accountability (Art. 5(2))DEMONSTRATEENFORCE

Step 2: Assess Pattern Applicability

Score each pattern's applicability (1-5) for the specific processing activity.

Step 3: Select and Combine

Select the highest-scoring patterns. Most processing activities require a combination of 3-5 patterns applied at different architectural layers.

Key Regulatory References

  • GDPR Article 5 — Principles relating to processing of personal data
  • GDPR Article 25(1) — Data protection by design
  • GDPR Article 25(2) — Data protection by default
  • EDPB Guidelines 4/2019 on Article 25 Data Protection by Design and by Default
  • Hoepman, J.-H. (2014). "Privacy Design Strategies." IFIP SEC. Extended in "Privacy Design Strategies: The Eight Strategies for GDPR Compliance" (2022).

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Implements 42 CFR Part 2 protections for substance use disorder patient records. Covers written consent requirements stricter than HIPAA, re-disclosure prohibition, court order procedures, qualified service organization agreements, and 2024 amendments aligning Part 2 with HIPAA. Keywords: 42 CFR Part 2, substance use disorder, SUD records, re-disclosure, consent, Part 2 amendments.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Guides assessment of third-country adequacy decisions under GDPR Article 45 for international data transfers. Covers the current EC adequacy decisions list, adequacy assessment criteria, partial adequacy handling, and monitoring of adequacy decision reviews. Keywords: adequacy decision, Article 45, third country, adequate protection, EC adequacy list.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Implements age-gating mechanisms for online services to restrict access based on user age. Covers hard gates versus soft gates, neutral age prompts, re-verification triggers, circumvention prevention, and regulatory requirements under GDPR, COPPA, UK Online Safety Act, and DSA. Keywords: age gate, age restriction, neutral prompt, children, online services, access control.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Evaluates and implements age estimation and verification technologies for online services. Covers facial age estimation, digital ID verification, self-declaration with risk assessment, AI-based age estimation, and the accuracy versus privacy tradeoff. Includes ICO guidance and euCONSENT framework. Keywords: age verification, age estimation, facial analysis, digital ID, children, online safety.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Preparing EU AI Act compliance documentation for high-risk AI systems. Covers Annex III classification, technical documentation under Art. 11, conformity assessment, risk management systems, and CE marking requirements. Keywords: EU AI Act, high-risk AI, Annex III, conformity assessment, CE marking.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

Implements GDPR Art. 22 automated decision-making and AI Act Art. 14 human oversight requirements for AI systems. Covers identification of solely automated decisions, meaningful human intervention design, logic explanation mechanisms, and contestation procedures. Keywords: Art. 22, automated decision, human oversight, AI Act, profiling, contestation.

日本語の概要は準備中です。原文の説明を表示しています。

mukul975/Privacy-Data-Protection-Skills3032026年3月17日 更新

mukul975 のスキルをすべて見る

このスキルの問題を報告する