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

pseudo-vs-anon-data

Classifies data as pseudonymised or anonymised using Recital 26 reasonably likely test, Breyer ruling C-582/14, motivated intruder test, and WP29 Opinion 05/2014 on anonymisation techniques. Covers singling out, linkability, and inference tests. Keywords: pseudonymisation, anonymisation, Recital 26, re-identification, k-anonymity, differential privacy, WP29 Opinion 05/2014.

インストール方法を見る

含まれるファイル(5)

  • SKILL.md14.2 KB
  • assets/template.md8.2 KB
  • references/standards.md4.6 KB
  • references/workflows.md6.7 KB
  • scripts/process.py14.5 KB

SKILL.md(原文)

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

Pseudonymised vs Anonymised Data Classification

Overview

The distinction between pseudonymised and anonymised data is one of the most consequential classifications in data protection law. Pseudonymised data remains personal data subject to the full GDPR (Art. 4(5), Recital 26). Anonymised data falls outside the GDPR entirely (Recital 26). The boundary between them determines whether processing requires a lawful basis, whether data subjects can exercise rights, and whether the data can be freely shared. This skill provides the analytical framework for making this determination, drawing on the CJEU Breyer ruling (C-582/14), the Article 29 Working Party Opinion 05/2014 on Anonymisation Techniques (WP216), and the ICO motivated intruder test.

Legal Definitions

Pseudonymisation — Art. 4(5)

"The processing of personal data in such a manner that the personal data can no longer be attributed to a specific data subject without the use of additional information, provided that such additional information is kept separately and is subject to technical and organisational measures to ensure that the personal data are not attributed to an identified or identifiable natural person."

Key characteristics:

  • Data has undergone a transformation (tokenisation, hashing, encryption)
  • A re-identification key or method exists
  • The key is kept separately from the data
  • Technical and organisational controls protect the key
  • The data REMAINS personal data under GDPR

Anonymisation — Recital 26

"The principles of data protection should therefore not apply to anonymous information, namely information which does not relate to an identified or identifiable natural person or to personal data rendered anonymous in such a manner that the data subject is not or no longer identifiable."

Key characteristics:

  • No means exist that are reasonably likely to be used for identification
  • Assessment considers ALL means reasonably likely, including third-party means
  • Assessment accounts for cost, time, and available technology
  • Assessment considers technological developments over the data retention period
  • Truly anonymised data is NOT personal data — GDPR does not apply

The Three-Criteria Test — WP29 Opinion 05/2014 (WP216)

The Article 29 Working Party established three criteria for evaluating whether anonymisation is effective. Data is NOT anonymised if ANY of the three attacks can succeed:

Criterion 1: Singling Out

Definition: The possibility of isolating some or all records that identify an individual in the dataset.

Test: Can a specific individual be distinguished from all other individuals in the dataset?

Examples of failure:

  • A dataset with unique combinations of age, postcode, and gender that correspond to only one person in the population
  • A dataset with unique transaction patterns that correspond to a single customer
  • Removing a name but retaining a rare medical condition in a small geographic area

Mitigation techniques: k-anonymity (ensure at least k individuals share each combination of quasi-identifiers), aggregation to sufficiently large groups

Criterion 2: Linkability

Definition: The ability to link at least two records concerning the same data subject or a group of data subjects, either within the same dataset or between two separate datasets.

Test: Can records be combined across datasets to build a profile of an individual?

Examples of failure:

  • A hashed email address that can be matched across two datasets released by the same controller
  • A dataset with date of birth, postcode, and hospital visit date that can be linked to public voter registration records
  • Transaction patterns that can be matched with social media activity timestamps

Mitigation techniques: l-diversity, t-closeness, differential privacy noise addition, removing linkable quasi-identifiers

Criterion 3: Inference

Definition: The possibility of deducing, with significant probability, the value of an attribute from the values of a set of other attributes.

Test: Can sensitive information about an individual be inferred from the released data?

Examples of failure:

  • A dataset shows that all patients in a particular age-postcode group have the same diagnosis
  • Salary data for a small department where only one person holds a particular role
  • Aggregate statistics with small cell sizes that reveal individual values

Mitigation techniques: t-closeness (ensure attribute value distribution in each equivalence class is close to the overall distribution), differential privacy, cell suppression for small groups

Assessment Matrix

CriterionPasses?Overall Anonymisation Status
Singling out: NOT possibleLinkability: NOT possibleInference: NOT possible → ANONYMISED
Singling out: possibleAnyAny → NOT anonymised (personal data)
AnyLinkability: possibleAny → NOT anonymised (personal data)
AnyAnyInference: possible → NOT anonymised (personal data)

All three criteria must be satisfied for data to qualify as anonymised.

The Motivated Intruder Test (ICO)

The ICO supplements the WP29 framework with the "motivated intruder" test:

The motivated intruder is:

  • A person who starts without any prior knowledge of the data subject
  • Has access to the dataset and to publicly available resources (internet, public registers, social media, published statistics)
  • Has reasonable competence and motivation to re-identify (not a specialist)
  • Does NOT have access to specialist equipment, techniques, or insider knowledge
  • Would invest reasonable time and effort (days, not months)

If the motivated intruder could re-identify any individual: the data is NOT anonymised.

This test provides a practical complement to the WP29 criteria by establishing a baseline attacker model for the "reasonably likely means" assessment under Recital 26.

Anonymisation Techniques — Effectiveness Assessment

Technique 1: Randomisation (Noise Addition)

ApproachDescriptionSingling OutLinkabilityInference
Noise additionAdd random values to numerical attributesReducedReducedReduced
PermutationShuffle values across records within groupsMitigated (within group)ReducedReduced
Differential privacyAdd calibrated noise to query resultsProvably mitigated (with epsilon budget)Provably mitigatedProvably mitigated

Technique 2: Generalisation

ApproachDescriptionSingling OutLinkabilityInference
k-anonymityEnsure each combination of quasi-identifiers applies to at least k recordsMitigated (k ≥ 5 recommended)Not addressedNot addressed
l-diversityWithin each k-anonymous group, ensure at least l distinct values for sensitive attributesMitigatedPartially mitigatedReduced
t-closenessEnsure distribution of sensitive attribute in each group is within distance t of overall distributionMitigatedReducedMitigated
AggregationReplace individual records with group statisticsMitigated (if groups large enough)MitigatedResidual risk with small groups

Technique 3: Suppression

ApproachDescriptionSingling OutLinkabilityInference
Record suppressionRemove outlier recordsReduces unique recordsNo effect on remainingNo effect on remaining
Cell suppressionReplace small cell values with null/rangeReduces singling out for small groupsNo direct effectReduces inference from small cells
Attribute suppressionRemove entire columns (direct identifiers, high-risk quasi-identifiers)Reduces identifiabilityReduces cross-dataset linkageNo direct effect

WP29 Effectiveness Summary (from Opinion 05/2014, Section 4)

TechniqueSingling OutLinkabilityInferenceRecommended Use
Pseudonymisation (tokenisation, hashing)Still possibleStill possibleStill possibleNOT anonymisation — remains personal data
k-anonymity alonePartially mitigatedNOT mitigatedNOT mitigatedInsufficient alone
l-diversityMitigatedPartially mitigatedPartially mitigatedStronger than k-anonymity
Differential privacyProvably mitigatedProvably mitigatedProvably mitigatedStrongest formal guarantee
Aggregation + suppressionMitigatedMitigatedResidualSuitable for statistical outputs

Decision Framework for Classification

Data has undergone a de-identification process
  │
  ├─► Step 1: Does a re-identification key exist?
  │     YES → PSEUDONYMISED (personal data, GDPR applies)
  │     NO  → Continue to Step 2
  │
  ├─► Step 2: Apply WP29 Three-Criteria Test
  │     2a. Singling out test — can any individual be isolated?
  │     2b. Linkability test — can records be linked to an individual?
  │     2c. Inference test — can attributes be inferred for an individual?
  │
  │     ANY test fails → NOT anonymised (personal data, GDPR applies)
  │     ALL tests pass → Continue to Step 3
  │
  ├─► Step 3: Apply Motivated Intruder Test (ICO)
  │     Could a motivated person with public resources re-identify anyone?
  │     YES → NOT anonymised
  │     NO  → Continue to Step 4
  │
  ├─► Step 4: Breyer Relative Assessment
  │     Does the specific data controller have legal means to obtain
  │     complementary data enabling identification? (per C-582/14)
  │     YES → NOT anonymised FOR THIS CONTROLLER
  │     NO  → Continue to Step 5
  │
  └─► Step 5: Technology Projection
        Over the intended retention period, are technological developments
        reasonably anticipated that would enable re-identification?
        YES → NOT anonymised (or must be re-assessed before technology matures)
        NO  → ANONYMISED — GDPR does not apply

        CLASSIFICATION: ANONYMISED
        Document: technique used, assessment reasoning, review date,
        assessor, technology projection horizon

CJEU Case C-413/23 — European Data Protection Supervisor v Single Resolution Board (Pending)

In 2023, the CJEU was asked to rule on whether pseudonymised data transmitted to a recipient who does not have the re-identification key constitutes personal data for that recipient. Advocate General Szpunar's opinion (September 2024) suggested a relative approach — if the recipient cannot reasonably re-identify, the data may not be personal data for them. This case, when decided, may significantly impact the pseudonymisation vs anonymisation boundary by establishing that the same dataset can be pseudonymised (personal data) for the data holder and effectively anonymous for a recipient without the key.

Implementation at Vanguard Financial Services

Common Pseudonymisation Scenarios

ScenarioTechniqueClassificationReasoning
Customer analytics dataset with account IDs replaced by random tokensTokenisationPSEUDONYMISEDVanguard holds the token-to-account mapping table
Employee survey responses with employee IDs removed but department and role retainedAttribute suppression + quasi-identifiers remainPSEUDONYMISED (likely)Unique department-role combinations may enable singling out for small departments
Aggregated website traffic statistics: page views by week, no user identifiersAggregationANONYMISED (if cell sizes adequate)No individual can be singled out from aggregate page view counts with >1000 visitors per cell
Hashed customer emails for analyticsHashing (SHA-256)PSEUDONYMISEDHash can be reversed via dictionary attack or rainbow table; same email always produces same hash, enabling linkage

Anonymisation Validation Process

Before classifying data as anonymised, Vanguard requires:

  1. Written anonymisation assessment documenting technique applied and WP29 three-criteria evaluation
  2. Motivated intruder test conducted by Privacy Engineering team
  3. DPO review and sign-off
  4. Annual reassessment (technology evolution check)
  5. If data is shared externally: assessment from recipient's perspective (Breyer relative approach)

Enforcement Precedents

  • Breyer v Bundesrepublik Deutschland (CJEU C-582/14, 2016): Established relative approach to identifiability — central to distinguishing pseudonymised (identifiable) from anonymised (not identifiable) for a specific controller
  • CNIL — Practical Guide on Anonymisation (2019): CNIL rejected k-anonymity alone as sufficient for anonymisation, requiring assessment against all three WP29 criteria
  • Austrian DPA — 1&1 Telecom case (2019): EUR 9.55 million fine partly related to inadequate pseudonymisation measures — telephone customer service could identify callers with minimal verification, demonstrating pseudonymisation was ineffective

Integration Points

  • personal-data-test: Pseudonymised data is personal data; anonymised data is not — classification feeds the Art. 4(1) test
  • classification-policy: Pseudonymised data classified as Internal or Confidential; anonymised data classified as Public or Internal
  • ai-training-data-class: AI training datasets frequently use pseudonymisation; this skill validates whether the technique achieves true anonymisation
  • data-lineage-tracking: Lineage must track the anonymisation transformation and preserve the assessment record

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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 のスキルをすべて見る

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