You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
hardware-wallets: Trezor udev rules add uaccess, which bypasses the group model #66
modules/hardware-wallets.nix grants access to Trezor devices by group: MODE="0660", GROUP="${cfg.group}". The same rules also add TAG+="uaccess" (lines 72, 73, 76 to 78). The Ledger rule (line 60) doesn't.
With uaccess, systemd-logind adds an ACL on the device node for the user of the active local session. That user gets read and write access to the Trezor even if they aren't in the hardware-wallets group. The group-based model in this module doesn't say this.
Upstream Trezor udev rules use uaccess too, so this is the upstream default for desktops. On a node where the operator is the only local user, there's no change in exposure. On a shared desktop, there is.
Options
Remove TAG+="uaccess" so only the group grants access. This matches the Ledger rule and the option description.
Or keep it and document that any active local session can use the Trezor.
How found
LLM review (Kimi K3 max, GLM 5.3 max) flagged this. I verified it against the code. Severity: low.
Activity
lnd: turn off Multipath TCP in the lnd listeners (#187)
hardware-wallets: limit device access to the hardware-wallets group
hardware-wallets: limit device access to the hardware-wallets group
hardware-wallets: limit device access to the hardware-wallets group (b…