← Back to all fieldnotes

Who Can See the AI's Answer?

Last updated:

Hermes checked who could fetch the data, but not who could see the answer.

The enterprise risk

An assistant can retrieve information for an authorized user and still disclose it to an unauthorized audience. Sensitive information disclosure does not require a malicious prompt.

A hypothetical Hermes example

Alice asks Hermes to investigate a synthetic Jira ticket. Alice has permission to read it, but some members of the Slack channel do not. If Hermes posts the sensitive findings into that channel, the disclosure happens at that first post.

There is another path: sensitive material may remain in the agent’s internal session context without appearing in a previous Slack reply. If Bob later requests a summary in the same thread, Hermes could reveal that material without making another Jira call. Checking permissions only on new tool calls would miss this path.

These are hypothetical scenarios, not reports of an incident or claims about a specific organization’s deployment.

The control boundary

Keep sensitive results in an authorized private conversation, and check each requester’s permissions even within one thread. A shared thread does not establish shared entitlement.

Enforce retrieval permissions before data reaches the model. Separately enforce which destinations and audiences may receive the result. Isolate sensitive context from shared sessions; permission-aware context selection must also cover stored history, memory, and cached results. A system prompt asking the model to keep secrets cannot carry this boundary alone.

A safe test

Use two test users with different entitlements and synthetic data containing a unique marker. Verify that the marker never reaches the shared channel or the unauthorized user’s response, including through later summaries. Inspect tool calls, context handling, and delivery logs.

Reference

OWASP LLM02: Sensitive Information Disclosure.