diff --git a/frontend/src/components/WorkspaceOperationPanel.tsx b/frontend/src/components/WorkspaceOperationPanel.tsx index 23f162656..a299a0897 100644 --- a/frontend/src/components/WorkspaceOperationPanel.tsx +++ b/frontend/src/components/WorkspaceOperationPanel.tsx @@ -368,11 +368,13 @@ function HtmlPreviewFrame({ if (fitRafRef.current != null) cancelAnimationFrame(fitRafRef.current); }, []); + // Keep untrusted agent HTML in an opaque origin: combining scripts and same-origin + // would let it access the application's storage and authenticated browser state. return (