Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix(security): require operator authority for video upscale and stitch (#11076)
Adam Eivy94cad590f9f5
diff --git a/server/lib/hostControlRoutes.js b/server/lib/hostControlRoutes.jsindex ac055413e8..4474891cea 100644--- a/server/lib/hostControlRoutes.js+++ b/server/lib/hostControlRoutes.js@@ -485,6 +485,9 @@ export const HOST_CONTROL_ROUTES = Object.freeze(['POST /api/image-gen/generate','POST /api/image-gen/avatar','POST /api/video-gen',+ // Upscale (LTX subprocess / ffmpeg) and stitch (ffmpeg) run on the host (#11076).+ 'POST /api/video-gen/upscale/:id',+ 'POST /api/video-gen/stitch','POST /api/sprites/:id/reference/generate',// Fork creates a record and immediately queues reference generation too.'POST /api/sprites/:id/fork',diff --git a/server/lib/hostControlRoutes.test.js b/server/lib/hostControlRoutes.test.jsindex 5d3d409596..7d35889796 100644--- a/server/lib/hostControlRoutes.test.js+++ b/server/lib/hostControlRoutes.test.js@@ -761,6 +761,29 @@ describe('Remote desktop session policy (#10923)', () => {});});+describe('Video upscale and stitch policy (#11076)', () => {+ const protectedRoutes = [+ 'POST /api/video-gen/upscale/:id',+ 'POST /api/video-gen/stitch',+ ];++ it('gates each route and maps every entry to a mounted route', () => {+ const mounted = new Set(getApiRouteCatalog().routes.map(({ method, path }) => method + ' ' + path));+ for (const route of protectedRoutes) {+ const [method, path] = route.split(' ');+ expect(mounted.has(route), route).toBe(true);+ expect(hostControlRouteFor(method, path), route).toBe(route);+ }+ });++ it('keeps reads open', () => {+ for (const [method, path] of [+ ['GET', '/api/video-gen/upscale/:id/plan'],+ ['GET', '/api/video-gen/history'],+ ]) expect(isHostControlRoute(method, path), `${method} ${path}`).toBe(false);+ });+});+describe('Calendar MCP execution policy (#11051)', () => {it('gates mounted MCP actions while preserving non-agent Calendar operations', () => {const mounted = new Set(getApiRouteCatalog().routes.map(({ method, path }) => `${method} ${path}`));