~/talk

Why MCP and ChatGPT Apps Use Double Iframes

Talkat AI Engineer Europe 2026 · 2026-04-08..04-10· [web-platform, security]
slides:none on file

Diagnoses why a double iframe is the practical outcome: srcdoc shares parent origin so ChatGPT’s CSP blocks third‑party scripts; relaxing CSP lets an app read ChatGPT localStorage and cookies; sandboxing removes origin‑indexed storage and adding allow‑same‑origin recreates the sandbox escape. The deployed pattern uses an outer iframe on per‑app subdomains that runs one loader script and an inner srcdoc iframe with the app HTML, which forces listing every external domain in MCP metadata and motivates tools like Skybridge’s CSP inspector.

AI-written summary · about

  1. 0:00Introduction to MCP apps
  2. 2:02How MCP views work
  3. 3:34The double iframe challenge
  4. 6:56Security and isolation
  5. 10:17Implementing the solution
  6. 13:29Developer requirements
  7. 15:16Improving developer experience
  8. 16:53Demo and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.