flathub / flathub/com.jgraph.drawio.desktop
App has unprivileged access to $HOME
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 8
- Forks
- 7
- Avg merge
- 1h 4m
- Merged PRs (30d)
- 5
Description
The app after removed $HOME filesystem permission still has access to READ and WRITE into user HOME directory and below.
That should not happen (!).
Here are my steps:
- Here is the default Flatpak sandbox config:
flatpak info --show-permissions com.jgraph.drawio.desktop
[Context]
shared=network;ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
filesystems=home;/usr/share/icons:ro;
[Environment]
XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
- The first action i took was to prevent this app access to all user $HOME files, which is a default state, to a limited set. I used Flatseal to review and to remove the $HOME dir (I turned off the "All user files" switch), now settings are as follow:
flatpak info --show-permissions com.jgraph.drawio.desktop
[Context]
shared=network;ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
filesystems=/usr/share/icons:ro;
[Environment]
XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
- The draw.io still has full access to my $HOME.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior with the default permissions and with the home filesystem entry removed, using the flatpak info --show-permissions com.jgraph.drawio.desktop output shown in the issue. Trace where the application or its Flatpak configuration receives home-directory access; done means access is unavailable after the home permission is removed and the behavior is verified again.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100