Building a Fedora downstream around stronger desktop security defaults. I'd like Fedora people to challenge the architecture

Hi,

I’ve been building an experimental Fedora 44 downstream called GREYWARD, and I’ve reached the stage where feedback from people who understand Fedora’s internals is probably more valuable than another month of me reviewing my own assumptions.

The question behind the project is:

Can a general-purpose Linux desktop start from a meaningfully stronger security posture without expecting its user to become the system’s security administrator?

I’m deliberately trying not to replace Fedora mechanisms just because I can.

NetworkManager still owns connection and VPN state.
firewalld/nftables still owns the host firewall.
systemd-resolved owns effective link DNS.
SELinux remains the MAC layer.
Flatpak and portals remain authoritative for sandboxed application access.

GREYWARD sits around those components and tries to provide policy, reconciliation and understandable evidence where the interaction between them becomes messy.

That’s also where I’m least confident.

A simple example is DNS.

Restricting applications from bypassing the system resolver is easy enough until a VPN connects and legitimately introduces another resolver.

If I just allow arbitrary external DNS, the original restriction becomes mostly decorative.

If I keep blocking it, I’ve broken perfectly valid VPN behavior.

The current implementation derives narrowly scoped allowances from the active network/VPN state instead.

It works in the cases I’ve tested. That doesn’t mean the model is correct.

Similar questions exist around:

  • NetworkManager/firewalld state drifting or restarting in different orders;
  • split DNS and multiple VPNs;
  • where OpenSnitch should and shouldn’t be authoritative;
  • D-Bus/Polkit boundaries for privileged Security Center operations;
  • whether some GREYWARD code should simply disappear in favor of an existing Fedora mechanism.

The distro decision itself is also open to criticism. My current reasoning is that session behavior, first boot, policy, recovery, the desktop and these cross-component invariants are easier to test as one image. But if something would be healthier upstream or as a standalone component, that’s a good outcome too.

The project is still an alpha and I’m explicitly not claiming that it is hardened.

Also worth stating plainly: most implementation has been produced using AI coding agents. I am not a professional software developer or security researcher. I drive the architecture/behavior, test it, and inspect the results, but experienced review is a gap I can’t automate away.

Repository:

Architecture:

Threat model:

I’ve also opened a deliberately scoped review issue around the networking authority model:

I’m especially interested in hearing “Fedora already has a better way to do this” when that’s the answer.

I had no time to get through all this, but two things that have relations to your project and that to review might be interesting for you:

SecureBlue: List of security-focused operating systems - Wikipedia
https://secureblue.dev/

Thanks, this is exactly the kind of feedback I was hoping to get.

The F45 hardening work is particularly useful, I didn’t knew about it. I’ll compare GREYWARD’s current baseline against the new systemd and Fedora hardening configuration so I don’t keep maintaining downstream settings that Fedora is about to provide itself.

I’m also going to do a proper comparison against secureblue. I’ve looked at it before, but probably not deeply enough.

GREYWARD’s goal is not to out-harden secureblue at every layer. A large part of what I’m trying to explore is how stronger defaults, visibility, recovery, and user-facing security controls can be integrated coherently into a normal desktop experience.

And, to be honest, part of the project is also simply about having fun with UI, visual identity, and desktop design. I like the idea that a security-focused system doesn’t have to look purely utilitarian.

Thanks for the pointers, both are genuinely useful