Skip to content
NewA calmer, faster ZeroHour

Lessons learned building Fronteira, an MCP proxy with behavioral guardrails

Lobsters · securityby wiki.alcidesfonseca.com by alcides ()7 min read4 · 2 reads
AI summary · grok-4.7-buildSummaries by Vani AI

Fronteira, an MCP proxy, turns natural-language rules into checks against cross-tool agent data leaks.

Alcides Fonseca describes Fronteira, an MCP proxy that centralizes access to GitHub, Gmail, and other MCP servers so agent behavior can be logged and constrained. Users write rules in English; they compile to Guard DSL, which is evaluated deterministically and can call decision models to flag trade secrets or medical data and track session state such as private reads. He notes harnesses still reach filesystems, browsers, desktops, and APIs directly, and that clients generally ignore dynamic MCP tool lists. A Codex-generated Django configuration change exposed his Resend token, which spammers then used.

Key facts
  • Fronteira proxies MCP servers and logs every agent tool call.
  • English rules compile to deterministic Guard DSL checks.
  • Filesystem, browser, and direct API use bypass the proxy.
  • A Codex Django change exposed the author's Resend token.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

7 min read at wiki.alcidesfonseca.com

I designed a harness built on top of dependent types that uses information-flow policies to prevent attacks involving the lethal trifecta . However, expecting users to write liquid types was unrealistic, and creating a custom SDK for every external interface—filesystems, APIs, internet search and MCP tools—was not practical. Following feedback from Lisbon.

Lobsters · security

By wiki.alcidesfonseca.com by alcides · wiki.alcidesfonseca.com

Read the full article at Lobsters · security

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.