パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.0.4

trust_fall

デバイスの信頼性の喪失を検出するためのFlutterプラグイン(ジャイルブレイク、ルート、エミュレータ、偽の場所検出)。

30日間ダウンロード
57
いいね数
88
Pub ポイント
35

パッケージをインストール

flutter pub add trust_fall

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

TrustFall は、デバイスが改ざんされているか、不安定な状態にあるかどうかを検出することを目的とした Flutter プラグインです。越獄またはルートされたデバイス、エミュレータ環境、およびモック位置サービスの存在を識別します。これらは潜在的なセキュリティリスクの一般的な兆候です。プラットフォーム固有のチェックを活用することで、信頼できないデバイス上で重要な操作が実行されないようにし、アプリケーションの保護を支援します。このプラグインは pub.dev を通じて Flutter プロジェクトに簡単に統合でき、高いセキュリティ基準を必要とするアプリに特に役立ちます。

用途

  • 金融アプリケーションのセキュリティ確保
  • モバイルプラットフォーム上の詐欺を防ぐ
  • プレミアムコンテンツへのアクセスの保護
  • エミュレートされたテスト環境の検出
  • エンタープライズアプリでのデバイス整合性の強制

主な機能

  • ジャイルブレイク/ルート検出
  • エミュレータ検出
  • モック位置検出
  • クロスプラットフォーム互換性
  • Flutter とのシンプルな統合

適している対象

  • 高セキュリティアプリ
  • 金融および銀行アプリ
  • エンタープライズモバイルソリューション
  • プレミアムコンテンツを含むアプリ
  • テストおよび開発の検証

注意事項

  • 100%の検出精度を保証しません
  • 一部のデバイスで誤検出を引き起こす可能性があります
  • ユーザーのプライバシーを慎重に扱う必要がある
  • 基本的なデバイスの整合性チェックに限定
  • 包括的なセキュリティ対策の代わりにはなりません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

trust_fall

A Flutter plugin for detecting the trust fall of the device(Jailbroken, root, emulator and mock location detection).

Uses RootBeer for Android root detection and DTTJailbreakDetection for iOS jailbreak detection. Inspired by jail-monkey and this blog article

Getting Started

In your flutter project add the dependency:

dependencies:
  ...
  trust_fall: ^1.0.4

Usage

Importing package
import 'package:trust_fall/trust_fall.dart';
Using it

Checks whether device JailBroken on iOS/Android?

bool isJailBroken = await TrustFall.isJailBroken;

Checks whether device is real or emulator

bool isRealDevice = await TrustFall.isRealDevice;

Can this device mock location - no need to root!

bool canMockLocation = await TrustFall.canMockLocation;

(ANDROID ONLY) Check if application is running on external storage

bool isOnExternalStorage = await TrustFall.isOnExternalStorage;

Check if device violates any of the above

bool isTrustFall = await TrustFall.isTrustFall;

Note:

Mock location detection
  • Android - Location permission needs to be granted in app in order to detect mock location properly
  • iOS - For now we are checking if device is Jail Broken or if it's not real device. There is no strong detection of mock location in iOS (Open the PR if you have better way for mock location detection in iOS)

❗Since emulators are usually rooted, you might want to bypass these checks during development. Unless you're keen on constant false alarms ⏰

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。