@enki-dev-expert/global-engineering-standards 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +303 -0
- package/CHANGELOG.md +23 -0
- package/CITATION.cff +21 -0
- package/CODE_OF_CONDUCT.md +13 -0
- package/CONTRIBUTING.md +27 -0
- package/LICENSE +21 -0
- package/README.md +159 -2
- package/SECURITY.md +25 -0
- package/dist/cli.js +40 -0
- package/dist/content.js +71 -0
- package/dist/filesystem.js +83 -0
- package/dist/installer.js +243 -0
- package/dist/layout.js +42 -0
- package/dist/transaction.js +143 -0
- package/docs/ai-and-llm.md +1312 -0
- package/docs/architecture.md +1007 -0
- package/docs/cost-engineering.md +1322 -0
- package/docs/data.md +993 -0
- package/docs/governance.md +1744 -0
- package/docs/mobile-and-web.md +1362 -0
- package/docs/observability.md +1345 -0
- package/docs/platforms-and-applications.md +1581 -0
- package/docs/privacy.md +566 -0
- package/docs/quality-and-testing.md +1278 -0
- package/docs/scalability.md +1012 -0
- package/docs/security.md +373 -0
- package/handbook/claude-plugin.md +31 -0
- package/handbook/compatibility.md +27 -0
- package/handbook/recovery.md +29 -0
- package/handbook/releasing.md +50 -0
- package/handbook/security-review.md +41 -0
- package/handbook/signing.md +18 -0
- package/handbook/validation.md +50 -0
- package/package.json +65 -4
- package/scripts/content-baseline.json +25 -0
- package/skills/engineering-architecture-review/SKILL.md +1531 -0
- package/skills/engineering-cost-estimate/SKILL.md +1599 -0
- package/skills/engineering-database-review/SKILL.md +1364 -0
- package/skills/engineering-privacy-check/SKILL.md +1295 -0
- package/skills/engineering-safe-implementation/SKILL.md +1502 -0
- package/skills/engineering-security-standards-check/SKILL.md +1112 -0
- package/src/cli.ts +45 -0
- package/src/content.ts +82 -0
- package/src/filesystem.ts +94 -0
- package/src/installer.ts +280 -0
- package/src/layout.ts +70 -0
- package/src/transaction.ts +167 -0
- package/templates/ADR.md +1302 -0
- package/templates/AUDIT_REPORT.md +1693 -0
- package/templates/EXCEPTIONS.md +647 -0
- package/templates/PROJECT_AGENTS.md +868 -0
|
@@ -0,0 +1,1295 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: engineering-privacy-check
|
|
3
|
+
description: Review and improve software privacy and data protection using the Global Engineering Standards. Use for GDPR and privacy assessments, personal data mapping, retention, consent, data subject rights, third-party processors, international transfers, AI data handling, privacy-by-design implementation, and verification of privacy controls.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Engineering Privacy Check
|
|
7
|
+
|
|
8
|
+
## 1. Purpose
|
|
9
|
+
|
|
10
|
+
Provide a systematic, evidence-based privacy and personal data protection review for software engineering projects.
|
|
11
|
+
|
|
12
|
+
This skill supports:
|
|
13
|
+
|
|
14
|
+
- Privacy audits.
|
|
15
|
+
- Privacy by Design.
|
|
16
|
+
- Privacy by Default.
|
|
17
|
+
- GDPR and applicable data protection requirements.
|
|
18
|
+
- Personal data identification.
|
|
19
|
+
- Data flow mapping.
|
|
20
|
+
- Data minimization.
|
|
21
|
+
- Data retention.
|
|
22
|
+
- Data deletion.
|
|
23
|
+
- Data subject rights.
|
|
24
|
+
- Third-party processor assessments.
|
|
25
|
+
- International data transfers.
|
|
26
|
+
- Secure personal data handling.
|
|
27
|
+
- AI and LLM privacy.
|
|
28
|
+
- Cloud privacy architecture.
|
|
29
|
+
- Mobile and desktop privacy.
|
|
30
|
+
- Privacy testing.
|
|
31
|
+
- Privacy incident prevention.
|
|
32
|
+
|
|
33
|
+
The objective is to identify privacy risks, implement appropriate technical controls, and document unresolved legal or operational dependencies.
|
|
34
|
+
|
|
35
|
+
Do not claim that a software application is legally compliant solely because technical privacy controls exist.
|
|
36
|
+
|
|
37
|
+
## 2. Global Standards
|
|
38
|
+
|
|
39
|
+
The Global Engineering Standards repository is located at:
|
|
40
|
+
|
|
41
|
+
~/engineering-standards/
|
|
42
|
+
|
|
43
|
+
Primary reference:
|
|
44
|
+
|
|
45
|
+
~/engineering-standards/docs/privacy.md
|
|
46
|
+
|
|
47
|
+
Additional references when relevant:
|
|
48
|
+
|
|
49
|
+
- docs/governance.md
|
|
50
|
+
- docs/security.md
|
|
51
|
+
- docs/architecture.md
|
|
52
|
+
- docs/data.md
|
|
53
|
+
- docs/ai-and-llm.md
|
|
54
|
+
- docs/cost-engineering.md
|
|
55
|
+
- docs/quality-and-testing.md
|
|
56
|
+
- docs/observability.md
|
|
57
|
+
- docs/mobile-and-web.md
|
|
58
|
+
- docs/platforms-and-applications.md
|
|
59
|
+
|
|
60
|
+
Resolve relative references against the engineering-standards repository.
|
|
61
|
+
|
|
62
|
+
Apply relevant standards according to actual project requirements.
|
|
63
|
+
|
|
64
|
+
Do not load unrelated documentation unnecessarily.
|
|
65
|
+
|
|
66
|
+
## 3. When to Use This Skill
|
|
67
|
+
|
|
68
|
+
Use when the project involves:
|
|
69
|
+
|
|
70
|
+
- Personal data collection.
|
|
71
|
+
- User accounts.
|
|
72
|
+
- Authentication information.
|
|
73
|
+
- Customer records.
|
|
74
|
+
- Employee information.
|
|
75
|
+
- Health-related data.
|
|
76
|
+
- Financial information.
|
|
77
|
+
- Location information.
|
|
78
|
+
- Analytics and tracking.
|
|
79
|
+
- Cookies and similar technologies.
|
|
80
|
+
- Third-party integrations.
|
|
81
|
+
- Cloud data processing.
|
|
82
|
+
- AI model interactions involving user information.
|
|
83
|
+
- Document processing.
|
|
84
|
+
- User-generated content.
|
|
85
|
+
- Data export or deletion.
|
|
86
|
+
- Regulatory or privacy reviews.
|
|
87
|
+
|
|
88
|
+
Also use before introducing new personal data processing activities.
|
|
89
|
+
|
|
90
|
+
Do not assume that an application has no privacy obligations merely because it does not use a traditional database.
|
|
91
|
+
|
|
92
|
+
## 4. Operating Modes
|
|
93
|
+
|
|
94
|
+
Support:
|
|
95
|
+
|
|
96
|
+
- Supervised Mode.
|
|
97
|
+
- Autonomous Build Mode.
|
|
98
|
+
|
|
99
|
+
Supervised Mode is the default.
|
|
100
|
+
|
|
101
|
+
Autonomous Build Mode requires explicit authorization.
|
|
102
|
+
|
|
103
|
+
Both modes must preserve applicable privacy and data protection standards.
|
|
104
|
+
|
|
105
|
+
Consult docs/governance.md.
|
|
106
|
+
|
|
107
|
+
The operating mode changes implementation autonomy, not legal obligations or privacy safeguards.
|
|
108
|
+
|
|
109
|
+
## 5. Supervised Mode
|
|
110
|
+
|
|
111
|
+
For an existing application:
|
|
112
|
+
|
|
113
|
+
1. Identify the authorized scope.
|
|
114
|
+
2. Inspect relevant implementation and documentation.
|
|
115
|
+
3. Identify personal data flows.
|
|
116
|
+
4. Review current privacy controls.
|
|
117
|
+
5. Identify confirmed gaps.
|
|
118
|
+
6. Document uncertainties.
|
|
119
|
+
7. Evaluate risks.
|
|
120
|
+
8. Recommend proportionate improvements.
|
|
121
|
+
9. Identify legal or organizational decisions.
|
|
122
|
+
10. Request approval before significant changes.
|
|
123
|
+
|
|
124
|
+
A default audit of an existing production application is read-only.
|
|
125
|
+
|
|
126
|
+
Do not access or export production personal data unnecessarily.
|
|
127
|
+
|
|
128
|
+
Do not modify production retention policies or delete records without appropriate authorization.
|
|
129
|
+
|
|
130
|
+
## 6. Autonomous Build Mode
|
|
131
|
+
|
|
132
|
+
When explicitly authorized to develop a complete application:
|
|
133
|
+
|
|
134
|
+
1. Identify expected personal data processing.
|
|
135
|
+
2. Minimize collection.
|
|
136
|
+
3. Define appropriate data access boundaries.
|
|
137
|
+
4. Design privacy-aware architecture.
|
|
138
|
+
5. Implement necessary technical protections.
|
|
139
|
+
6. Configure suitable retention mechanisms.
|
|
140
|
+
7. Support relevant user rights.
|
|
141
|
+
8. Restrict third-party data disclosure.
|
|
142
|
+
9. Implement safe logging.
|
|
143
|
+
10. Add relevant privacy tests.
|
|
144
|
+
11. Validate authorized functionality.
|
|
145
|
+
12. Correct identified defects within scope.
|
|
146
|
+
13. Continue independent authorized development.
|
|
147
|
+
14. Document unresolved privacy decisions.
|
|
148
|
+
15. Include required human actions in the final handoff.
|
|
149
|
+
|
|
150
|
+
Do not request approval for every ordinary local implementation decision.
|
|
151
|
+
|
|
152
|
+
Do not make unsupported assumptions about legal bases, retention periods or consent requirements.
|
|
153
|
+
|
|
154
|
+
Protected operations still require appropriate human authorization.
|
|
155
|
+
|
|
156
|
+
## 7. Privacy Engineering Principles
|
|
157
|
+
|
|
158
|
+
Apply:
|
|
159
|
+
|
|
160
|
+
1. Lawfulness, fairness and transparency.
|
|
161
|
+
2. Purpose limitation.
|
|
162
|
+
3. Data minimization.
|
|
163
|
+
4. Accuracy.
|
|
164
|
+
5. Storage limitation.
|
|
165
|
+
6. Integrity and confidentiality.
|
|
166
|
+
7. Accountability.
|
|
167
|
+
8. Privacy by Design.
|
|
168
|
+
9. Privacy by Default.
|
|
169
|
+
10. Appropriate user control.
|
|
170
|
+
11. Data lifecycle management.
|
|
171
|
+
12. Risk-based safeguards.
|
|
172
|
+
|
|
173
|
+
Apply legal principles where relevant to the processing and jurisdiction.
|
|
174
|
+
|
|
175
|
+
Do not assume one country's rules apply identically worldwide.
|
|
176
|
+
|
|
177
|
+
## 8. Scope and Jurisdiction
|
|
178
|
+
|
|
179
|
+
Identify:
|
|
180
|
+
|
|
181
|
+
- Application purpose.
|
|
182
|
+
- Data controller or responsible organization.
|
|
183
|
+
- Potential processors.
|
|
184
|
+
- User locations.
|
|
185
|
+
- Processing locations.
|
|
186
|
+
- Relevant jurisdictions.
|
|
187
|
+
- Data categories.
|
|
188
|
+
- Processing purposes.
|
|
189
|
+
- Existing contractual requirements.
|
|
190
|
+
|
|
191
|
+
Record verified information.
|
|
192
|
+
|
|
193
|
+
Distinguish legal obligations from technical recommendations.
|
|
194
|
+
|
|
195
|
+
Do not invent controller identities or legal responsibilities.
|
|
196
|
+
|
|
197
|
+
## 9. Personal Data Inventory
|
|
198
|
+
|
|
199
|
+
Identify personal information processed by the application.
|
|
200
|
+
|
|
201
|
+
Potential categories include:
|
|
202
|
+
|
|
203
|
+
- Name.
|
|
204
|
+
- Email address.
|
|
205
|
+
- Telephone number.
|
|
206
|
+
- Account identifiers.
|
|
207
|
+
- IP addresses.
|
|
208
|
+
- Device identifiers.
|
|
209
|
+
- Online identifiers.
|
|
210
|
+
- Location data.
|
|
211
|
+
- Payment-related information.
|
|
212
|
+
- Employment records.
|
|
213
|
+
- Health information.
|
|
214
|
+
- Uploaded documents.
|
|
215
|
+
- User-generated content.
|
|
216
|
+
- Behavioral analytics.
|
|
217
|
+
- Customer support interactions.
|
|
218
|
+
|
|
219
|
+
Determine whether information is personal data in its actual context.
|
|
220
|
+
|
|
221
|
+
Do not assume pseudonymous identifiers are automatically anonymous.
|
|
222
|
+
|
|
223
|
+
## 10. Data Classification
|
|
224
|
+
|
|
225
|
+
Classify relevant data.
|
|
226
|
+
|
|
227
|
+
Possible categories:
|
|
228
|
+
|
|
229
|
+
- Public.
|
|
230
|
+
- Internal.
|
|
231
|
+
- Confidential.
|
|
232
|
+
- Personal.
|
|
233
|
+
- Sensitive personal.
|
|
234
|
+
- Restricted.
|
|
235
|
+
- Regulated.
|
|
236
|
+
|
|
237
|
+
Classification must reflect the project's actual context.
|
|
238
|
+
|
|
239
|
+
Apply stricter controls where processing involves sensitive information.
|
|
240
|
+
|
|
241
|
+
Avoid unnecessary duplication of sensitive records.
|
|
242
|
+
|
|
243
|
+
## 11. Data Flow Mapping
|
|
244
|
+
|
|
245
|
+
Identify:
|
|
246
|
+
|
|
247
|
+
- Data collection points.
|
|
248
|
+
- User interfaces.
|
|
249
|
+
- Backend endpoints.
|
|
250
|
+
- Authentication services.
|
|
251
|
+
- Databases.
|
|
252
|
+
- File storage.
|
|
253
|
+
- Logs.
|
|
254
|
+
- Analytics.
|
|
255
|
+
- External APIs.
|
|
256
|
+
- Cloud providers.
|
|
257
|
+
- AI services.
|
|
258
|
+
- Backups.
|
|
259
|
+
- Exports.
|
|
260
|
+
|
|
261
|
+
Document where personal data is transmitted, processed and retained.
|
|
262
|
+
|
|
263
|
+
Use diagrams when they materially improve understanding.
|
|
264
|
+
|
|
265
|
+
Do not assume a third-party service processes data only in the region where its API endpoint is located.
|
|
266
|
+
|
|
267
|
+
## 12. Processing Purposes
|
|
268
|
+
|
|
269
|
+
For each processing activity, document:
|
|
270
|
+
|
|
271
|
+
- Data categories.
|
|
272
|
+
- Purpose.
|
|
273
|
+
- Responsible organization.
|
|
274
|
+
- Recipients.
|
|
275
|
+
- Retention.
|
|
276
|
+
- Security controls.
|
|
277
|
+
- Applicable legal basis.
|
|
278
|
+
- Relevant user rights.
|
|
279
|
+
|
|
280
|
+
Do not collect personal data without a legitimate and defined purpose.
|
|
281
|
+
|
|
282
|
+
Avoid reusing collected data for unrelated purposes without appropriate assessment.
|
|
283
|
+
|
|
284
|
+
## 13. Legal Basis Assessment
|
|
285
|
+
|
|
286
|
+
Where GDPR applies, identify a suitable lawful basis for each processing purpose.
|
|
287
|
+
|
|
288
|
+
Possible legal bases include:
|
|
289
|
+
|
|
290
|
+
- Consent.
|
|
291
|
+
- Contractual necessity.
|
|
292
|
+
- Legal obligation.
|
|
293
|
+
- Vital interests.
|
|
294
|
+
- Public task.
|
|
295
|
+
- Legitimate interests.
|
|
296
|
+
|
|
297
|
+
Do not assume consent is always required or always the appropriate basis.
|
|
298
|
+
|
|
299
|
+
Do not invent a legal basis.
|
|
300
|
+
|
|
301
|
+
Flag unresolved determinations for the authorized organization or qualified legal reviewer.
|
|
302
|
+
|
|
303
|
+
Special-category data may require additional conditions beyond an Article 6 lawful basis.
|
|
304
|
+
|
|
305
|
+
## 14. Consent Management
|
|
306
|
+
|
|
307
|
+
When consent is the appropriate legal basis:
|
|
308
|
+
|
|
309
|
+
- Use clear and specific requests.
|
|
310
|
+
- Avoid misleading interfaces.
|
|
311
|
+
- Do not preselect consent unnecessarily.
|
|
312
|
+
- Record valid consent where required.
|
|
313
|
+
- Support withdrawal.
|
|
314
|
+
- Respect the consequences of withdrawal.
|
|
315
|
+
- Distinguish necessary processing from optional activities.
|
|
316
|
+
|
|
317
|
+
Do not use a consent banner as a substitute for lawful processing design.
|
|
318
|
+
|
|
319
|
+
Cookie and tracking consent requirements vary by jurisdiction and technology.
|
|
320
|
+
|
|
321
|
+
## 15. Data Minimization
|
|
322
|
+
|
|
323
|
+
Collect only information needed for defined purposes.
|
|
324
|
+
|
|
325
|
+
Evaluate:
|
|
326
|
+
|
|
327
|
+
- Mandatory fields.
|
|
328
|
+
- Optional fields.
|
|
329
|
+
- Duplicate collection.
|
|
330
|
+
- Excessive metadata.
|
|
331
|
+
- Unnecessary identifiers.
|
|
332
|
+
- Uploaded file contents.
|
|
333
|
+
- Diagnostic logs.
|
|
334
|
+
- Analytics events.
|
|
335
|
+
- Model prompts.
|
|
336
|
+
|
|
337
|
+
Prefer minimal datasets.
|
|
338
|
+
|
|
339
|
+
Avoid requesting additional personal information merely because it may be useful someday.
|
|
340
|
+
|
|
341
|
+
## 16. Privacy by Default
|
|
342
|
+
|
|
343
|
+
Default settings should minimize unnecessary exposure.
|
|
344
|
+
|
|
345
|
+
Evaluate:
|
|
346
|
+
|
|
347
|
+
- Profile visibility.
|
|
348
|
+
- Public sharing.
|
|
349
|
+
- Analytics.
|
|
350
|
+
- Advertising tracking.
|
|
351
|
+
- Location access.
|
|
352
|
+
- Contact discovery.
|
|
353
|
+
- Notifications.
|
|
354
|
+
- Data retention.
|
|
355
|
+
- Third-party sharing.
|
|
356
|
+
- AI training use.
|
|
357
|
+
|
|
358
|
+
Choose privacy-protective defaults where appropriate.
|
|
359
|
+
|
|
360
|
+
Do not enable optional personal data sharing silently.
|
|
361
|
+
|
|
362
|
+
## 17. Data Accuracy
|
|
363
|
+
|
|
364
|
+
Support appropriate mechanisms for:
|
|
365
|
+
|
|
366
|
+
- Correcting inaccurate records.
|
|
367
|
+
- Updating relevant account information.
|
|
368
|
+
- Validating critical inputs.
|
|
369
|
+
- Preventing contradictory records.
|
|
370
|
+
- Tracking authorized changes.
|
|
371
|
+
- Avoiding stale derived information.
|
|
372
|
+
|
|
373
|
+
Do not automatically overwrite legally significant records without preserving required integrity or auditability.
|
|
374
|
+
|
|
375
|
+
## 18. Data Retention
|
|
376
|
+
|
|
377
|
+
Evaluate retention per data category and processing purpose.
|
|
378
|
+
|
|
379
|
+
Document:
|
|
380
|
+
|
|
381
|
+
- Required retention.
|
|
382
|
+
- Legal obligations.
|
|
383
|
+
- Operational needs.
|
|
384
|
+
- Backup retention.
|
|
385
|
+
- Log retention.
|
|
386
|
+
- Archive retention.
|
|
387
|
+
- Deletion triggers.
|
|
388
|
+
- Review requirements.
|
|
389
|
+
|
|
390
|
+
Do not invent retention periods.
|
|
391
|
+
|
|
392
|
+
Do not retain personal data indefinitely without justification.
|
|
393
|
+
|
|
394
|
+
Do not delete records subject to valid preservation obligations.
|
|
395
|
+
|
|
396
|
+
## 19. Deletion and Erasure
|
|
397
|
+
|
|
398
|
+
Implement relevant deletion workflows.
|
|
399
|
+
|
|
400
|
+
Consider:
|
|
401
|
+
|
|
402
|
+
- Primary database records.
|
|
403
|
+
- Object storage.
|
|
404
|
+
- Search indexes.
|
|
405
|
+
- Analytics copies.
|
|
406
|
+
- Caches.
|
|
407
|
+
- Background jobs.
|
|
408
|
+
- External processors.
|
|
409
|
+
- Backups.
|
|
410
|
+
- Derived datasets.
|
|
411
|
+
|
|
412
|
+
Respect applicable exceptions and preservation obligations.
|
|
413
|
+
|
|
414
|
+
Do not promise immediate deletion from systems that cannot technically support it.
|
|
415
|
+
|
|
416
|
+
Avoid destructive production operations without authorization.
|
|
417
|
+
|
|
418
|
+
## 20. Data Subject Rights
|
|
419
|
+
|
|
420
|
+
Where applicable, evaluate support for:
|
|
421
|
+
|
|
422
|
+
- Access.
|
|
423
|
+
- Rectification.
|
|
424
|
+
- Erasure.
|
|
425
|
+
- Restriction.
|
|
426
|
+
- Portability.
|
|
427
|
+
- Objection.
|
|
428
|
+
- Withdrawal of consent.
|
|
429
|
+
- Rights related to automated decision-making.
|
|
430
|
+
|
|
431
|
+
Rights may depend on legal basis, processing context and applicable exceptions.
|
|
432
|
+
|
|
433
|
+
Verify requester identity proportionately before disclosing or changing personal data.
|
|
434
|
+
|
|
435
|
+
Escalate unresolved legal decisions.
|
|
436
|
+
|
|
437
|
+
## 21. Data Access Requests
|
|
438
|
+
|
|
439
|
+
Review data export and access workflows.
|
|
440
|
+
|
|
441
|
+
Requirements may include:
|
|
442
|
+
|
|
443
|
+
- Secure requester verification.
|
|
444
|
+
- Authorized data retrieval.
|
|
445
|
+
- Appropriate data scope.
|
|
446
|
+
- Third-party privacy protection.
|
|
447
|
+
- Structured export where required.
|
|
448
|
+
- Secure delivery.
|
|
449
|
+
- Request tracking.
|
|
450
|
+
|
|
451
|
+
Do not expose another person's records in a data access response.
|
|
452
|
+
|
|
453
|
+
Avoid logging exported personal data unnecessarily.
|
|
454
|
+
|
|
455
|
+
## 22. Data Portability
|
|
456
|
+
|
|
457
|
+
Where applicable:
|
|
458
|
+
|
|
459
|
+
- Identify eligible data.
|
|
460
|
+
- Define suitable formats.
|
|
461
|
+
- Preserve structural meaning.
|
|
462
|
+
- Protect export endpoints.
|
|
463
|
+
- Verify requester authorization.
|
|
464
|
+
- Limit unnecessary metadata.
|
|
465
|
+
|
|
466
|
+
Do not assume every stored or inferred record is legally portable.
|
|
467
|
+
|
|
468
|
+
## 23. Third-Party Processors
|
|
469
|
+
|
|
470
|
+
For each relevant provider, assess:
|
|
471
|
+
|
|
472
|
+
- Processing purpose.
|
|
473
|
+
- Data categories.
|
|
474
|
+
- Contractual arrangements.
|
|
475
|
+
- Subprocessors.
|
|
476
|
+
- Security safeguards.
|
|
477
|
+
- Retention.
|
|
478
|
+
- Processing locations.
|
|
479
|
+
- International transfers.
|
|
480
|
+
- Deletion arrangements.
|
|
481
|
+
- Breach notification obligations.
|
|
482
|
+
|
|
483
|
+
Do not assume a provider is compliant merely because it advertises GDPR support.
|
|
484
|
+
|
|
485
|
+
Document unresolved contractual requirements.
|
|
486
|
+
|
|
487
|
+
## 24. International Data Transfers
|
|
488
|
+
|
|
489
|
+
Identify transfers to countries outside the relevant jurisdiction.
|
|
490
|
+
|
|
491
|
+
Consider:
|
|
492
|
+
|
|
493
|
+
- Hosting regions.
|
|
494
|
+
- Support access.
|
|
495
|
+
- Remote administration.
|
|
496
|
+
- Cloud subprocessors.
|
|
497
|
+
- Logging platforms.
|
|
498
|
+
- AI inference providers.
|
|
499
|
+
- Backup locations.
|
|
500
|
+
- Cross-region replication.
|
|
501
|
+
|
|
502
|
+
Where required, assess appropriate transfer mechanisms and safeguards.
|
|
503
|
+
|
|
504
|
+
Do not claim an international transfer is lawful without the necessary factual and legal assessment.
|
|
505
|
+
|
|
506
|
+
## 25. Cloud Privacy
|
|
507
|
+
|
|
508
|
+
Assess:
|
|
509
|
+
|
|
510
|
+
- Data residency.
|
|
511
|
+
- Tenant isolation.
|
|
512
|
+
- Access permissions.
|
|
513
|
+
- Storage configuration.
|
|
514
|
+
- Backup regions.
|
|
515
|
+
- Replication.
|
|
516
|
+
- Logging.
|
|
517
|
+
- Support access.
|
|
518
|
+
- Subprocessor chains.
|
|
519
|
+
- Encryption.
|
|
520
|
+
- Retention controls.
|
|
521
|
+
|
|
522
|
+
Evaluate actual provider capabilities and contracts.
|
|
523
|
+
|
|
524
|
+
Do not assume AWS, Azure, GCP, Supabase, Firebase or another platform automatically guarantees compliance.
|
|
525
|
+
|
|
526
|
+
## 26. Database Privacy
|
|
527
|
+
|
|
528
|
+
Review:
|
|
529
|
+
|
|
530
|
+
- Access authorization.
|
|
531
|
+
- Tenant isolation.
|
|
532
|
+
- Personal data schemas.
|
|
533
|
+
- Data minimization.
|
|
534
|
+
- Retention mechanisms.
|
|
535
|
+
- Exports.
|
|
536
|
+
- Backups.
|
|
537
|
+
- Audit trails.
|
|
538
|
+
- Sensitive-field handling.
|
|
539
|
+
- Deletion propagation.
|
|
540
|
+
|
|
541
|
+
Use appropriate least-privilege database access.
|
|
542
|
+
|
|
543
|
+
Never use broad production exports merely to perform a routine privacy review.
|
|
544
|
+
|
|
545
|
+
Consult docs/data.md.
|
|
546
|
+
|
|
547
|
+
## 27. Authentication and Identity Privacy
|
|
548
|
+
|
|
549
|
+
Evaluate:
|
|
550
|
+
|
|
551
|
+
- Account registration fields.
|
|
552
|
+
- Identity verification.
|
|
553
|
+
- Session identifiers.
|
|
554
|
+
- Account recovery.
|
|
555
|
+
- Authentication logs.
|
|
556
|
+
- Device information.
|
|
557
|
+
- Account deletion.
|
|
558
|
+
- Identity-provider sharing.
|
|
559
|
+
|
|
560
|
+
Protect account-related personal information.
|
|
561
|
+
|
|
562
|
+
Do not expose user existence unnecessarily through public authentication responses.
|
|
563
|
+
|
|
564
|
+
Apply relevant security controls.
|
|
565
|
+
|
|
566
|
+
## 28. Application Logging Privacy
|
|
567
|
+
|
|
568
|
+
Review logs for:
|
|
569
|
+
|
|
570
|
+
- Personal identifiers.
|
|
571
|
+
- Email addresses.
|
|
572
|
+
- Authentication tokens.
|
|
573
|
+
- Request bodies.
|
|
574
|
+
- Uploaded content.
|
|
575
|
+
- Financial records.
|
|
576
|
+
- Health information.
|
|
577
|
+
- Location information.
|
|
578
|
+
- AI prompts and responses.
|
|
579
|
+
|
|
580
|
+
Prefer minimal, structured and redacted telemetry.
|
|
581
|
+
|
|
582
|
+
Apply retention limits and access controls.
|
|
583
|
+
|
|
584
|
+
Do not sacrifice necessary security auditability without evaluating alternatives.
|
|
585
|
+
|
|
586
|
+
Consult docs/observability.md.
|
|
587
|
+
|
|
588
|
+
## 29. Analytics and Tracking
|
|
589
|
+
|
|
590
|
+
Evaluate:
|
|
591
|
+
|
|
592
|
+
- Analytics purposes.
|
|
593
|
+
- Event payloads.
|
|
594
|
+
- User identifiers.
|
|
595
|
+
- Device identifiers.
|
|
596
|
+
- Cookies.
|
|
597
|
+
- SDK behavior.
|
|
598
|
+
- Third-party recipients.
|
|
599
|
+
- Consent obligations.
|
|
600
|
+
- Retention.
|
|
601
|
+
- Profiling.
|
|
602
|
+
|
|
603
|
+
Prefer privacy-preserving measurement where feasible.
|
|
604
|
+
|
|
605
|
+
Do not enable additional tracking solely because a library makes it easy.
|
|
606
|
+
|
|
607
|
+
## 30. Cookies and Similar Technologies
|
|
608
|
+
|
|
609
|
+
For web and mobile environments, assess relevant:
|
|
610
|
+
|
|
611
|
+
- Cookies.
|
|
612
|
+
- Local storage.
|
|
613
|
+
- SDK identifiers.
|
|
614
|
+
- Fingerprinting.
|
|
615
|
+
- Advertising identifiers.
|
|
616
|
+
- Similar tracking mechanisms.
|
|
617
|
+
|
|
618
|
+
Determine applicable legal and consent requirements.
|
|
619
|
+
|
|
620
|
+
Do not assume all cookies require consent or all analytics are exempt.
|
|
621
|
+
|
|
622
|
+
Record the actual technologies and purposes.
|
|
623
|
+
|
|
624
|
+
## 31. Mobile Application Privacy
|
|
625
|
+
|
|
626
|
+
For iOS and Android, evaluate:
|
|
627
|
+
|
|
628
|
+
- Location permissions.
|
|
629
|
+
- Camera permissions.
|
|
630
|
+
- Microphone permissions.
|
|
631
|
+
- Contact access.
|
|
632
|
+
- Photo access.
|
|
633
|
+
- Device identifiers.
|
|
634
|
+
- Push notification data.
|
|
635
|
+
- Local storage.
|
|
636
|
+
- Background collection.
|
|
637
|
+
- SDK privacy behavior.
|
|
638
|
+
- Platform disclosures.
|
|
639
|
+
|
|
640
|
+
Request permissions only when needed.
|
|
641
|
+
|
|
642
|
+
Avoid collecting device information unrelated to required functionality.
|
|
643
|
+
|
|
644
|
+
Consult docs/mobile-and-web.md.
|
|
645
|
+
|
|
646
|
+
## 32. Desktop and Native Privacy
|
|
647
|
+
|
|
648
|
+
For macOS, Windows, Linux and native applications, assess:
|
|
649
|
+
|
|
650
|
+
- Filesystem permissions.
|
|
651
|
+
- Local databases.
|
|
652
|
+
- Credential storage.
|
|
653
|
+
- Update telemetry.
|
|
654
|
+
- Crash reports.
|
|
655
|
+
- Background processing.
|
|
656
|
+
- Device identifiers.
|
|
657
|
+
- Cloud synchronization.
|
|
658
|
+
- User-generated files.
|
|
659
|
+
|
|
660
|
+
Do not scan unrelated private files merely because the application has filesystem access.
|
|
661
|
+
|
|
662
|
+
Consult docs/platforms-and-applications.md.
|
|
663
|
+
|
|
664
|
+
## 33. Game Privacy
|
|
665
|
+
|
|
666
|
+
For game applications, assess:
|
|
667
|
+
|
|
668
|
+
- Player identifiers.
|
|
669
|
+
- Multiplayer communications.
|
|
670
|
+
- Voice and chat data.
|
|
671
|
+
- Behavioral analytics.
|
|
672
|
+
- In-game purchases.
|
|
673
|
+
- Account linking.
|
|
674
|
+
- Anti-cheat telemetry.
|
|
675
|
+
- Community moderation.
|
|
676
|
+
- Child-related processing.
|
|
677
|
+
- Cross-platform accounts.
|
|
678
|
+
|
|
679
|
+
Apply relevant age-related and jurisdiction-specific safeguards.
|
|
680
|
+
|
|
681
|
+
Do not assume all players are adults.
|
|
682
|
+
|
|
683
|
+
Consult docs/platforms-and-applications.md.
|
|
684
|
+
|
|
685
|
+
## 34. Children's Data
|
|
686
|
+
|
|
687
|
+
If the application targets or is likely to be used by children:
|
|
688
|
+
|
|
689
|
+
- Identify applicable age-related requirements.
|
|
690
|
+
- Assess parental authorization rules where relevant.
|
|
691
|
+
- Minimize collection.
|
|
692
|
+
- Review default visibility.
|
|
693
|
+
- Limit profiling and tracking.
|
|
694
|
+
- Evaluate communications and moderation.
|
|
695
|
+
- Apply appropriate protection measures.
|
|
696
|
+
|
|
697
|
+
Requirements vary by jurisdiction, service and processing context.
|
|
698
|
+
|
|
699
|
+
Escalate unresolved legal requirements.
|
|
700
|
+
|
|
701
|
+
Do not invent a universal age threshold.
|
|
702
|
+
|
|
703
|
+
## 35. Sensitive and Special-Category Data
|
|
704
|
+
|
|
705
|
+
Identify processing involving potentially sensitive information.
|
|
706
|
+
|
|
707
|
+
Examples may include:
|
|
708
|
+
|
|
709
|
+
- Health information.
|
|
710
|
+
- Biometric information.
|
|
711
|
+
- Genetic information.
|
|
712
|
+
- Religious beliefs.
|
|
713
|
+
- Political opinions.
|
|
714
|
+
- Sexual orientation.
|
|
715
|
+
- Other protected categories under applicable law.
|
|
716
|
+
|
|
717
|
+
Apply additional restrictions where required.
|
|
718
|
+
|
|
719
|
+
Assess whether processing is necessary and legally supported.
|
|
720
|
+
|
|
721
|
+
Do not send such data to external AI providers without appropriate authorization and safeguards.
|
|
722
|
+
|
|
723
|
+
## 36. Financial Information
|
|
724
|
+
|
|
725
|
+
When financial information is processed:
|
|
726
|
+
|
|
727
|
+
- Minimize collected details.
|
|
728
|
+
- Restrict access.
|
|
729
|
+
- Protect transaction records.
|
|
730
|
+
- Avoid sensitive logging.
|
|
731
|
+
- Evaluate payment provider responsibilities.
|
|
732
|
+
- Apply relevant retention and legal obligations.
|
|
733
|
+
|
|
734
|
+
Do not store full payment credentials unnecessarily.
|
|
735
|
+
|
|
736
|
+
Use suitable regulated payment services where appropriate.
|
|
737
|
+
|
|
738
|
+
## 37. AI and LLM Privacy
|
|
739
|
+
|
|
740
|
+
For AI-enabled applications, assess:
|
|
741
|
+
|
|
742
|
+
- Prompt content.
|
|
743
|
+
- Retrieved documents.
|
|
744
|
+
- Model responses.
|
|
745
|
+
- Data retention by providers.
|
|
746
|
+
- Model training policies.
|
|
747
|
+
- User identifiers.
|
|
748
|
+
- Personal data in vector databases.
|
|
749
|
+
- Third-party processing.
|
|
750
|
+
- Cross-border transfers.
|
|
751
|
+
- Tool output exposure.
|
|
752
|
+
- Audit logging.
|
|
753
|
+
|
|
754
|
+
Do not assume external models provide private or zero-retention processing by default.
|
|
755
|
+
|
|
756
|
+
Verify the relevant service configuration and contractual commitments.
|
|
757
|
+
|
|
758
|
+
Consult docs/ai-and-llm.md.
|
|
759
|
+
|
|
760
|
+
## 38. RAG Privacy
|
|
761
|
+
|
|
762
|
+
For Retrieval-Augmented Generation systems:
|
|
763
|
+
|
|
764
|
+
- Enforce document-level authorization.
|
|
765
|
+
- Apply tenant filtering.
|
|
766
|
+
- Protect private embeddings and metadata.
|
|
767
|
+
- Limit retrieved personal information.
|
|
768
|
+
- Validate document access.
|
|
769
|
+
- Prevent cross-user retrieval.
|
|
770
|
+
- Review vector store retention.
|
|
771
|
+
- Support deletion propagation where required.
|
|
772
|
+
|
|
773
|
+
A correct semantic match does not establish authorization.
|
|
774
|
+
|
|
775
|
+
Never expose restricted documents merely because they were retrieved.
|
|
776
|
+
|
|
777
|
+
## 39. Agentic AI Privacy
|
|
778
|
+
|
|
779
|
+
For systems using autonomous AI agents:
|
|
780
|
+
|
|
781
|
+
- Restrict available tools.
|
|
782
|
+
- Limit data access.
|
|
783
|
+
- Respect user authorization.
|
|
784
|
+
- Define external communication permissions.
|
|
785
|
+
- Protect context windows.
|
|
786
|
+
- Prevent unauthorized information sharing.
|
|
787
|
+
- Bound execution and retention.
|
|
788
|
+
- Validate consequential actions.
|
|
789
|
+
- Preserve appropriate audit evidence.
|
|
790
|
+
|
|
791
|
+
Do not treat an AI agent as a lawful basis for processing personal data.
|
|
792
|
+
|
|
793
|
+
Do not allow retrieved content to expand agent permissions.
|
|
794
|
+
|
|
795
|
+
## 40. AI Training and Data Reuse
|
|
796
|
+
|
|
797
|
+
Determine whether personal data is:
|
|
798
|
+
|
|
799
|
+
- Used for inference.
|
|
800
|
+
- Stored in logs.
|
|
801
|
+
- Used for evaluation.
|
|
802
|
+
- Used for fine-tuning.
|
|
803
|
+
- Used for model training.
|
|
804
|
+
- Shared with subprocessors.
|
|
805
|
+
|
|
806
|
+
These uses may have distinct purposes and legal implications.
|
|
807
|
+
|
|
808
|
+
Do not assume inference authorization also permits training.
|
|
809
|
+
|
|
810
|
+
Do not enable personal data reuse for training silently.
|
|
811
|
+
|
|
812
|
+
## 41. Automated Decisions and Profiling
|
|
813
|
+
|
|
814
|
+
If the application makes or supports consequential decisions about individuals:
|
|
815
|
+
|
|
816
|
+
- Identify decision purpose.
|
|
817
|
+
- Assess degree of automation.
|
|
818
|
+
- Determine human involvement.
|
|
819
|
+
- Review explainability.
|
|
820
|
+
- Evaluate discrimination and accuracy risks.
|
|
821
|
+
- Identify applicable rights.
|
|
822
|
+
- Maintain suitable records.
|
|
823
|
+
- Review necessary legal safeguards.
|
|
824
|
+
|
|
825
|
+
Do not assume the presence of a human button automatically constitutes meaningful human oversight.
|
|
826
|
+
|
|
827
|
+
Escalate unresolved legal and regulatory questions.
|
|
828
|
+
|
|
829
|
+
## 42. Data Protection Impact Assessments
|
|
830
|
+
|
|
831
|
+
Evaluate whether processing may require a Data Protection Impact Assessment or equivalent review.
|
|
832
|
+
|
|
833
|
+
Potential indicators include:
|
|
834
|
+
|
|
835
|
+
- Large-scale sensitive processing.
|
|
836
|
+
- Systematic monitoring.
|
|
837
|
+
- High-risk profiling.
|
|
838
|
+
- Novel technologies with substantial privacy risk.
|
|
839
|
+
- Significant effects on individuals.
|
|
840
|
+
|
|
841
|
+
A DPIA requirement depends on applicable law and the actual processing.
|
|
842
|
+
|
|
843
|
+
Document the screening rationale.
|
|
844
|
+
|
|
845
|
+
Do not claim that a DPIA has been completed merely because a checklist was generated.
|
|
846
|
+
|
|
847
|
+
## 43. Privacy Threat Modeling
|
|
848
|
+
|
|
849
|
+
Assess credible privacy risks.
|
|
850
|
+
|
|
851
|
+
Possible concerns:
|
|
852
|
+
|
|
853
|
+
- Unauthorized disclosure.
|
|
854
|
+
- Excessive collection.
|
|
855
|
+
- Unnecessary retention.
|
|
856
|
+
- Unexpected data reuse.
|
|
857
|
+
- Cross-tenant data access.
|
|
858
|
+
- Third-party leakage.
|
|
859
|
+
- Re-identification.
|
|
860
|
+
- Overly broad analytics.
|
|
861
|
+
- Uncontrolled AI context sharing.
|
|
862
|
+
|
|
863
|
+
Evaluate likelihood, impact and existing controls.
|
|
864
|
+
|
|
865
|
+
Avoid speculative risk inflation.
|
|
866
|
+
|
|
867
|
+
## 44. Privacy-Safe Development Data
|
|
868
|
+
|
|
869
|
+
Prefer:
|
|
870
|
+
|
|
871
|
+
- Synthetic records.
|
|
872
|
+
- Anonymized datasets where genuinely anonymous.
|
|
873
|
+
- Minimal fixtures.
|
|
874
|
+
- Controlled test accounts.
|
|
875
|
+
- Redacted examples.
|
|
876
|
+
|
|
877
|
+
Do not copy production personal data into local development environments without an authorized and lawful process.
|
|
878
|
+
|
|
879
|
+
Pseudonymization alone does not necessarily remove privacy obligations.
|
|
880
|
+
|
|
881
|
+
## 45. Privacy-Safe Testing
|
|
882
|
+
|
|
883
|
+
Select appropriate validation methods:
|
|
884
|
+
|
|
885
|
+
- Data minimization tests.
|
|
886
|
+
- Access control tests.
|
|
887
|
+
- Tenant isolation tests.
|
|
888
|
+
- Export authorization tests.
|
|
889
|
+
- Deletion workflow tests.
|
|
890
|
+
- Retention tests.
|
|
891
|
+
- Logging redaction tests.
|
|
892
|
+
- Consent state tests.
|
|
893
|
+
- External integration tests with safe fixtures.
|
|
894
|
+
|
|
895
|
+
Execute only authorized tests.
|
|
896
|
+
|
|
897
|
+
Avoid destructive tests against production data.
|
|
898
|
+
|
|
899
|
+
Do not fabricate passing results.
|
|
900
|
+
|
|
901
|
+
## 46. Retention and Deletion Testing
|
|
902
|
+
|
|
903
|
+
Where relevant, verify:
|
|
904
|
+
|
|
905
|
+
- Retention triggers.
|
|
906
|
+
- Deletion scheduling.
|
|
907
|
+
- Database cleanup.
|
|
908
|
+
- Storage object cleanup.
|
|
909
|
+
- Search index updates.
|
|
910
|
+
- Cache invalidation.
|
|
911
|
+
- External processor coordination.
|
|
912
|
+
- Backup policies.
|
|
913
|
+
- Audit record preservation.
|
|
914
|
+
|
|
915
|
+
Do not promise complete erasure from every system without evidence.
|
|
916
|
+
|
|
917
|
+
Respect valid legal retention obligations.
|
|
918
|
+
|
|
919
|
+
## 47. Access and Export Testing
|
|
920
|
+
|
|
921
|
+
Verify relevant:
|
|
922
|
+
|
|
923
|
+
- Identity checks.
|
|
924
|
+
- Resource authorization.
|
|
925
|
+
- Export scoping.
|
|
926
|
+
- Data completeness.
|
|
927
|
+
- Privacy of third parties.
|
|
928
|
+
- Secure delivery.
|
|
929
|
+
- Rate limiting.
|
|
930
|
+
- Auditability.
|
|
931
|
+
|
|
932
|
+
Use non-sensitive fixtures whenever practical.
|
|
933
|
+
|
|
934
|
+
Avoid disclosing real user data during tests.
|
|
935
|
+
|
|
936
|
+
## 48. Privacy Incident Prevention
|
|
937
|
+
|
|
938
|
+
Review preventive measures for:
|
|
939
|
+
|
|
940
|
+
- Unauthorized access.
|
|
941
|
+
- Accidental public storage.
|
|
942
|
+
- Excessive logging.
|
|
943
|
+
- Incorrect tenant filters.
|
|
944
|
+
- Unsafe data exports.
|
|
945
|
+
- Misconfigured external integrations.
|
|
946
|
+
- Credentials exposure.
|
|
947
|
+
- Improper AI tool access.
|
|
948
|
+
|
|
949
|
+
Prioritize risks supported by actual evidence.
|
|
950
|
+
|
|
951
|
+
## 49. Privacy Incident Handling
|
|
952
|
+
|
|
953
|
+
If a suspected personal data breach is discovered:
|
|
954
|
+
|
|
955
|
+
1. Record the observed facts.
|
|
956
|
+
2. Avoid further unnecessary exposure.
|
|
957
|
+
3. Identify affected resources.
|
|
958
|
+
4. Assess immediate containment options.
|
|
959
|
+
5. Preserve appropriate evidence.
|
|
960
|
+
6. Escalate to authorized personnel.
|
|
961
|
+
7. Identify applicable notification and reporting obligations.
|
|
962
|
+
8. Document uncertainties.
|
|
963
|
+
|
|
964
|
+
Do not independently send legal breach notifications without authorization.
|
|
965
|
+
|
|
966
|
+
Do not invent incident impact or affected-user counts.
|
|
967
|
+
|
|
968
|
+
Do not modify production systems without the required approval.
|
|
969
|
+
|
|
970
|
+
## 50. Third-Party Integration Review
|
|
971
|
+
|
|
972
|
+
Before introducing a processor or analytics service:
|
|
973
|
+
|
|
974
|
+
- Define its purpose.
|
|
975
|
+
- Identify the personal data involved.
|
|
976
|
+
- Assess necessity.
|
|
977
|
+
- Review service configuration.
|
|
978
|
+
- Identify processing locations.
|
|
979
|
+
- Assess security.
|
|
980
|
+
- Determine contractual requirements.
|
|
981
|
+
- Consider international transfers.
|
|
982
|
+
- Evaluate financial implications.
|
|
983
|
+
- Obtain required authorization.
|
|
984
|
+
|
|
985
|
+
Do not provision paid services automatically.
|
|
986
|
+
|
|
987
|
+
## 51. Privacy Finding Classification
|
|
988
|
+
|
|
989
|
+
Classify findings using:
|
|
990
|
+
|
|
991
|
+
- Confirmed.
|
|
992
|
+
- Strongly supported.
|
|
993
|
+
- Hypothesis.
|
|
994
|
+
- Unknown.
|
|
995
|
+
- Not assessed.
|
|
996
|
+
- Resolved.
|
|
997
|
+
- Mitigated.
|
|
998
|
+
|
|
999
|
+
Record confidence separately from severity.
|
|
1000
|
+
|
|
1001
|
+
Do not present theoretical legal concerns as confirmed violations.
|
|
1002
|
+
|
|
1003
|
+
## 52. Privacy Risk Severity
|
|
1004
|
+
|
|
1005
|
+
Possible severity levels:
|
|
1006
|
+
|
|
1007
|
+
- Critical.
|
|
1008
|
+
- High.
|
|
1009
|
+
- Medium.
|
|
1010
|
+
- Low.
|
|
1011
|
+
- Informational.
|
|
1012
|
+
|
|
1013
|
+
Consider:
|
|
1014
|
+
|
|
1015
|
+
- Data sensitivity.
|
|
1016
|
+
- Scale of exposure.
|
|
1017
|
+
- Affected individuals.
|
|
1018
|
+
- Duration.
|
|
1019
|
+
- Existing controls.
|
|
1020
|
+
- Consequences.
|
|
1021
|
+
- Likelihood.
|
|
1022
|
+
- Reversibility.
|
|
1023
|
+
|
|
1024
|
+
Avoid automatically assigning critical severity merely because personal data is involved.
|
|
1025
|
+
|
|
1026
|
+
## 53. Privacy Finding Format
|
|
1027
|
+
|
|
1028
|
+
Use the following structure for material findings.
|
|
1029
|
+
|
|
1030
|
+
Finding ID:
|
|
1031
|
+
|
|
1032
|
+
[FINDING_ID]
|
|
1033
|
+
|
|
1034
|
+
Title:
|
|
1035
|
+
|
|
1036
|
+
[FINDING_TITLE]
|
|
1037
|
+
|
|
1038
|
+
Category:
|
|
1039
|
+
|
|
1040
|
+
[CATEGORY]
|
|
1041
|
+
|
|
1042
|
+
Severity:
|
|
1043
|
+
|
|
1044
|
+
[SEVERITY]
|
|
1045
|
+
|
|
1046
|
+
Confidence:
|
|
1047
|
+
|
|
1048
|
+
[CONFIDENCE]
|
|
1049
|
+
|
|
1050
|
+
Status:
|
|
1051
|
+
|
|
1052
|
+
[CONFIRMED | STRONGLY_SUPPORTED | HYPOTHESIS | NOT_ASSESSED]
|
|
1053
|
+
|
|
1054
|
+
Affected processing activity:
|
|
1055
|
+
|
|
1056
|
+
[PROCESSING_ACTIVITY]
|
|
1057
|
+
|
|
1058
|
+
Affected data:
|
|
1059
|
+
|
|
1060
|
+
[DATA_CATEGORIES]
|
|
1061
|
+
|
|
1062
|
+
Affected systems:
|
|
1063
|
+
|
|
1064
|
+
[SYSTEMS]
|
|
1065
|
+
|
|
1066
|
+
Evidence:
|
|
1067
|
+
|
|
1068
|
+
[EVIDENCE]
|
|
1069
|
+
|
|
1070
|
+
Potential impact:
|
|
1071
|
+
|
|
1072
|
+
[IMPACT]
|
|
1073
|
+
|
|
1074
|
+
Applicable standard or legal consideration:
|
|
1075
|
+
|
|
1076
|
+
[REFERENCE]
|
|
1077
|
+
|
|
1078
|
+
Recommended remediation:
|
|
1079
|
+
|
|
1080
|
+
[REMEDIATION]
|
|
1081
|
+
|
|
1082
|
+
Required legal or organizational review:
|
|
1083
|
+
|
|
1084
|
+
[REVIEW]
|
|
1085
|
+
|
|
1086
|
+
Required human authorization:
|
|
1087
|
+
|
|
1088
|
+
[AUTHORIZATION]
|
|
1089
|
+
|
|
1090
|
+
Never invent legal conclusions or supporting evidence.
|
|
1091
|
+
|
|
1092
|
+
## 54. Privacy Remediation Planning
|
|
1093
|
+
|
|
1094
|
+
For significant findings:
|
|
1095
|
+
|
|
1096
|
+
1. Identify the root cause.
|
|
1097
|
+
2. Confirm actual processing.
|
|
1098
|
+
3. Define the necessary correction.
|
|
1099
|
+
4. Assess data integrity.
|
|
1100
|
+
5. Assess security.
|
|
1101
|
+
6. Evaluate compatibility.
|
|
1102
|
+
7. Review legal implications.
|
|
1103
|
+
8. Identify required approvals.
|
|
1104
|
+
9. Implement authorized changes.
|
|
1105
|
+
10. Verify the correction.
|
|
1106
|
+
11. Document residual risks.
|
|
1107
|
+
|
|
1108
|
+
Prefer focused improvements.
|
|
1109
|
+
|
|
1110
|
+
Do not rewrite unrelated components unnecessarily.
|
|
1111
|
+
|
|
1112
|
+
## 55. Autonomous Privacy Corrections
|
|
1113
|
+
|
|
1114
|
+
In Autonomous Build Mode, authorized local privacy improvements may proceed without repeated approval.
|
|
1115
|
+
|
|
1116
|
+
Examples:
|
|
1117
|
+
|
|
1118
|
+
- Removing unnecessary logging.
|
|
1119
|
+
- Restricting sensitive data exposure.
|
|
1120
|
+
- Implementing appropriate data validation.
|
|
1121
|
+
- Adding authorization tests.
|
|
1122
|
+
- Improving local retention handling.
|
|
1123
|
+
- Adding safe deletion workflows for future authorized use.
|
|
1124
|
+
- Improving privacy-related documentation.
|
|
1125
|
+
- Adding secure export controls.
|
|
1126
|
+
|
|
1127
|
+
Do not automatically execute bulk deletion of real production records.
|
|
1128
|
+
|
|
1129
|
+
Do not modify live processor agreements or external accounts without required authorization.
|
|
1130
|
+
|
|
1131
|
+
## 56. Protected Privacy Operations
|
|
1132
|
+
|
|
1133
|
+
Require appropriate approval before:
|
|
1134
|
+
|
|
1135
|
+
- Bulk deletion of production personal data.
|
|
1136
|
+
- Production data export.
|
|
1137
|
+
- Changing production data retention policies.
|
|
1138
|
+
- Changing active legal consent mechanisms.
|
|
1139
|
+
- Sending personal data to new external processors.
|
|
1140
|
+
- Enabling new tracking activities.
|
|
1141
|
+
- Modifying privileged production data access.
|
|
1142
|
+
- Activating new international transfers.
|
|
1143
|
+
- Making binding legal declarations.
|
|
1144
|
+
- Sending regulatory notifications.
|
|
1145
|
+
|
|
1146
|
+
A general autonomous build instruction is insufficient for these protected operations.
|
|
1147
|
+
|
|
1148
|
+
## 57. Privacy and Financial Boundaries
|
|
1149
|
+
|
|
1150
|
+
Privacy infrastructure may introduce costs.
|
|
1151
|
+
|
|
1152
|
+
Examples:
|
|
1153
|
+
|
|
1154
|
+
- Data residency options.
|
|
1155
|
+
- Dedicated hosting.
|
|
1156
|
+
- Managed encryption services.
|
|
1157
|
+
- Compliance tools.
|
|
1158
|
+
- Data discovery platforms.
|
|
1159
|
+
- Additional storage.
|
|
1160
|
+
- Extended audit logging.
|
|
1161
|
+
|
|
1162
|
+
Evaluate financial implications.
|
|
1163
|
+
|
|
1164
|
+
Do not create new paid commitments automatically.
|
|
1165
|
+
|
|
1166
|
+
Consult docs/cost-engineering.md.
|
|
1167
|
+
|
|
1168
|
+
## 58. Privacy Exceptions
|
|
1169
|
+
|
|
1170
|
+
If a requirement cannot currently be satisfied:
|
|
1171
|
+
|
|
1172
|
+
- Identify the requirement.
|
|
1173
|
+
- Explain the limitation.
|
|
1174
|
+
- Assess risk.
|
|
1175
|
+
- Evaluate alternatives.
|
|
1176
|
+
- Identify compensating controls.
|
|
1177
|
+
- Document required approvals.
|
|
1178
|
+
- Define review conditions.
|
|
1179
|
+
|
|
1180
|
+
Use:
|
|
1181
|
+
|
|
1182
|
+
~/engineering-standards/templates/EXCEPTIONS.md
|
|
1183
|
+
|
|
1184
|
+
An AI agent cannot approve its own standards exception.
|
|
1185
|
+
|
|
1186
|
+
An exception cannot authorize violations of applicable law or higher-priority restrictions.
|
|
1187
|
+
|
|
1188
|
+
## 59. Privacy Documentation
|
|
1189
|
+
|
|
1190
|
+
Document relevant:
|
|
1191
|
+
|
|
1192
|
+
- Data inventories.
|
|
1193
|
+
- Processing purposes.
|
|
1194
|
+
- Data flow diagrams.
|
|
1195
|
+
- Processor dependencies.
|
|
1196
|
+
- Retention rules.
|
|
1197
|
+
- Privacy-sensitive architecture decisions.
|
|
1198
|
+
- Consent requirements.
|
|
1199
|
+
- Access and deletion workflows.
|
|
1200
|
+
- Open legal questions.
|
|
1201
|
+
- Implementation limitations.
|
|
1202
|
+
|
|
1203
|
+
Use:
|
|
1204
|
+
|
|
1205
|
+
~/engineering-standards/templates/AUDIT_REPORT.md
|
|
1206
|
+
|
|
1207
|
+
for significant privacy assessments.
|
|
1208
|
+
|
|
1209
|
+
Do not invent completed legal reviews or regulatory approvals.
|
|
1210
|
+
|
|
1211
|
+
## 60. Privacy Verification
|
|
1212
|
+
|
|
1213
|
+
After authorized implementation:
|
|
1214
|
+
|
|
1215
|
+
1. Inspect relevant code changes.
|
|
1216
|
+
2. Verify personal data access boundaries.
|
|
1217
|
+
3. Run appropriate privacy tests.
|
|
1218
|
+
4. Review logging.
|
|
1219
|
+
5. Validate export and deletion workflows.
|
|
1220
|
+
6. Assess new external dependencies.
|
|
1221
|
+
7. Confirm sensitive data is not leaked to unauthorized services.
|
|
1222
|
+
8. Record actual results.
|
|
1223
|
+
9. Document unverified assumptions.
|
|
1224
|
+
10. Report remaining risks.
|
|
1225
|
+
|
|
1226
|
+
Do not claim verification for tests that were not executed.
|
|
1227
|
+
|
|
1228
|
+
## 61. Privacy Definition of Done
|
|
1229
|
+
|
|
1230
|
+
For significant personal data processing functionality:
|
|
1231
|
+
|
|
1232
|
+
- Processing purpose identified.
|
|
1233
|
+
- Relevant data categories documented.
|
|
1234
|
+
- Data minimization considered.
|
|
1235
|
+
- Authorization implemented.
|
|
1236
|
+
- Sensitive information protected.
|
|
1237
|
+
- Relevant retention requirements assessed.
|
|
1238
|
+
- Appropriate deletion mechanisms defined.
|
|
1239
|
+
- Third-party processing reviewed.
|
|
1240
|
+
- International transfers considered.
|
|
1241
|
+
- Relevant user rights assessed.
|
|
1242
|
+
- AI data handling reviewed when applicable.
|
|
1243
|
+
- Privacy tests executed where feasible.
|
|
1244
|
+
- Legal uncertainties documented.
|
|
1245
|
+
- Protected actions authorized.
|
|
1246
|
+
- Human responsibilities recorded.
|
|
1247
|
+
|
|
1248
|
+
Technical completion does not automatically establish legal compliance.
|
|
1249
|
+
|
|
1250
|
+
## 62. Final Reporting
|
|
1251
|
+
|
|
1252
|
+
At the end of the assessment or implementation, report:
|
|
1253
|
+
|
|
1254
|
+
1. Scope reviewed.
|
|
1255
|
+
2. Personal data categories.
|
|
1256
|
+
3. Relevant processing activities.
|
|
1257
|
+
4. Existing protections.
|
|
1258
|
+
5. Confirmed privacy findings.
|
|
1259
|
+
6. Unverified concerns.
|
|
1260
|
+
7. Risk severity and confidence.
|
|
1261
|
+
8. Corrections implemented.
|
|
1262
|
+
9. Tests executed.
|
|
1263
|
+
10. Tests not executed.
|
|
1264
|
+
11. Outstanding legal decisions.
|
|
1265
|
+
12. Required human authorization.
|
|
1266
|
+
13. Remaining risks.
|
|
1267
|
+
14. Recommended next steps.
|
|
1268
|
+
|
|
1269
|
+
Distinguish technical verification from legal approval.
|
|
1270
|
+
|
|
1271
|
+
## 63. Final Privacy Principles
|
|
1272
|
+
|
|
1273
|
+
Apply Privacy by Design.
|
|
1274
|
+
Apply Privacy by Default.
|
|
1275
|
+
Collect only necessary data.
|
|
1276
|
+
Define legitimate processing purposes.
|
|
1277
|
+
Identify appropriate lawful bases where required.
|
|
1278
|
+
Protect sensitive personal information.
|
|
1279
|
+
Restrict data access.
|
|
1280
|
+
Preserve tenant isolation.
|
|
1281
|
+
Minimize unnecessary logging.
|
|
1282
|
+
Respect applicable retention requirements.
|
|
1283
|
+
Support relevant data subject rights.
|
|
1284
|
+
Assess third-party processors.
|
|
1285
|
+
Evaluate international transfers.
|
|
1286
|
+
Protect personal data in AI systems.
|
|
1287
|
+
Restrict autonomous agent data access.
|
|
1288
|
+
Use safe development and test data.
|
|
1289
|
+
Protect production environments.
|
|
1290
|
+
Avoid unauthorized data exports.
|
|
1291
|
+
Never invent legal compliance findings.
|
|
1292
|
+
Document uncertainty and limitations.
|
|
1293
|
+
Maintain engineering quality in Autonomous Build Mode.
|
|
1294
|
+
Require approval for protected operations.
|
|
1295
|
+
Report remaining risks honestly.
|