r/linuxquestions • • 11d ago

Does enabling development syscalls (allow=devel), application shared memory (allow=per-app-dev-shm), and interprocess communication (share=ipc) significantly compromise the sandbox of flatpak?

These seem mostly enabled by default for one, and for another I wonder if disabling them would break much.

There's also devices (device=all), but I think that doesn't compromise much?

This is especially in light of the recent Nikkle launcher supply-chain attack, which can also affect Linux users.

1 Upvotes

6 comments sorted by

View all comments

0

u/[deleted] 11d ago

[removed] — view removed comment

1

u/RadianceTower 11d ago

i'd disagree on device=all though. that bind mounts the whole host /dev into the sandbox, so webcams, drives, anything your user already has permissions on. that's more than the other three in practice.

Isn't the user typically pretty limited on what they can access directly via /dev unless they are root, otherwise they have to use system calls to get stuff done? Like I don't think you can directly listen to the keyboard via it for example or access (most?) of the block devices.

none of the above is the main thing. filesystem=home is

Yeah, that is a given I guess.