1.1 KiB
1.1 KiB
Security
Trust boundaries
| Component | Privilege | Trust |
|---|---|---|
| React UI | user | untrusted input |
ld-fdpi Rust core |
user | validated commands |
ld-fdpi-helper |
root | allowlist daemon |
spoofdpi |
user | local proxy only |
Helper rules
- Unix socket at
/run/ld-fdpi/helper.sock - mode
0660, groupld-fdpi - peer credentials checked with
SO_PEERCRED - only root or members of
ld-fdpi - JSON allowlist
- no
shell=True, no string-built command lines - fixed
awg/nftpaths
Network safety
- Do not apply nftables rules on the development host without a VM.
- Phase 4 kill-switch must include an SSH lockout guard.
- All firewall changes must have a
--restore-onlyequivalent. - Helper crashes must not leave a drop-all rule active.
Secrets
- No
APP_SECRET, private key,.conf, or token is committed. - VPN keys will use Secret Service/keyring in Phase 3.
- Config files are user-readable only (
0600).
Known gaps
This MVP does not implement the VPN kill-switch or QUIC guard. Do not describe it as a hardened VPN client until Phases 3–4 are complete.