[security] : secrets.defaults.properties is tracked in the repository — placeholder API keys committed to a public repo enable accidental credential exposure if a contributor copies the file and commits it with real values
メンテナーはふだん 1 日以内に返信
@prince-pokharna がすでに取り組んでいます。
2026年8月22日 から。
評価
この issue はまだ評価されていません。
説明
Labels: security, priority: high
Summary
secrets.defaults.properties is committed to the repository root. Per the README:
"Copy the defaults file and fill in real values:
cp secrets.defaults.properties secrets.properties"
This workflow — copy a committed defaults file, fill in real credentials, use locally — is the most common pattern that leads to accidental secret commits. A contributor who misremembers that secrets.properties (not secrets.defaults.properties) is gitignored, or whose IDE auto-stages files, can easily commit real TMDB API keys, Trakt client secrets, or Supabase anon keys into a fork of this 544-star public repository.
Additionally, the defaults file itself may contain placeholder strings that some contributors copy verbatim into CI environment variables, producing silent failures that are hard to debug.
Proposed solution
- Replace
secrets.defaults.propertieswith asecrets.defaults.properties.templatethat contains only key names and inline comments describing where to obtain each credential — no placeholder values that look like real secrets (e.g.TMDB_API_KEY=notTMDB_API_KEY=your_key_here). - Add a Gradle
checktask or a pre-commit hook that validatessecrets.propertiesis not staged for commit — similar to the pattern used by thegoogle-services.jsongitignore convention. - Add a
## Local Secrets Setupsection to the README explicitly warning: "Do not renamesecrets.defaults.propertiestosecrets.properties. Copy it instead. The defaults file is public;secrets.propertiesis gitignored." - Verify
.gitignorecoverssecrets.properties(it does per README),google-services.json, and any generatedkeystore.properties.
I'd like to be assigned this issue. I'd scope the first PR as the template rename + README warning — fast, immediately protective for every future contributor.
- 主要言語
- Kotlin
- スター
- 760
- フォーク
- 122
- 平均マージ
- 15時間 11分
- マージ済み PR(30日)
- 63
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ProdigyV21/ARVIO のほかの issue
-
Web Sources crash: non-string stream fields can trigger `t.trim is not a function`対応中かも @petomalik6-duda が 3 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ProdigyV21/ARVIO#856 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
area: web type:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
ProdigyV21/ARVIO#444 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ProdigyV21/ARVIO#367 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
type:bug
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
ProdigyV21/ARVIO#857 ·
メンテナーはふだん 1 日以内に返信
-
type:feature
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
ProdigyV21/ARVIO#851 ·
メンテナーはふだん 1 日以内に返信
ProdigyV21/ARVIO の issue をすべて見る
似ている issue
-
e2e-failure
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
home-assistant/android#7809 ·
メンテナーはふだん 1 日以内に返信
-
index-request triaged
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
JetBrains/klibs-io#611 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 3 日以内に返信
-
afk-ok area:ci size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
enorm-labs/event-junkie#4518 ·
メンテナーはふだん 1 日以内に返信