flathub / flathub/org.gnome.Boxes

Is it possible to use less broad permissions than --filesystem=host and --device=all

Open
#118 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
15
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Both are known sandbox escape vectors. I'm sure boxes needs access to some specific directories so i'm wondering if more specific permissions can be used?

What is --device=all for? I'm not sure. If it's for gpu acceleration you can use --device=dri instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Flatpak permission configuration that grants --filesystem=host and --device=all, then determine which directories and devices GNOME Boxes actually needs. Compare whether --device=dri covers the relevant GPU access, and consider the work done when the broad permissions are replaced without breaking Boxes' required functionality.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, security
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.