Skip to main content
Next Defence - Next-Gen AI Cyber Security Firm
Australia & New Zealand[email protected](02) 9064 2614
INSIGHT

Exposed Customer Files in an AI Support-Agent Knowledge Base

A software supplier notices that a public-facing AI support assistant appears to cite internal troubleshooting notes.

How a support answer can cross a customer boundary

A software supplier notices that a public-facing AI support assistant appears to cite internal troubleshooting notes. Its retrieval index may have combined tenant-confidential records with public product documentation after a permission change. This is a potential confidentiality exposure requiring prompt verification, not automatic proof that customer files were extracted. The important boundary is the identity under which the assistant retrieves evidence. Restricting the final chat message alone will not protect information if the retrieval service has already returned another tenant's document.

Freeze the risky path before losing evidence

Identify the affected index, connector version, ingestion job and recent access-control changes. If the assistant may expose confidential content publicly, pause the suspect retrieval source or route users to a known-safe documentation index while retaining essential support operations. Preserve versioned configurations, retrieval traces and the mapping between document security labels and tenant identities. Avoid copying private files into an unrestricted incident channel; record document IDs and the minimum necessary excerpts under controlled access. Assign both a product owner and a customer-data custodian to the decision.

Test with two invented customer tenants

Prepare synthetic customer A and B runbooks containing distinct harmless phrases plus a publicly available help article. Query the assistant as an anonymous visitor, then as each customer's ordinary support user. The anonymous session should see only public material. Customer A must not retrieve B's runbook, whether through search snippets, citations, follow-up prompts or direct document links. Repeat through the underlying search API because a front-end response filter may hide a result that a tool or extension can still fetch. Record retrieved object IDs and enforced access decisions.

Look at every place permissions can drift

Retrieval permissions can be lost when a connector reads documents with a broad service credential, when ingestion strips tenancy labels, or when an index rebuild defaults to a public visibility setting. Inspect chunk-level inheritance, embedding-store metadata, access filters, cache entries and any conversation-memory store. Documents deleted from the source may remain in snapshots or caches; a newly corrected document label does not necessarily invalidate previously generated excerpts. Verify that all retrieval paths receive authenticated user and tenant context and that the server enforces it on every search.

Separate retrieval evidence from disclosure evidence

A query trace showing that a confidential chunk was available demonstrates a serious control gap. It does not, by itself, establish that a particular customer read it. For incident classification, distinguish indexed presence, successful retrieval into a model context, content included in a response and delivery to an identifiable unauthorised recipient. Preserve timestamps, access logs, affected data categories and the limits of available telemetry. Any notification decision should involve the supplier's legal and privacy functions and the actual facts, not an assumption drawn from one synthetic prompt.

Return support to service carefully

Rebuild or reconfigure the index with explicit per-tenant access labels, restricted connector credentials and deterministic permission filters. Validate cache invalidation and purge paths. Run public, customer-specific and administrator tests before restoring the broader support experience. Check that legitimate support staff can still retrieve documents necessary for an authorised ticket, but only under the relevant customer context. If old session histories can expose earlier answers, assess that separate retention path instead of treating an index fix as the end of remediation.

What the product team signs off

A useful release record identifies the affected connector, test identities, queries used, returned document IDs, denied cross-tenant results, remaining uncertain exposure period and owner of further log review. The security engineer validates retrieval controls; the product owner confirms customer support works; the privacy lead decides whether any customer assessment remains open. Repeat this suite after ingestion changes, new knowledge sources or model-tool updates. A good outcome is a demonstrably private retrieval boundary, not only a revised support prompt telling the assistant to keep secrets.

Retrieval test cases that catch subtle leaks

Include a cross-tenant support article with a nearly identical title to a public help topic, and a second article whose sensitive text appears only in an embedded attachment. Test whether both the title and attachment chunk inherit the correct restriction. Add a previously authorised user whose support entitlement has been revoked, then attempt to reuse a prior chat session or cached citation. These checks detect indexing and cache mistakes that a simple 'ask for another customer' prompt may miss. The ground truth is the server's authorisation and actual retrieved object, not the apparent confidence of the answer.

Handling material already used in a response

If an earlier assistant answer included restricted content, deleting the index does not erase the reply from customer chat histories, exports or monitoring systems. Identify where those outputs were stored and which recipients may have received them before deciding whether to restrict, retain or remove records. Keep sufficient incident evidence for legal review and do not destroy logs in pursuit of cleanup. The customer-data owner should document what is known about the exposure period, what cannot be reconstructed and which remediation applies to stored response copies.

Assessing the scope of indexed information

An index may hold document chunks, summary fields, titles and hidden metadata with different retention settings. For each suspected cross-tenant record, document which representation was accessible under the unauthorised identity and whether the full attachment could be fetched. Where the same article was legitimately public in another version, preserve that distinction. The privacy assessment should not count all documents in the connector as disclosed by default; it should separate affected accessible objects, confirmed delivered content and records whose historical visibility cannot be established from the retained telemetry.

Further reading and implementation support

For tenant-confidential support knowledge, Next Defence can assist with a scoped verification of ai retrieval access control, including engineering-safe test design and evidence review. Any conclusions would depend on the particular systems and records examined.

Explore the related security capability

References and guidance

LET'S TALK

Let’s talk about your security.

Tell us what you are protecting, where you need greater visibility or what you want to achieve. We will help identify the right next step.

Talk to a Security Specialist

Describe your security requirements. Please do not submit passwords, credentials or confidential incident evidence. This form is not an emergency incident-response channel.

Form powered by HubSpot. Review our Privacy Policy. If the form doesn’t load, email [email protected].