Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

flathub: sandbox permissions (home access and secrets) via portals

オープン
#1,580 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart, flutter

調査の方向性

Start by reading the Flatpak manifest and the app’s file chooser and secret storage integrations; the issue does not name their paths. Check how database files are opened and how flutter_secure_storage finds existing entries in a sandbox. Done means replacing broad permissions with portal or app data access where possible, justifying any exception, verifying the local MCP server permissions, and adding a “Running as a Flatpak” note to the docs.

索引モデルが issue の本文から書いたものです。

説明

enhancement flathub security

Part of #1060. Reviewer: "Why unrestricted home access?" and "Why unrestricted secrets access?" Linter: finish-args-home-filesystem-access (error).

Rules: "Static permissions must be kept to an absolute minimum"; apps "should rely on XDG Portals"; when a suitable portal exists, "using the portal becomes mandatory instead of static permissions"; "overly permissive configurations will not be accepted."

Current finish-args

--filesystem=home and --talk-name=org.freedesktop.secrets (plus network, ipc, x11/wayland, dri).

Work

  • Files: SQLite databases, SQL scripts, export targets, theme and extension folders must come from the file chooser portal or the app's own data dirs. Drop --filesystem=home. Check .db/.sqlite file associations (opened files arrive through the portal)
  • SSH tunnels: private keys and known_hosts: let the user pick key files through the chooser, or document --filesystem=~/.ssh:ro as a narrowly justified exception to ask for
  • Secrets: use the Secret portal (libsecret speaks it from inside a sandbox) instead of talking to org.freedesktop.secrets directly; verify that flutter_secure_storage works and that existing entries are found
  • Local MCP server / bridge: confirm what needs network and ipc
  • Write a short justification for every remaining permission for the reviewer
  • Add a "Running as a Flatpak" note to docs listing what changed in behaviour
主要言語
Dart
スター
23
フォーク
1
平均マージ
31分
マージ済み PR(30日)
570

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

QueryaHub/Querya-Desktop のほかの issue

QueryaHub/Querya-Desktop の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。