Provenance, ACLs & Multi-Hop Research
Poisoning, Output Caging & Multi-Agent Adjudication
Jump & context
Week 14: Project 1 Release Candidate & Project 2 Hardening Sprint (RAG Platform)
The five hours
- 01
Concepts & system design
60 min· read · map the mechanismR09 — PostgreSQL
R13 — Qdrant ACLs
R04 — LLM Top 10
R05 — MITRE ATLAS
R14 — Ragas
Read the assigned sections; map the mechanism, threat model and trade-offs.
- 02
Project implementation
120 min· build · integrate · debugAudit chunk provenance, tenant/document ACLs, vector filters, deletion propagation, and
D10Sleeper-Agent Scrubber. Complete `C2` (Multi-hop research & citation provenance): decompose complex queries into sub-queries, retrieve authorized passages per hop, detect cross-document contradictions, and verify citations viaD5.Complete `C5` (Multi-agent coordination & conflict resolution) inside
P2: run a bounded 3-role review (Extraction/Research Agent + Evidence Reviewer + Policy/Security Reviewer) using typed envelopes (D3contract) and deterministic conflict adjudication/human escalation. Run the full poisoning, multimodal OCR/audio, andD6CFG output-caging attack corpus.Build, integrate, debug and improve the increment in the active project.
- 03
Security lab
60 min· attack your own systemNo separate task text for this block on day 81 — the sourced work sits in the block above. Keep the time box.
Test the abuse case, failure path, authorization bypass or resource limit.
- 04
Verification & evidence
30 min· test · record evidenceCross-tenant ACL tests,
C2multi-hop contradiction/citation tests,C5multi-agent conflict-resolution tests, andD5/D6/D10attack corpus report.Add or run regression tests; record the 9-point evidence record.
- 05
Deliberate practice & Socratic review
30 min· explain aloud · update gapsAnswer 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.
- total5 h
Read today · inside the concepts block
R04 R05 R09 R13 R14Prompt injection, sensitive info disclosure, improper output handling, excessive agency, vector weaknesses, unbounded consumption.
ML attack tactics/techniques: prompt injection, data poisoning, model extraction, and exfiltration.
Foreign-key constraints, indexes, ACID transactions, row-level security (RLS), and query planning.
Collections, payload metadata indexing, pre-filtering, multitenancy partitioning, and snapshots.
RAG evaluation metrics: context precision, context recall, faithfulness, and answer relevance.
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- docsQdrant · docsConfigure Multitenancy
Shows payload-based tenant partitioning with is_tenant indexes and a mandatory must-filter on every query — the mechanism that keeps chunk retrieval inside one tenant's ACL boundary.
R13moved 2026-11-11 - videoProfessor Py: AI FoundationsQdrant Payload Filtering in Python: Search Vectors with Metadata Conditions
Builds a QdrantClient workflow that enforces ownership and recency filters during search, which is the vector-filter audit in runnable form rather than a policy claim.
R13checked 2026-11-11 - videoSecureTechInAI Security Lesson 15: RAG Poisoning Explained for Security Teams
Walks the four-step poisoning chain and the PoisonedRAG result that a handful of injected texts per target question suffices, which sets the D10 scrubber's detection threshold and test corpus size.
R04R05checked 2026-11-11 - articlearXiv (USENIX Security 2025) · paperMachine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documents
Shows query-specific blocker documents that make retrieval return useless context — the availability side of poisoned corpora, which the day measures.
R04R05checked 2026-11-11 - docsOWASP · cheat sheetRAG Security - OWASP Cheat Sheet Series
Covers per-chunk access-control inheritance, signed source attribution on responses, and index integrity monitoring, which are the provenance and deletion-propagation controls for C2 and D5.
R04R09checked 2026-11-11
Evidence record · 9-point standard
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
emptyThe two source formulations
verbatim · nothing summarisedProject & Deliverable Target
Project 2 Hardening (C2, C5 integration) | `D5`, `D6`, `D10` | S4, S7, M3
Focus 1 (Provenance, ACLs & Multi-Hop Research — Orig. Day 104)
Audit chunk provenance, tenant/document ACLs, vector filters, deletion propagation, and D10 Sleeper-Agent Scrubber. Complete `C2` (Multi-hop research & citation provenance): decompose complex queries into sub-queries, retrieve authorized passages per hop, detect cross-document contradictions, and verify citations via D5.
Focus 2 (Poisoning, Output Caging & Multi-Agent Adjudication — Orig. Day 105)
Complete `C5` (Multi-agent coordination & conflict resolution) inside P2: run a bounded 3-role review (Extraction/Research Agent + Evidence Reviewer + Policy/Security Reviewer) using typed envelopes (D3 contract) and deterministic conflict adjudication/human escalation. Run the full poisoning, multimodal OCR/audio, and D6 CFG output-caging attack corpus.
Verification & Evidence
Cross-tenant ACL tests, C2 multi-hop contradiction/citation tests, C5 multi-agent conflict-resolution tests, and D5/D6/D10 attack corpus report.
Read Today (60m Concepts Block)
R09 (PostgreSQL), R13 (Qdrant ACLs), R04 (LLM Top 10), R05 (MITRE ATLAS), R14 (Ragas).
---