A simple library that can help you detect if you app is modded or tampered with

Overview

Android Tamper Detector



A simple library that can help you detect if you app is modded or tampered with. This adds a security level that makes it difficult to crack your app.

Supporting Tamper Detector

Tamper Detector is an independent project with ongoing development and support made possible thanks to donations made by these awesome backers. If you'd like to join them, please consider:

How to integrate into your app?

Integrating the project is simple a refined all you need to do is follow the below steps

Step 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    ...
    maven { url "https://jitpack.io" }
  }
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.mukeshsolanki:Android-Tamper-Detector:<latest-version>'
}

How to use the library?

Okay seems like you integrated the library in your project but how do you use it? Well its really easy just do this in the app launch

.....
 detector =
      Detector.Builder().packageName("your actual package name get this via an api call").listener(object: OnTamperDetectionListener{
       override fun onAppTampered(errorMessage: String) {
          Log.d("onAppTampered->", errorMessage)
        }

        override fun onAppOkay() {
          Log.d("onAppTampered->", "App is okay")
        }
      })
        .with(context)
        .sha1FingerPrint("release sha 1 finger print get this via an api call as well").build()

 detector.check()
.....

You simple create a Detector object using the builder and set the details and call the check() and that should be it you will receive a call back with the details in the OnTamperDetectionListener.

To enable debug for development you can do detector.enableDebugMode(true) and detector.allowEmulators(true) That's pretty much it and your all wrapped up.

Author

Maintained by Mukesh Solanki

Contribution

GitHub contributors

License

MIT License

Copyright (c) 2019 Mukesh Solanki

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Comments
  • Logo proposal

    Logo proposal

    Hi @mukeshsolanki I am a designer ,want to make app icon for this project,i just need a permission to start my work with that.if you have any requirements then let me know.its free for open source projects Thanks

    enhancement 
    opened by masudr4n4 1
  • Logo proposal

    Logo proposal

    Hi @mukeshsolanki I am a designer ,want to make app icon for this project,i just need a permission to start my work with that.if you have any requirements then let me know.its free for open source projects Thanks

    enhancement 
    opened by masudr4n4 0
  • verifyInstaller always returns true

    verifyInstaller always returns true

    I'm trying to check my apk file is installed from playstore or manually. So I used this.verifyInstaller(Installer.GOOGLE_PLAY_STORE) method. It always returns true even apk file install manually.

    opened by nadishan 1
  • guardDebugger arguments mixed up in example and documentation

    guardDebugger arguments mixed up in example and documentation

    In tamperdetector version 1.0.1 documentation and examples shows that first argument unit is success (no debuggers detected and second is "error" unit) yet implementation is reversed fun guardDebugger(error: (() -> Unit) = {}, function: (() -> Unit))

    opened by nano0m 0
  • Fix Readme Signature link

    Fix Readme Signature link

    Proposed changes

    Just a quick fix for the link to the signature section in the readme.

    Types of changes

    What types of changes does your code introduce? Put an x in the boxes that apply

    • [ ] Bugfix (non-breaking change which fixes an issue)
    • [ ] New feature (non-breaking change which adds functionality)
    • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

    Checklist

    • [x] I have read the CONTRIBUTING doc
    • [x] I have added necessary documentation (if appropriate)
    • [x] Any dependent changes have been merged and published in downstream modules

    Further comments

    /

    opened by cyb3rko 0
Releases(1.0.1)
Owner
Mukesh Solanki
Mukesh Solanki is a full-stack developer from Bangalore, India.
Mukesh Solanki
This app will show grid overlay over whole system which helps you to verify your excellent app design.

GridWichterle for Android This app will show grid overlay over whole system which helps you to verify your excellent app design. Download: What is the

Inmite s.r.o. 408 Dec 29, 2022
Grabโ€™n Run, a simple and effective Java Library for Android projects to secure dynamic code loading.

Grabโ€™n Run, a simple and effective Java Library for Android projects to secure dynamic code loading.

Luca Falsina 418 Dec 29, 2022
Simple API to perform AES encryption on Android. This is the Android counterpart to the AESCrypt library Ruby and Obj-C (with the same weak security defaults :( ) created by Gurpartap Singh. https://github.com/Gurpartap/aescrypt

AESCrypt-Android Simple API to perform AES encryption on Android with no dependancies. This is the Android counterpart to the AESCrypt library Ruby an

Scott Alexander-Bown 636 Dec 18, 2022
MiHawk ๐Ÿฆ…๐Ÿ‘๏ธ is simple and secure ๐Ÿ”’ Android Library to store and retrieve pair of key-value data with encryption , internally it use jetpack DataStore Preferences ๐Ÿ’ฝ to store data.

MiHawk MiHawk ?? ??๏ธ is simple and secure ?? Android Library to store and retrieve pair of key-value data with encryption , internally it use jetpack

Nedal Hasan Ibrahem 5 Sep 3, 2022
A simple android app that parses its own signature and displays it

SigDisplayer Usage Download the release APK or clone the repository and compile yourself. Sign the APK with your preferred keystore. Install and open

Jonah 5 Oct 18, 2022
If you have trouble pinning your custom icon to Launcher dynamically, try this library

CustomIconHelperX If you have trouble pinning your custom icon to Launcher dynam

Valentine Liao 1 Jan 4, 2022
A simple and opinionated AES encrypt / decrypt Ruby gem that just works.

AESCrypt - Simple AES encryption / decryption for Ruby AESCrypt is a simple to use, opinionated AES encryption / decryption Ruby gem that just works.

Gurpartap Singh 158 Oct 18, 2022
simple implementation KTLint with lib JLLeitschuh/ktlint-gradle

Simple DETEKT implementation others KTLint KTLint-gradle DeteKT Spotless gradle-code-quality-tools-plugin Tutorials medium Config detekt config.yml Gr

John Alves 0 Jun 10, 2022
A simple text encryption/decryption password based GUI+CLI tool

ZeText: Zero disk exposition texts This is a simple text encryption/decryption password based GUI+CLI tool, allowing to enter, edit and decrypt files

sergeych 0 Dec 21, 2021
AndroidHybridCrypto is simple customizable Android implementation of hybrid cryptography (AES+RSA+Hash) recommended by OWASP.

AndroidHybridCrypto HybridCrypto is simple customizable Android implementation of hybrid cryptography (AES+RSA+Hash) recommended by OWASP. Usage Step

UTNGY Pisal 2 Sep 6, 2022
Signal Protocol library for Java/Android

Overview A ratcheting forward secrecy protocol that works in synchronous and asynchronous messaging environments. PreKeys This protocol uses a concept

Signal 1.8k Dec 24, 2022
Dex manipulation library

dexterity Description dexterity is a C library intended for manipulation and analysis of DEX files. It has python bindings for all basic DEX structure

Rodrigo Chiossi 93 Nov 25, 2022
๐Ÿ”“ Kotlin version of the popular google/easypermissions wrapper library to simplify basic system permissions logic on Android M or higher.

?? Kotlin version of the popular google/easypermissions wrapper library to simplify basic system permissions logic on Android M or higher.

Madalin Valceleanu 327 Dec 30, 2022
PermissionX is an extension Android library that makes Android runtime permission request extremely easy

PermissionX is an extension Android library that makes Android runtime permission request extremely easy. You can use it for basic pe

Lin Guo 2.9k Dec 28, 2022
ZRoot is a library that makes it easy to use root on Android, such as calling system service with root privilege.

ZRoot is a library that makes it easy to use root on Android, such as calling system service with root privilege. Usage See sample or user guide

null 2 Nov 26, 2021
a version of the official Android openssl setup to build standalone for use in app

OpenSSL on the Android platform. --- The code in this directory is based on $OPENSSL_VERSION in the file openssl.version. See patches/README for more

Guardian Project 371 Dec 8, 2022
Analyze any Android/Java based app or game

ClassyShark Introduction ClassyShark is a standalone binary inspection tool for Android developers. It can reliably browse any Android executable and

Google 7.2k Jan 3, 2023
A android app for encrypting apk

A android app for encrypting apk

FlyingYu 124 Jan 5, 2023
Android app to test various cryptography algorithm.

CryptographyLesson Introduction This android app shows how cryptographic algorithm works. You can encrypt or decrypt messages and try different algori

null 3 Mar 21, 2022