Skip to content
pubscout

fraud_protection

1.4.0, released 10 months ago by an unverified publisher

Detects malicious accessibility services, overlays, and device security threats on Android.

WASM-ready
$ flutter pub add fraud_protection
Source repository

What it does

A Flutter plugin for Android that monitors security threats such as active device administrators, developer mode, malicious accessibility services, overlays, and call/microphone states. It provides methods to check device security status and event streams to observe touches, display changes, calls, and microphone availability.

AI-written summary of version 1.4.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to protect an Android app against fraud, clickjacking, and malicious accessibility services.
  • You need to monitor overlay windows and detect obscured touch events.
  • You need to detect active phone calls or microphone usage during app sessions.

Skip it when

  • Your application targets iOS or platforms other than Android.
  • You require guaranteed 100% protection against sophisticated malware (the package should be part of a multi-layer security strategy).

Strengths

  • Detects active blacklisted accessibility services and device administrator presence.
  • Provides real-time event streams for touch events, display changes, calls, and microphone usage.
  • Allows dynamic enabling and disabling of overlay protections.

Weaknesses

  • Android-only support (iOS is not supported).
  • Cannot protect against overlay malware that uses active accessibility services.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
1

Requires adding permissions to the Android manifest (HIDE_OVERLAY_WINDOWS, READ_PHONE_STATE, RECORD_AUDIO) and optionally using tools:node="remove" if specific permissions are not needed.

final isAdminAppPresent = await FraudProtection.isDeviceAdminActive();
final isDevMode = await FraudProtection.isDeveloperModeEnabled();

Alternatives

Packages that do the same job and could replace fraud_protection.

Works with

Packages commonly used together with fraud_protection: ones it builds on, ones built on it, and its own family.