Your AI agent's secrets leak because you fed API keys straight into the LLM

sujingshen · x · 2026-10-14

Venice AI's Joshua Mo says most AI agents hand passwords and API keys directly into the LLM's context, where they leak via training data, prompt injection, malicious tool calls, or observability pipelines that log prompts by default. His fixes: keep secrets in a deterministic execution layer, store hashed identifiers instead of raw data, use split-key custody for encrypted payloads, and demand hardware attestation of private inference. He concedes internet-enabled agents can still exfiltrate data via external APIs. The actionable takeaway: audit credential flow and logging defaults, not the model name.

Original post →

More from coding & agent

coding & agent channel →