Skip to content

Security

overcatbe edited this page Dec 4, 2026 · 1 revision

Security

slynx is meant to be a desktop you can trust: it does nothing behind your back, says where it writes, and asks before anything goes online or runs as root.

Root jobs

Every job that needs root goes through one small helper, slynx-roothelper, started through polkit (pkexec): you see the password prompt, and the actions are listed in /usr/share/polkit-1/actions/org.slynx.*.policy. Nothing in slynx is setuid.

The firewall

slynxsys → Security → Firewall: what may come in from the network. Its own nftables table (slynx_fw), nothing else touched; kept in /etc/slynx/firewall.conf. On at boot only if you switch it on there (Slackware: /etc/rc.d/rc.firewall, systemd: slynx-firewall.service).

The traffic guard

Watches every new outgoing connection: which program, which user, to which name and port. slynxtraffic shows it live (also inside slynxsys → Security → Traffic). Places on your never list (/etc/slynx-guard/never) are blocked for every program, the DNS lookup included. Everything else goes through: it's a watcher, not a wall. If slynx-guardd stops or crashes, the network keeps going.

Off at boot unless you switch it on (Security → Traffic → On at boot). Start and Stop in slynxtraffic are for now only. Its log, /var/log/slynx-guard.log, only grows while it runs (moved aside at 20 MB).

The keyring

slynx has its own Secret Service (slynx-keyring): your programs' passwords, encrypted, the key made from your password with Argon2id. Its own polkit agent too. Opened by your login password if you add three optional lines to /etc/pam.d/system-auth (slynxsys → Security → Passwords & keyring → Move); you can stay on gnome-keyring, or go back to it.

SSH from outside

slynxsys → Security → SSH: keys only, or a password plus a code from your phone (TOTP). slynx keeps its settings in /etc/ssh/sshd_slynx.conf and adds one Include line at the top of sshd_config; the rest of that file is never edited.

Programs started on demand

Any package can drop a D-Bus service that any program can wake. slynx shows them in slynxsys → System → Startup → On demand; one that is new since your last login stays blocked until you allow it. Only slynx's own session uses that list, other desktops don't see it.

The lock

slynxlock (Super+L, idle, the lid, before sleeping) holds keyboard and mouse until your password opens it; the password goes through PAM. It locks before the machine sleeps.

Going online

slynx itself never phones home. What goes online, and only when you press it:

  • More languages… (Language & locale): one language file from slynx's GitHub
  • Fetch now (slynxcal's holidays): one country and one year to Nager.Date

Both anonymous: no name, no address, no ID; the User-Agent is just slynx.

Found something?

slynx has been through a security review; more eyes are welcome. Report it on GitHub.

Clone this wiki locally