flutter_rasp library

A comprehensive RASP (Runtime Application Self-Protection) plugin for Flutter.

Detect root, jailbreak, emulators, debuggers, hooks, repackaging, untrusted installs, VPN, developer mode, protect screen capture, enforce SSL certificate pinning, and ship threats / errors to your own backend dashboard via the native reporter.

Classes

AndroidRaspConfig
Android-specific configuration for repackaging and install-origin detection.
CertificateDecryptor
Decrypts PEM certificates encrypted with the RASP Certificate Encryptor.
CertificateStore
Securely stores certificate bytes using platform Keychain / EncryptedSharedPreferences.
FlutterRasp
Main entry point for the flutter_rasp plugin.
HashConverter
Utility for converting SHA-256 hashes between hex and Base64 formats.
IosRaspConfig
iOS-specific configuration for repackaging detection.
RaspConfig
Configuration for FlutterRasp.initialize.
RaspReporter
Dart entry point for the native security reporter. Reports are built and shipped natively — inspect them at your backend.
RaspResult
Result of a full security scan from FlutterRasp.scanAll.
ReporterConfig
Configuration for RaspReporter.
SslPinningClient
Creates SecurityContext and HttpClient with pinned certificates.
SslPinningConfig
Configuration for SslPinningClient.
ThreatCallback
Per-threat callbacks invoked by FlutterRasp when threats are detected.
ThreatPolicy
Defines which threats should terminate the app at the native level.

Enums

Severity of a Breadcrumb entry.
RaspErrorCode
Error codes used by RaspException.
Threat
Security threats that flutter_rasp can detect.

Constants

hashConverter → const HashConverter

Exceptions / Errors

RaspException
Exception thrown by flutter_rasp operations.