In a world where mobile devices hold vast amounts of personal and business-critical data, security is no longer optional — it's essential.
Security Suite is an open-source project designed to work on mobile security by providing a developer-friendly, all-in-one repository for developers and security experts.
Already implemented Features are:
- Jailbreak or Root Detection
- Hooks Detection
- Simulator Detection
You can see them in action with the Example App we've provided
You can use the Mobile Security Toolkit in your project by importing it from Maven Central
Not Available
See Jitpack page
Setup root build.gradle.kts
:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
name = "Jitpack"
url = uri("https://jitpack.io")
}
}
}
Import in project build.gradle.kts
:
dependencies {
implementation("com.github.EXXETA:Android-Security-Toolkit:1.0.1")
}
Use the gettable variables to get current status of the device:
Boolean get ThreatDetectionCenter.areRootPrivelegesDetected
Boolean get ThreatDetectionCenter.areHooksDetected
Boolean get ThreatDetectionCenter.isSimulatorDetected
Use Async Stream API to get detected threats asynchronously:
// Create state
val reportedThreats = remember {
mutableStateListOf<ThreatDetectionCenter.Threat>()
}
// Collect stream
LaunchedEffect(Unit) {
detectionCenter.threats.collect {
reportedThreats.add(it)
}
}
// Read the threats:
reportedThreats.contains(ThreatDetectionCenter.Threat.ROOT_PRIVILEGES)
reportedThreats.contains(ThreatDetectionCenter.Threat.HOOKS)
reportedThreats.contains(ThreatDetectionCenter.Threat.SIMULATOR)
Next features to be implemented:
- App Signature Check
- Debugger Detection
- Device Passcode Check
- Integrity Check
- Hardware Security Check
See CONTRIBUTING
Authors:
Special Thanks:
- Sabrina Geiger
- Dennis Gill
- Jonas Rottmann
Used Libraries:
See LICENSE