| Version | Supported |
|---|---|
| 0.1.x | Yes (current pre-release line) |
| Older / unversioned builds | No |
Veil is pre-release software. No version has been tagged or published yet, and there is no long-term support commitment.
Report security issues privately through GitHub Security Advisories:
https://github.com/sorethe/veil/security/advisories/new
The repository is currently private, so this form is available to people with access to it. Do not open a public issue, discussion, or pull request for a vulnerability. Do not include working credentials, real subscription URLs, or other users' data in a report; redact them while keeping the reproduction faithful.
There is no dedicated security email address. Please use the advisory form so the report stays private and can be discussed with a fix attached.
- The GUI and backend run as the user and never as root. Only
/usr/bin/veil-helperis elevated, through thedev.veil.helperpolkit action (allow_active = auth_admin_keep;allow_any/allow_inactiveareno). There is no passwordless sudoers rule. - System-mode listeners are loopback-only: the mixed inbound on
127.0.0.1:<mixedPort>and the Clash API on127.0.0.1:<apiPort>, protected by a fresh 32-character secret. - User directories are
0700; settings, runtime metadata, generated config, proxy-restore state and logs are0600. - Raw profiles are never rewritten. Runtime generation injects only
experimental.clash_api, log level,veil-mixed, and (in TUN mode)veil-tunplusroute.auto_detect_interface. - Logs redact URL userinfo, credential-like fields, UUIDs, subscription query strings and registered secrets. This is pattern-based and does not make the database, exports or profile JSON safe to share.
The full model, helper invariants and known hardening gaps are in docs/security.md.
Veil has an unusually sensitive surface for a desktop app:
- the privileged
veil-helper(/usr/bin/veil-helper) and thedev.veil.helperpolkit action, including command-line handling, pid-file validation, config validation, and process cleanup; - privilege separation between the GUI (never root) and the helper;
- the Tauri command boundary and capability configuration;
- profile import and parsing: sing-box JSON, subscriptions, share links, QR images, backups;
- runtime config generation and file permissions;
- log redaction and export (credentials, URLs, API secrets, UUIDs);
- system-proxy snapshot, apply and restore, including crash recovery;
- core discovery and execution paths (
corePath,$VEIL_SING_BOX,PATH, resource directory,/usr/lib/veil/sing-box); - dependency and packaging issues that affect the shipped binaries.
Veil intentionally stores profile material, subscription URLs, proxy credentials, settings, runtime state and logs on the local machine:
~/.config/veil/settings.json(mode0600)~/.local/share/veil/veil.db(profiles and selections; mode0600, inside a0700directory)~/.local/share/veil/veil.lock(single-instance lock owner pid;0600)~/.local/share/veil/runtime/(generated config, API secret, proxy restore state;0600)~/.local/share/veil/logs/veil.log(redacted, but still local activity data)/run/veil/(helper pid and engine log; readable so the user can tail it)
Backups and exported logs are written under ~/.local/share/veil/exports/.
Treat all of these as private. A report that demonstrates a credential leak
through logs, exports, error messages, notifications, or the UI is in scope.
In scope: code in this repository and the packaging it produces.
Out of scope: vulnerabilities in upstream sing-box, WebKitGTK, Tauri, or
distribution packages, except where Veil's integration makes them worse
(e.g. an unsafe invocation or missing validation). Report upstream issues to the
upstream project.
This project makes no guarantee of a response time, fix time, or backport. It is maintained on a best-effort basis. If a report is accepted, the fix and disclosure will be coordinated through the advisory. Please allow time for a fix before public disclosure.
- docs/security.md is the detailed model, including helper invariants, permissions and known hardening gaps.
docs/ARCHITECTURE.mddescribes the privilege separation and lifecycle.docs/VERIFICATION.mdrecords what was and was not exercised; TUN has one host-specific end-to-end PASS, not a general platform guarantee.- The helper's source is small and self-contained in
src-tauri/helper/. - The polkit policy is
src-tauri/resources/dev.veil.helper.policy. - The Tauri capability set is
src-tauri/capabilities/default.json; it grants core window/event permissions only, with no shell or filesystem plugin.