react-native-device-defense 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,34 @@
1
- # React Native Device Security - ProGuard/R8 Rules
1
+ # React Native Device Defense - ProGuard/R8 Rules
2
2
 
3
3
  # Keep all native methods
4
- -keepclassmembers class vn.osp.security.** {
4
+ -keepclassmembers class com.devicedefense.** {
5
5
  native <methods>;
6
6
  }
7
7
 
8
8
  # Keep the entire module
9
- -keep class vn.osp.security.** { *; }
10
- -keep interface vn.osp.security.** { *; }
9
+ -keep class com.devicedefense.** { *; }
10
+ -keep interface com.devicedefense.** { *; }
11
11
 
12
12
  # Keep enum classes
13
- -keepclassmembers enum vn.osp.security.** {
13
+ -keepclassmembers enum com.devicedefense.** {
14
14
  *[];
15
15
  }
16
16
 
17
17
  # Don't warn about missing classes
18
- -dontwarn vn.osp.security.**
18
+ -dontwarn com.devicedefense.**
19
19
 
20
20
  # Obfuscate but keep critical method names for native calls
21
- -keep class vn.osp.security.NativeSecurityCheck {
21
+ -keep class com.devicedefense.NativeSecurityCheck {
22
22
  public static boolean isRooted();
23
23
  public static boolean hasDangerousBinaries();
24
24
  public static boolean hasSuspiciousSystemProperties();
25
25
  public static boolean hasHookFramework();
26
26
  public static boolean isDebuggerAttached();
27
+ public static boolean hasSSLValidationBypass();
28
+ public static boolean hasSSLPinningBypass();
29
+ public static boolean hasProxyConfiguration();
30
+ public static boolean hasModifiedSSLLibraries();
31
+ public static boolean hasCertificateTampering();
32
+ public static boolean hasSSLSecurityIssue();
27
33
  public static java.lang.String getSecurityStatus();
28
34
  }
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <manifest package="vn.osp.security">
2
+ <manifest>
3
3
  <!-- No permissions needed for security checks -->
4
4
  </manifest>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-device-defense",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Multi-layer device security detection for React Native (root, hook, debugger, emulator detection)",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",