Skip to content

Remote Harness MCP v0.7.4

Choose a tag to compare

@github-actions github-actions released this 29 Nov 07:18
· 16 commits to main since this release

Remote Harness MCP v0.7.4

Security & OAuth 2.1 Hardening

  • Public Funnel OAuth DCR Protection (core/server.py):
    • Blocked unauthenticated Dynamic Client Registration (POST /oauth/register) and auto-approved OAuth flows on public/proxied hosts (Tailscale Funnel, Quick Tunnel, reverse proxies) by default (403 access_denied on /oauth/*, 404 on /.well-known/*). Token auth (?token= / Authorization: Bearer) continues to work unchanged; public DCR now requires explicit opt-in (MESH_OAUTH_ALLOW_PUBLIC_DCR=1).
  • Gemini Persistent Linking & Manual Confidential OAuth (PR #6 by @RogerYong, hardened):
    • Added pre-registered confidential OAuth client support (MESH_OAUTH_CLIENT_ID, MESH_OAUTH_CLIENT_SECRET, MESH_OAUTH_REDIRECT_URI with strict Google callback allowlist) and a local Consent UI with explicit Allow/Deny handling.
    • Added persistent refresh_token support (non-rotating, 30-day sliding TTL via MESH_OAUTH_REFRESH_TOKEN_TTL) and atomic 0600 disk persistence of SHA-256 token digests (standalone.oauth_tokens.json) so active sessions survive restarts without storing raw tokens.
    • Hardened static client mode so POST /oauth/register is strictly blocked (403) and legacy DCR clients are not loaded when a confidential client is configured.

Windows & CI Fixes

  • Reliable rhm restart on Windows (core/menu.py): Stops both python.exe and its parent cmd.exe log wrapper, verifies old PIDs actually exit, reports clear permission errors when the service runs elevated, and prints the new PID on success.
  • Elevated cmd.exe launcher fix (bin/rhm.cmd): Resolves Python automatically via rhm.env, %LOCALAPPDATA%\Programs\Python\Launcher\py.exe, and standard Python3* directories even when py is not in the elevated PATH.
  • Synced npm alias (npm/gemini-computer-use/package.json): Kept in lockstep at 0.7.4 with the main package.