Gathering detailed insights and metrics for jail-monkey
Gathering detailed insights and metrics for jail-monkey
Gathering detailed insights and metrics for jail-monkey
Gathering detailed insights and metrics for jail-monkey
npm install jail-monkey
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
595 Stars
253 Commits
147 Forks
9 Watching
23 Branches
32 Contributors
Updated on 25 Nov 2024
Java (42.31%)
Objective-C (32.73%)
TypeScript (6.51%)
Ruby (6.16%)
Kotlin (5.77%)
JavaScript (4.72%)
Objective-C++ (1.81%)
Cumulative downloads
Total Downloads
Last day
-10.9%
8,784
Compared to previous day
Last week
1%
50,150
Compared to previous week
Last month
4.3%
210,719
Compared to previous month
Last year
18.3%
2,743,380
Compared to previous year
1
Are users claiming they are crossing the globe in seconds and collecting all the Pokeballs? Some apps need to protect themselves in order to protect data integrity. JailMonkey allows you to:
1import JailMonkey from 'jail-monkey' 2 3if (JailMonkey.isJailBroken()) { 4 // Alternative behaviour for jail-broken/rooted devices. 5}
Method | Returns | Description |
---|---|---|
isJailBroken | boolean | is this device jail-broken/rooted. |
canMockLocation | boolean | Can this device fake its GPS location. |
trustFall | boolean | Checks if the device violates either isJailBroken or canMockLocation . |
isDebuggedMode | Promise<boolean> | Is the application is running in debug mode. Note that this method returns a Promise. |
Method | Returns | Description |
---|---|---|
jailBrokenMessage | string | Returns the reason for jailbroken detection. Will return an empty string on Android. |
Method | Returns | Description |
---|---|---|
hookDetected | boolean | Detects if there is any suspicious installed applications. |
isOnExternalStorage | boolean | Is the application running on external storage (ie. SD Card) |
AdbEnabled | boolean | Is Android Debug Bridge enabled. |
isDevelopmentSettingsMode | Promise<boolean> | Whether user has enabled development settings on their device. Note that this method returns a Promise. |
androidRootedDetectionMethods | RootedDetectionMethods | Returns an object with the results of all the Android rooted detection methods for more granular detection, this can be helpful if some devices are giving false positives. |
type RootedDetectionMethods = {
rootBeer: {
detectRootManagementApps: boolean;
detectPotentiallyDangerousApps: boolean;
checkForSuBinary: boolean;
checkForDangerousProps: boolean;
checkForRWPaths: boolean;
detectTestKeys: boolean;
checkSuExists: boolean;
checkForRootNative: boolean;
checkForMagiskBinary: boolean;
},
jailMonkey: boolean;
}
On iOS all of the Android only methods will return false
or Promise<false>
where appropriate.
1npm i jail-monkey --save 2react-native link # Not required as of React Native 0.60.0
for iOS:
1cd ios && pod install
If you use rnpm
, you may have trouble as rnpm
does not link Android properly after 0.29.0!
Note: On Android you should include location.isFromMockProvider()
from your location provider to compliment JailMonkey.canMockLocation()
. Most react-native location libraries already have this check built in
This has been made public to help keep it up to date. As detection measures get better or out-dated, please send updates to this project so it can be the best method of detection.
Special thanks to this fantastic blog article: http://blog.geomoby.com/2015/01/25/how-to-avoid-getting-your-location-based-app-spoofed/
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 3/6 approved changesets -- score normalized to 5
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More