Skip to content

Harden the helper, keep Hiddify data, and finish failed operations (6.3.0) - #18

Merged
devlifeX merged 2 commits into
mainfrom
fix/6.3.0-hardening
Dec 2, 2026
Merged

devlifeX merged 2 commits into
mainfrom
fix/6.3.0-hardening

Conversation

@devlifeX

@devlifeX devlifeX commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Release 6.3.0.

Helper (ADR 0141)

  • Runs only an administrator-installed openvpn
  • Accepts only allowlisted .ovpn directives and runs a rendered copy
  • Limits the Windows pipe to signed-in users and protects the helper folders
  • Gives each side tunnel its own mark and table, and reports exited tunnels
  • Prunes old runtime generations and clears leftover credential files

Settings and logs (ADR 0142, 0143)

  • Opens the app when config.toml is unreadable
  • Refuses port and TUN-name changes while connected
  • Logs periodic polls only when their outcome changes

Operations (ADR 0144)

  • Rolls back a timed-out start and serializes live rule changes
  • Keeps portable Hiddify subscriptions on reinstall
  • Finds Hiddify.app on macOS
  • Supports KDE Plasma 6 proxy settings
  • Accepts Mihomo's null connection list

Behavior changes

  • OpenVPN in a user-writable folder, including Homebrew's, is refused
  • A profile with a directive outside the allowlist is refused by name

Checks

Linux tests and Clippy, Windows cross-Clippy, cargo deny, frontend checks, and 44 Playwright tests passed locally. macOS is first compiled by this PR's CI. Not tested on a real Windows host or with a live VPN.

🤖 Generated with Claude Code

devlifeX and others added 2 commits December 2, 2026 11:35
….3.0)

Helper (ADR 0141): run only an administrator-installed openvpn, accept only
allowlisted profile directives, narrow the Windows pipe and directories, give
each side tunnel its own routing slot, report exited tunnels, prune old
generations, and clear leftover credential files.

Settings and logs (ADR 0142, 0143): open the app when config.toml is
unreadable, refuse port and TUN changes while connected, and log periodic
polls only when their outcome changes.

Operations (ADR 0144): roll back a timed-out start, serialize live rule
changes, drop stale client endpoints, keep portable Hiddify subscriptions on
reinstall, find Hiddify.app on macOS, support KDE Plasma 6 proxy settings,
write update scripts beside the private package, and accept a null
connection list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@devlifeX
devlifeX merged commit 47cf2ac into main Dec 2, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant