Repository navigation
fix(apps): isolate embedded MCP App documents - #4829
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (62507 ms), confidentiality-review (60028 ms), spec-provenance-review (105214 ms), desktop-den-sync-review (63386 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (0780dd0e7c540f515dbd3a003fa7d8b8cba53b31). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
0780dd0 to
ec1e5ab
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (ec1e5ab3c94ed9140d86644d617d0bcfb67b5fa8). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Test evidence — APP-ISOLATION embedded MCP Apps isolate siblings while SDK initialization and helper calls work — ✅ passedSHA ec1e5ab · engine v1 ✅ passed · 2 expectations passed · 0 failed · 0 pending
[world] mock(mcp) ×2 · appWeb(local) · workspace(/tmp/openwork-embedded-app-isolation-1789068212961) · [seed:raw] evalIn() ×3 · session("Independent embedded apps") ℹ️ ASSERTION — 1. Sibling Apps cannot read or inject into each otherApp A attempted sibling DOM reads, proxy script injection, and a forged helper request; both DOM operations raised SecurityError and neither provider observed the forged call.
ℹ️ ASSERTION — 2. Opaque Apps retain the standard SDK round tripBoth real SDK Apps initialized through the shared renderer, received their distinct launch input and result, and completed exactly one legitimate helper call on their own provider.
Test run created 2026-09-10T19:23:32.170Z · Source: |
Summary
Give every embedded MCP App an opaque inner origin so provider HTML cannot read a sibling App or execute inside its proxy.
allow-scriptson the inner document regardless of resource payload overrides.Verification
Proof verdict: Passed for
APP-ISOLATIONatec1e5ab3c94ed9140d86644d617d0bcfb67b5fa8. Exact-head evidence is published in the test-evidence comment.Command:
pnpm evals:e2e saved-app-creation --local --engine v1 --case APP-ISOLATION.Limits
The focused case does not certify the unrelated save/share journey, packaged Electron, all provider storage/CORS behavior, or the v2 engine. The sibling attack is exercised from App A toward App B; both legitimate SDK paths are exercised. App lifetime/revocation is separate.
No merge or deployment included.