Skip to content

EXXETA/Android-Security-Toolkit

Repository files navigation

Mobile Security Toolkit

License Release Jitpack Release

screenshot

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.

Features

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

Installation

You can use the Mobile Security Toolkit in your project by importing it from Maven Central

Maven Central

Not Available

Jitpack

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")
}

Usage

Variable API

Use the gettable variables to get current status of the device:

  • Boolean get ThreatDetectionCenter.areRootPrivelegesDetected
  • Boolean get ThreatDetectionCenter.areHooksDetected
  • Boolean get ThreatDetectionCenter.isSimulatorDetected

Async Stream API

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)

Roadmap

Next features to be implemented:

  • App Signature Check
  • Debugger Detection
  • Device Passcode Check
  • Integrity Check
  • Hardware Security Check

Contributing

See CONTRIBUTING

Authors and acknowledgment

Authors:

Special Thanks:

  • Sabrina Geiger
  • Dennis Gill
  • Jonas Rottmann

Used Libraries:

License

See LICENSE