AI search can outlive the permissions of its sources
A professional-services firm introduces AI-assisted document search across confidential client workspaces. Search may retrieve passages that a user could once read but is no longer authorised to access after a matter transfer. A privacy impact assessment needs to examine how documents are indexed, how permissions change and what appears in model prompts, outputs and logs.
Disabling all retrieval would protect confidentiality but remove business benefit; unrestricted semantic search can reveal sensitive details indirectly, even without quoting a full document. Design the service to test least-privilege retrieval, purpose limits, output review and erasure across copies. A vendor statement that it does not train on customer data does not answer every retention or access question.
Set the boundary around source catalogue
Use several fictitious clients and legal or consulting matters with different permissions. Map source files, indexing jobs, embeddings, retrieval filters, model provider, prompt storage, user-facing results and deletion routes. Apply privacy law and contractual analysis relevant to the actual organisation; this worksheet does not determine legal compliance.
The privacy officer owns the assessment, data owners classify documents and approvals, search engineers implement lineage and access filters, and security tests tenant isolation. Legal or procurement reviews processing locations, subcontractors and contracts before production deployment.
Test setup for index permission binding
Begin with source catalogue and agree precisely what the equipment, data or account fixture represents. Classify fictional client files by permitted readers, confidentiality level, retention rule and matter status. An assessor needs to see the expected result before judging it: indexing has an approved purpose and does not silently expand to unrelated archives. The final review must also cover pia decision and its proof, not merely a completed change ticket. Choose the safest test route consistent with this scope: use several fictitious clients and legal or consulting matters with different permissions.
Failure patterns linking matter reassignment and prompt and log minimisation
Permissions that change after indexing. A staff member can search documents in a client matter and is later reassigned. If the search index continues using the crawler’s original broad permission state, the employee may still retrieve summaries from the former matter. Use synthetic matters to test removal after indexing, including cached answers and saved conversations. The correct result is not merely that the original source link denies access: the generated text must also avoid revealing the prohibited material indirectly.
Where sensitive text travels. An AI search feature can send retrieved passages to a model provider, application logs, observability tools and support workflows. Each destination may have a different access audience and retention policy. A statement that data is not used for model training does not establish that prompts are never logged or read by authorised support staff. The privacy assessment should map those paths, identify subprocessors and decide which information can be minimised before processing. Use fictional personal information to demonstrate redaction without exposing real client records.
Deletion and residual use. Removing a document from the original workspace may not immediately remove its embedding, cached retrieval result or a previously generated summary. Test deletion propagation across those stores and document any lawful preservation exception. A privacy owner should also consider whether the intended search purpose justifies indexing sensitive archives at all. The final assessment must balance employee usefulness with client confidentiality and provide a concrete sign-off or remediation plan. AI-assisted retrieval is an access-control and information-governance service, not only a search interface. Consider a staff member who is permitted to search procedural guidance but not client-specific financial records. The search interface should not allow a model to construct the restricted answer by combining harmless-looking fragments from multiple sources. Test that indirect pathway with a fictitious client and record which retrieval restrictions apply before generation, not merely whether a final output filter catches one example.
Trust prerequisites: Source catalogue
1. Source catalogue
Exercise. Classify fictional client files by permitted readers, confidentiality level, retention rule and matter status. Approval to index one matter does not automatically extend to old archives or a second client. Capture the initial scope precisely.
Outcome to establish. Indexing has an approved purpose and does not silently expand to unrelated archives.
Review evidence. Retain data-flow map, owner decision and scope exclusions.
2. Index permission binding
Exercise. Index two separate matters and observe how effective source ACLs are represented in search metadata. A crawler may see all documents even though end users must not. Search filtering needs to reflect current source privileges.
Outcome to establish. Search filters enforce current user authority rather than the original crawler identity.
Review evidence. Keep ACL snapshot, index lineage and retrieval trace.
3. Matter reassignment
Exercise. Remove a fictional employee from a client matter after documents have been indexed. Embeddings and caches can outlive revoked source access. Test a realistic reassignment after the index has already been populated.
Outcome to establish. Prior access does not survive through stale embeddings, caches or saved search sessions.
Review evidence. Preserve permission-change event and denied result.
Business consequences: Indirect inference and Provider processing
4. Indirect inference
Exercise. Ask the authorised test user for a summary that might draw conclusions from documents in a denied matter. A model can reveal protected facts without quoting the original source. Review inferred answers as well as retrieved document links.
Outcome to establish. The answer does not disclose restricted facts by paraphrase, citation or aggregation.
Review evidence. Keep prompt fixture, retrieval IDs and output review.
5. Provider processing
Exercise. Inspect where prompts, retrieved text and telemetry may be sent, stored and reviewed by suppliers. Provider assurances about model training do not settle questions about support access, logging, subprocessors or processing location.
Outcome to establish. Transfers match documented purposes and approved processing arrangements.
Review evidence. Retain provider data flow, terms review and retention settings.
6. Prompt and log minimisation
Exercise. Enter synthetic personal information and inspect application, support and observability logs. Observability tools may store prompts containing confidential client information. Apply minimisation before wide engineering access.
Outcome to establish. Unnecessary sensitive payloads are excluded or protected, with defined retention.
Review evidence. Keep log samples, redaction proof and access matrix.
Release authority: Deletion propagation and PIA decision
7. Deletion propagation
Exercise. Remove a fictional client document and trace its removal from search index, cache and derived store. Removing a source document may not delete every derivative copy instantly. Design an observable propagation and exception process.
Outcome to establish. The system can show when deletion is complete and identify any lawful retention exceptions.
Review evidence. Retain deletion request, component acknowledgements and residual list.
8. PIA decision
Exercise. Review usefulness, residual disclosure scenarios and unresolved processing questions with accountable owners. A privacy assessment should record residual risks and decision-makers, not simply accept that AI search is a productivity feature.
Outcome to establish. A deployment decision includes mitigations, acceptance evidence and a dated review trigger.
Review evidence. Save signed PIA, test register, remaining risks and operator training.
Decision challenge: Indirect inference before PIA decision
A privacy impact assessment for AI document search must track permission changes after the index was created. Build the assessment around fictitious matters with unequal access, then remove one employee from a matter and repeat the same semantic query. A retrieval filter that checks only the original uploader or the embedding store is insufficient if document ownership changed. Record the authoritative source of entitlement, the delay between a change and index enforcement, and the behaviour of cached answers. An absence of a visible document is not adequate if the generated answer still paraphrases information the user is no longer authorised to see.
Data minimisation needs a complete route through query logs, model-provider processing, support traces and deletion procedures. Use a synthetic confidential phrase to test where retrieved text or prompts are retained, and ask whether operational personnel can retrieve that phrase outside the authorised matter. Distinguish deletion of a source file from deletion of derived vectors, caches and recorded prompts. If one component cannot support timely deletion or enforce the proper tenant boundary, the PIA should recommend a constrained pilot or a design change. Legal and privacy owners—not the development team alone—must accept any residual handling risk.
Ask the privacy and records teams to witness the answer-level result, not just the retriever’s access logs. A user might receive a generated summary that discloses an excluded client’s circumstances without any file download being recorded. The test should show the query, authorised matter, effective filters, returned passages and the final answer. It should then repeat with the user’s matter entitlement withdrawn. If the system cannot reliably explain which passages supported an answer, constrain the use case before sensitive search expands. Preserve only synthetic content in the shared assessment artefacts.
A mixed result: Index permission binding passes while Provider processing fails
Consider the relationship between index permission binding and provider processing in this workflow. Index two separate matters and observe how effective source ACLs are represented in search metadata. The permitted outcome is: search filters enforce current user authority rather than the original crawler identity. The next boundary is different: inspect where prompts, retrieved text and telemetry may be sent, stored and reviewed by suppliers. Transfers match documented purposes and approved processing arrangements. Use the original case evidence and then compare it to retain provider data flow, terms review and retention settings.
Unresolved matter reassignment risks and business exceptions
If matter reassignment does not meet its expectation, begin with the concrete event: remove a fictional employee from a client matter after documents have been indexed. The result should have demonstrated that prior access does not survive through stale embeddings, caches or saved search sessions. Record the evidence source in this case: preserve permission-change event and denied result. An exception involving deletion propagation has different implications: the system can show when deletion is complete and identify any lawful retention exceptions.
Independent proof for source catalogue
A privacy reviewer should be able to reconstruct the assessment from the source catalogue, the indirect-inference test and the final PIA decision. Retain the data-flow map, the excluded data sets, each prompt fixture, retrieved document identifiers and the output review. Record the approved mitigations, residual risks, accountable decision-maker and a dated trigger for reassessment before the AI search service is released.
Operational handover for pia decision
The operational handover for pia decision should incorporate both the observed decision and the business priority that motivated the exercise. Save signed PIA, test register, remaining risks and operator training. The privacy officer owns the assessment, data owners classify documents and approvals, search engineers implement lineage and access filters, and security tests tenant isolation. Legal or procurement reviews processing locations, subcontractors and contracts before production deployment. The owner should schedule a reassessment when the affected supplier, service, dataset, identity path or operating conditions materially change.
Make the privacy impact assessment a release decision
The PIA should end with a recorded choice, not simply a diagram of the search architecture. Identify the personal-information categories that are actually indexed, who can see search snippets, whether the provider retains prompts or telemetry, and how deletion or a client-matter transfer propagates to cached results. For each open issue, name the responsible privacy or data owner, the permitted pilot population, the mitigation and the deadline for retesting.
Run a negative test with fictional documents after removing a user from a matter. If a snippet still appears in a response or log, the service is not ready for broad release, even if the underlying document URL is inaccessible. Preserve the retrieval identifier and the permission-change event, then document whether the response was blocked, redacted or still exposed. Legal and privacy advisers should determine the organisation’s actual notice, retention and contract obligations; this worksheet cannot establish compliance by itself.
Sources and further reading
- https://www.nist.gov/itl/ai-risk-management-framework
- https://owasp.org/www-project-application-security-verification-standard/
How Next Defence can help
Test revoked access to AI search snippets and cached results as part of a focused AI security and governance assessment. The privacy owner should approve fictional test material and record any retrieval exposure before a wider release.