Skip to content
Roadmap0/111
not startedstudy day 4 of 6 · covers original day 137

Revisit advanced privacy and deletion

P1 AssistantP2 RAG platformS5M7D4D10
not started0/5 blocks
0/5
Jump & context

Week 18: Targeted Remediation of Weakest Controls & Clean-Room Final Acceptance Runs (Projects 1 & 2)

The five hours

  1. 01

    Concepts & system design

    60 min

    R16 — Presidio

    R17 — NIST Privacy

    R18 — Opacus DP

    Read the assigned sections; map the mechanism, threat model and trade-offs.

  2. 02

    Project implementation

    120 min

    Revisit advanced privacy and deletion propagation. Audit secondary caches, error traces, dead-letter queues, and embedding payloads for subtle cross-tenant or post-deletion leakage paths.

    Build, integrate, debug and improve the increment in the active project.

  3. 03

    Security lab

    60 min

    Write a cross-store leakage test (e.g., querying cached answers or DLQ payloads after a user deletion request) and ensure D4 and D10 purge all derived artifacts.

    Test the abuse case, failure path, authorization bypass or resource limit.

  4. 04

    Verification & evidence

    30 min

    Updated privacy threat model and passing cross-store deletion test.

    Add or run regression tests; record the 9-point evidence record.

  5. 05

    Deliberate practice & Socratic review

    30 min

    Answer the 8 Socratic questions without notes: What? Why? How? What if? Why not? How can I prove it? Where can it break? What have I learned?

    Re-explain the hardest concept aloud, inspect one edge case, update the gap log.

  6. total5 h

Read today · inside the concepts block

R16 R17 R18

Read only the named sections needed for today's task. Reading sits inside the 60-minute concepts block; it is not extra time.

Free resources for this day

5 curated
  • docsMicrosoft · Analyzer/anonymizer docs
    Microsoft Presidio

    Documents the analyzer recognizer pipeline and the anonymizer operators, plus how to add custom recognizers — the layer where false positives and false negatives become a documented limit rather than a surprise.

    R16checked 2026-11-11
  • videoM&M Tech · 14 min
    Data Anonymization With Microsoft Presidio - Full Step By Step Tutorial

    Walks entity detection, adding a custom entity, anonymizing, and custom anonymization in sequence, which is the exact flow for extending the D4 gateway to a new PII type.

    R16checked 2026-11-11
  • videoOpenMined · Conference tutorial
    OM PriCon 2020 Tutorial: Differentially Private Model Training with Opacus - Davide Testuggine

    Links DP-SGD's three mechanisms — per-sample gradient clipping, noise addition, and privacy accounting — to the PrivacyEngine API, which is what makes an (epsilon, delta) claim auditable rather than nominal.

    R18checked 2026-11-11
  • articleNicchin · 14 min read
    GDPR Right to Erasure in Vector Databases: What Delete Misses

    Shows that the erasure boundary is the embedding, not the document, and that soft-deleted HNSW vectors can stay reconstructible — the secondary-cache and post-deletion leakage path you are auditing.

    R17checked 2026-11-11
  • courseOpacus (Meta) · Runnable notebook
    Building an Image Classifier with Differential Privacy

    A hands-on DP-SGD run that sets max grad norm, noise multiplier, and delta, then shows ModuleValidator rejecting BatchNorm because per-sample gradients break — the utility-versus-privacy trade-off in practice.

    R18checked 2026-11-11

Evidence record · 9-point standard

0/9

A lab is complete only when it produces evidence. Installing PyRIT, Garak, Presidio or TransformerLens is not completion. Saved on this device only.

Day notes

empty

The two source formulations

verbatim · nothing summarised

Project & Deliverable Target

P1 & P2 | `D4` (PII Gateway) & `D10` (Vector Scrubber) | M7, S5

Core Implementation

Revisit advanced privacy and deletion propagation. Audit secondary caches, error traces, dead-letter queues, and embedding payloads for subtle cross-tenant or post-deletion leakage paths.

Security Lab

Write a cross-store leakage test (e.g., querying cached answers or DLQ payloads after a user deletion request) and ensure D4 and D10 purge all derived artifacts.

Verification & Evidence

Updated privacy threat model and passing cross-store deletion test.

Read Today (60m Concepts Block)

R16 (Presidio), R17 (NIST Privacy), R18 (Opacus DP).

---