Finding every path customer financial data takes to a large language model
Customer financial data reaches an LLM through six categories of path: prompts, retrieval and vector stores, training and fine-tuning, agent tool calls and MCP servers, logging and telemetry, and third-party AI features. Find them by combining design-time review (code, configuration, data catalogs, vendor inventories) with runtime observation (gateway logs, traffic analysis, tool-call records). Then verify each path with evidence and keep the map current using runtime controls and audit records.
What counts as a path, and why static inventories miss some
A path is any route by which customer financial data reaches an LLM. Two kinds of evidence are needed to find them all, and each covers different sources.
| Approach | Sources |
|---|---|
| Design-time review | Code, configuration, data catalogs, vendor inventories |
| Runtime observation | Gateway logs, traffic analysis, tool-call records |
Design-time sources describe what teams intended to build. Runtime observation shows which agents and tools actually sent customer financial data to which models, which is why an inventory built only from the first kind can miss paths.
Ingress categories to inventory
Inventory each of the six categories below. They are grouped here by how the data arrives.
Prompts, retrieval, and vector stores
| Category | Description |
|---|---|
| Prompts | User input, uploads, and application-built prompts |
| Retrieval | RAG pipelines, embeddings, and vector stores |
Training, fine-tuning, and logging pipelines
| Category | Description |
|---|---|
| Training | Fine-tuning and evaluation datasets |
| Telemetry | Logs, traces, and observability pipelines |
Agent tool calls, MCP servers, and embedded third-party AI
| Category | Description |
|---|---|
| Agent tools | Tool calls and MCP servers |
| Third-party AI | SaaS features with embedded models |
A structured method for discovering and verifying paths
- Enumerate the ingress categories. Cover prompts, retrieval, training, agent tools, telemetry, and third-party AI.
- Combine design-time review with runtime observation. Use code, configuration, data catalogs, and vendor inventories alongside gateway logs, traffic analysis, and tool-call records.
- Verify each path with evidence. Confirm every path you find rather than relying on the inventory alone.
- Keep the map current. Use runtime controls and audit records to decide which changes the data-flow map needs.
Runtime controls and audit evidence that keep the map accurate
- Route model traffic through a gateway or proxy that logs each request with application and user identity.
- Assign each agent its own identity and limit tool permissions to least privilege.
- Require approval before a new tool or MCP server becomes available to an agent that can reach financial data.
- Enforce policy at the tool-call boundary on arguments and results that contain financial data.
- Record for each call the caller, tool, data class, model destination, policy decision, and timestamp.
- Alert on model destinations, tools, or connectors that are absent from the inventory.