AI Engineer YouTube · June 15, 2026

Why MCP and ChatGPT Apps Use Double Iframes — Frédéric Barthelet, Alpic

Why MCP and ChatGPT Apps Use Double Iframes — Frédéric Barthelet, Alpic video thumbnail
Why it matters

Inspect ChatGPT's DOM while an MCP app is rendering and you find an iframe nested inside another iframe. Frédéric Barthelet traces why each simpler approach fails: `srcdoc` shares the parent origin so ChatGPT's CSP blocks all third party scripts; relaxing that CSP lets any app read ChatGPT's localStorage and cookies; a

My takeaway: Why MCP and ChatGPT Apps Use Double Iframes — Frédéric Barthelet, Alpic is an agent-security signal. The practical read is that autonomy, memory, tool permissions, and third-party integrations are the control surface that needs threat modeling and monitoring.