OWASP LLM Top 10

LLM02Sensitive information disclosure

Private data reaches someone who should never see it, through the answer, the search results or the logs.

Where it breaks
Between the data Lumi can reach and what it shows
The setup
To help Lumi with tricky questions, Lumora's team connected its search to the whole support drive. Nobody checked what else lives in that drive.

LLM02 Sensitive information disclosure

No safeguards. This is how the attack lands.

Support notes join the index

No harm yet

Every night the whole support drive is copied into the help centre index. Next to the help articles sit staff case notes, with travellers' names, emails, refund amounts and the reasons they gave.

Arrow keys work too
Conversation and log
Support notes join the index
Sync job

Indexed 4,812 files: 310 help articles and 4,502 staff case notes.

The fix, in short

Decide what the assistant may see before it searches, and treat every place its words end up, logs included, as an output that needs the same care.

  • Classify what goes into the index and scrub personal data at ingest. Staff case notes do not belong in a search travellers can reach.
  • Enforce who may see which document inside the search query itself, not by filtering results afterwards.
  • Send the model only the fields the task needs, never whole records by default.
  • Check replies for personal data with trained classifiers as well as patterns, because simple patterns miss encoded or translated text.
  • Scrub prompts, retrieved text and replies before they reach logs and monitoring tools, and limit who can read them.

Read the official LLM02 entry (opens in a new tab)