Repository navigation
Feature request: Sandbox thumbnail generation and file previews in Files (folio) #18979
arvindautar
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
With Files ("folio") replacing Nautilus as the default file manager in Omarchy 4.6, I'd like to suggest adding sandboxing for thumbnail generation and file previews.
Why?
Files generates thumbnails on demand and supports previews for images, videos, audio, PDFs, text, and Markdown.
Processing these files can expose the system to vulnerabilities in image decoders, media libraries, and other parsing components. A maliciously crafted file could potentially exploit a vulnerability simply by being displayed as a thumbnail or previewed, without the user explicitly opening it.
Secureblue highlights this risk and notes that GNOME Files and Thunar/Tumblerd already provide some thumbnailer sandboxing through Glycin, although the protection is still considered relatively weak.
Reference: https://secureblue.dev/images
Suggested implementation
It would be great if Files could:
If some of these protections are already implemented, documenting the current isolation model would also be helpful.
Expected benefit
This would reduce the attack surface when browsing directories containing untrusted or downloaded files, while preserving the convenience of thumbnails and previews.
Since Files is a new application becoming the default in Omarchy 4.6, this seems like a good opportunity to establish secure defaults early in its development.
Would sandboxed thumbnail generation and previews be something worth considering for Folio?
@dhh
All reactions