[device_info_plus] Release APK contains debug-enabled dependency (com.deviceinsight.commons.BuildConfig.DEBUG=true)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart, flutter
領域
mobile, security

調査の方向性

Start by inspecting device_info_plus's Android build configuration and how it packages com.deviceinsight.commons.BuildConfig into release APKs; the issue does not name those files. Check whether the reported DEBUG value enables functionality or is simply generated metadata, then verify it in a release artifact. Done means confirming whether this is an expected false positive or identifying a production security concern for maintainers to address.

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

説明

question
What is your question?

During a penetration test, the Android application was reported as containing a debug-enabled dependency.

The finding points to:

com/deviceinsight/commons/BuildConfig.java

The security assessment indicates that debug-related configuration is included in the final production build. Production artifacts should not expose debugging functionality or debug-enabled configurations.

Reported classification:

CWE-919: Weaknesses in Mobile Applications
OWASP Mobile Top 10: M1 Improper Platform Usage
OWASP MASVS: MSTG-RESILIENCE-2
Could the maintainers please verify whether:

The library is intentionally shipping debug configuration in release artifacts.
Any debug-only functionality remains accessible in production builds.
The generated BuildConfig values are expected and pose no security risk.
The purpose of this issue is to understand whether the reported penetration test finding is a false positive or if there is a security concern that should be addressed.

device_info_plus: 11.1.1
Flutter: 3.41.6

Checklist before submitting a question
  • I searched issues in this repository and couldn't find such bug/problem
  • I Google'd a solution and I couldn't find it
  • I searched on StackOverflow for a solution and I couldn't find it
  • I read the README.md file of the plugin
  • I am using the latest version of the plugin
  • All dependencies are up to date with flutter pub upgrade
  • I did a flutter clean
  • I tried running the example project
主要言語
Dart
スター
1.9k
フォーク
1.3k
平均マージ
1時間 7分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

fluttercommunity/plus_plugins のほかの issue

fluttercommunity/plus_plugins の issue をすべて見る

似ている issue

Dart の issue をもっと見る

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

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