- cross-posted to:
- opensource@lemmy.ml
- privacy@lemmy.ml
- cross-posted to:
- opensource@lemmy.ml
- privacy@lemmy.ml
With all the supply chain attacks in the Linux ecosystem, isn’t the natural solution to move to full application sandboxing?
Flatpacking is great but not all applications support it.
Is it too much of a hassle?



A couple of tricks I use:
an apparmor profile tied to a shell script that wraps other commands … it restricts read & write access to a scratch directory … perfect for builds or one off scripts.
iptables rules & cgroups to restrict network access… I have a setuid wrapper that drops privs again…
bwrap and mounting only what’s necessary… quick to get going.
custom landlock wrapper, similar to apparmor but allows for quick userspace wrapping.
They can be combined too.
+1. May I add a few other help gizmos to that list?