You Don't Need an MCP Gateway (Try This Instead)

Infisical
771 views •

Everyone is shipping an MCP gateway right now: Docker, Cloudflare, Kong, AWS, Microsoft. But if you are reaching for one to keep your AI agents secure, it does not fix the thing that actually gets you breached. Your agent is holding a real API key, in a place you do not control, while it runs instructions from the open internet. This video breaks down the number one threat to agentic systems, prompt injection leading to credential exfiltration, and the fix that actually addresses it: credential brokering at the HTTP egress layer with a man-in-the-middle proxy, so your agent never holds a usable key. I show it working with Agent Vault (open source), then prove the pattern is legit by looking at how Anthropic secures its own Slack agent. TL;DR: don't start by picking an MCP gateway. Start by taking the credential out of the agent's reach, and identity, authorization, and audit tag along for free, across every interface your agent uses, not just MCP. ▶ TRY IT Agent Vault (open source, credential broker at egress): GitHub: https://github.com/Infisical/agent-vault Get started: https://get.agent-vault.dev Docs: https://docs.agent-vault.dev/ ⏱ CHAPTERS 00:00 Everyone's building MCP gateways 00:30 The real threat: prompt injection → credential exfiltration 01:14 The lethal trifecta 01:28 Real attack: the GitHub MCP exploit 01:48 Same problem in CI: the Trivy incident 02:26 What an MCP gateway actually does 02:44 Why a gateway is the wrong place to start 03:11 The fix: a credential broker at egress 04:26 Demo: Agent Vault 05:23 The governance you get for free 06:11 How Anthropic secures its own agent 07:05 The honest limit: credential vs data exfiltration 07:20 Start with the credential 🔗 SOURCES REFERENCED The lethal trifecta, Simon Willison: https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/ GitHub MCP exploit, Invariant Labs: https://invariantlabs.ai/blog/mcp-github-vulnerability Trivy / trivy-action compromise, CrowdStrike: https://www.crowdstrike.com/en-us/blog/from-scanner-to-stealer-inside-the-trivy-action-supply-chain-compromise/ How agent identity works (Claude in Slack), Anthropic: https://claude.com/docs/claude-tag/concepts/agent-identity Model Context Protocol announcement, Anthropic: https://www.anthropic.com/news/model-context-protocol mitmproxy: https://docs.mitmproxy.org/stable/concepts-certificates/ 💬 Building this a different way? Leave it in the comments, I read every one. #MCP #AIagents #AgentSecurity #PromptInjection #Cybersecurity #DevTools #Infisical Follow Infisical: Website: https://infisical.com LinkedIn: https://www.linkedin.com/company/infisical GitHub: https://github.com/Infisical Twitter / X: https://x.com/infisical Slack: https://infisical.com/slack

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close