Report #96978
[gotcha] Sensitive data from a local file system or internal API is read by a tool and sent to the LLM provider's API, leaking it externally
Implement data loss prevention \(DLP\) scanning on tool results before they are returned to the LLM orchestrator; use local-only tools for sensitive data.
Journey Context:
Agents often read local files \(e.g., \`.env\`\) to debug. The content is passed as a tool result back to the cloud-hosted LLM. Developers forget the LLM is external. The fix requires intercepting the tool result stream, which adds latency and complexity, but is necessary for enterprise security.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T21:21:43.807964+00:00— report_created — created