tiletopia/src/components
megaproxy 9ebb3e4d2e MCP v2 PR-4: add_host + delete_host + extraArgs sanitiser + third SSH safeguard
Final v2 PR. All 11 planned write tools live. add_host/delete_host let
Claude mutate the saved-hosts list; both gated by a new allowAddHost
switch (default off) — symmetric with the allowOpenSsh gate from PR-3.5.

add_host's extraArgs are sanitised against CVE-2023-51385-class
local-RCE primitives: ProxyCommand, LocalCommand, KnownHostsCommand,
PermitLocalCommand=yes are refused server-side. Recognises both -o KEY=VAL
and -oKEY=VAL, case-insensitive on the key. The manual host manager UI
stays unrestricted (user has full agency over their own hosts).

Also fixes a pre-existing compile bug: mcp_policy.rs's policy_with test
helper was missing the ssh_safeguards field added in PR-3.5, silently
breaking the entire policy test module since then. Re-enabling those
tests is the prereq for the hard-deny rework that follows in the next
commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 16:04:14 +01:00
..
AuditTab.tsx MCP v2 PR-1b: action dispatcher, confirm modal, set_label end-to-end 2026-05-26 12:26:33 +01:00
ErrorBoundary.tsx MCP v2 PR-3: write_pane, spawn_pane, connect_host + SSH safeguards 2026-05-26 14:50:06 +01:00
Help.css Add help overlay: titlebar ? button, F1 hotkey, shortcuts and tips 2026-05-25 21:04:55 +01:00
Help.tsx Add help overlay: titlebar ? button, F1 hotkey, shortcuts and tips 2026-05-25 21:04:55 +01:00
HostManager.css MCP polish + SSH host manager Connect button 2026-05-26 15:20:22 +01:00
HostManager.tsx MCP polish + SSH host manager Connect button 2026-05-26 15:20:22 +01:00
McpConfirm.tsx MCP v2 PR-3: write_pane, spawn_pane, connect_host + SSH safeguards 2026-05-26 14:50:06 +01:00
McpPanel.css MCP v2 PR-3: write_pane, spawn_pane, connect_host + SSH safeguards 2026-05-26 14:50:06 +01:00
McpPanel.tsx MCP v2 PR-3: write_pane, spawn_pane, connect_host + SSH safeguards 2026-05-26 14:50:06 +01:00
Notifications.css Migrate frontend from Svelte 5 to React 18 2026-05-22 18:05:05 +01:00
Notifications.tsx Remove unused React imports (Notifications, Palette) 2026-05-22 18:35:10 +01:00
Palette.css Migrate frontend from Svelte 5 to React 18 2026-05-22 18:05:05 +01:00
Palette.tsx Remove unused React imports (Notifications, Palette) 2026-05-22 18:35:10 +01:00
PolicyTab.tsx MCP v2 PR-4: add_host + delete_host + extraArgs sanitiser + third SSH safeguard 2026-05-26 16:04:14 +01:00
XtermPane.tsx Add SSH connections: saved hosts manager and hierarchical shell picker 2026-05-25 19:47:37 +01:00