Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
fix(mcp): report rejected file host safely
rahmanef63bdaae2d6711a
diff --git a/lib/mcp/openai-file-upload.ts b/lib/mcp/openai-file-upload.tsindex 617d22dd..82edf088 100644--- a/lib/mcp/openai-file-upload.ts+++ b/lib/mcp/openai-file-upload.ts@@ -28,7 +28,7 @@ function trustedDownloadUrl(raw: string): URL {if (url.protocol !== "https:") throw new HostError("file.download_url must use HTTPS");const host = url.hostname.toLowerCase();if (host !== "files.oaiusercontent.com" && !host.endsWith(".oaiusercontent.com")) {- throw new HostError("file.download_url is not an OpenAI file host");+ throw new HostError(`file.download_url host is not allowed: ${host}`);}return url;}