ai_root_shield 0.5.0 → 1.0.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +52 -4
- data/README.md +33 -2
- data/bindings/python/README.md +304 -0
- data/bindings/python/ai_root_shield.py +438 -0
- data/bindings/python/setup.py +65 -0
- data/examples/device_logs/android_safetynet_device.json +148 -0
- data/examples/device_logs/ios_jailbroken_device.json +172 -0
- data/lib/ai_root_shield/ci_cd/security_test_module.rb +743 -0
- data/lib/ai_root_shield/dashboard/web_dashboard.rb +441 -0
- data/lib/ai_root_shield/enterprise/alert_system.rb +601 -0
- data/lib/ai_root_shield/enterprise/hybrid_detection_engine.rb +650 -0
- data/lib/ai_root_shield/enterprise/performance_optimizer.rb +613 -0
- data/lib/ai_root_shield/enterprise/policy_manager.rb +637 -0
- data/lib/ai_root_shield/integrations/siem_connector.rb +695 -0
- data/lib/ai_root_shield/platform/android_security_module.rb +263 -0
- data/lib/ai_root_shield/platform/hardware_security_analyzer.rb +452 -0
- data/lib/ai_root_shield/platform/ios_security_module.rb +513 -0
- data/lib/ai_root_shield/platform/unified_report_generator.rb +613 -0
- data/lib/ai_root_shield/version.rb +1 -1
- data/security_test_artifacts/security_report.json +124 -0
- data/security_test_artifacts/security_results.sarif +16 -0
- data/security_test_artifacts/security_tests.xml +3 -0
- metadata +20 -1
@@ -0,0 +1,124 @@
|
|
1
|
+
{
|
2
|
+
"metadata": {
|
3
|
+
"test_suite_version": "1.0",
|
4
|
+
"ai_root_shield_version": "0.5.0",
|
5
|
+
"execution_timestamp": "2025-09-09T21:01:42Z",
|
6
|
+
"ci_environment": "Unknown",
|
7
|
+
"test_configuration": {},
|
8
|
+
"git_information": {
|
9
|
+
"commit_sha": "6a1360b16d119ffcb11973d68aed1fa5ebb58622",
|
10
|
+
"branch": "main",
|
11
|
+
"commit_message": "Release v0.4.0: Add advanced network security and enterprise policy management\n\n- Add certificate pinning helper with common CA support\n- Implement advanced proxy detection (VPN, Tor, custom DNS, MITM)\n- Add enterprise policy management with JSON-based rules\n- Include policy templates for banking, enterprise, and development\n- Add comprehensive network analysis integration\n- Update CLI with new network security options\n- Enhance documentation with new features",
|
12
|
+
"author": "oynaxo"
|
13
|
+
},
|
14
|
+
"build_information": {}
|
15
|
+
},
|
16
|
+
"test_results": [
|
17
|
+
{
|
18
|
+
"test_name": "Android Security Analysis",
|
19
|
+
"platform": "android",
|
20
|
+
"status": "PASSED",
|
21
|
+
"risk_score": 18,
|
22
|
+
"risk_factors": [
|
23
|
+
"TEE_NOT_AVAILABLE",
|
24
|
+
"HARDWARE_KEYSTORE_UNAVAILABLE"
|
25
|
+
],
|
26
|
+
"details": {
|
27
|
+
"safetynet": {
|
28
|
+
"basic_integrity": true,
|
29
|
+
"cts_profile_match": true,
|
30
|
+
"evaluation_type": "BASIC",
|
31
|
+
"nonce_verified": false,
|
32
|
+
"timestamp": 1640995200000,
|
33
|
+
"advice": [
|
34
|
+
{
|
35
|
+
"type": "SECURITY",
|
36
|
+
"message": "Device has secure lock screen"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
},
|
40
|
+
"play_integrity": {
|
41
|
+
"device_verdict": [
|
42
|
+
"MEETS_DEVICE_INTEGRITY",
|
43
|
+
"MEETS_BASIC_INTEGRITY"
|
44
|
+
],
|
45
|
+
"app_verdict": "PLAY_RECOGNIZED",
|
46
|
+
"account_verdict": "LICENSED",
|
47
|
+
"environment_verdict": "MEETS_BASIC_INTEGRITY",
|
48
|
+
"meets_device_integrity": {
|
49
|
+
"meets_device_integrity": true,
|
50
|
+
"meets_basic_integrity": true,
|
51
|
+
"meets_strong_integrity": false
|
52
|
+
},
|
53
|
+
"app_licensing_verdict": "LICENSED"
|
54
|
+
},
|
55
|
+
"hardware_security": {
|
56
|
+
"tee_available": false,
|
57
|
+
"secure_element_available": false,
|
58
|
+
"hardware_keystore": false,
|
59
|
+
"biometric_hardware": {
|
60
|
+
"fingerprint_available": true,
|
61
|
+
"face_available": false,
|
62
|
+
"iris_available": false,
|
63
|
+
"biometric_prompt_supported": false,
|
64
|
+
"hardware_level": "strong",
|
65
|
+
"enrolled_biometrics": 0
|
66
|
+
},
|
67
|
+
"strongbox_available": false,
|
68
|
+
"verified_boot": false,
|
69
|
+
"dm_verity_enabled": false
|
70
|
+
},
|
71
|
+
"system_integrity": {
|
72
|
+
"selinux_enforcing": true,
|
73
|
+
"verified_boot_state": "green",
|
74
|
+
"bootloader_locked": true,
|
75
|
+
"system_partition_verified": true,
|
76
|
+
"vendor_partition_verified": true,
|
77
|
+
"build_tags": {
|
78
|
+
"secure": true,
|
79
|
+
"tags": [
|
80
|
+
"release-keys"
|
81
|
+
],
|
82
|
+
"has_release_keys": true,
|
83
|
+
"has_test_keys": false,
|
84
|
+
"has_debug_keys": false
|
85
|
+
},
|
86
|
+
"adb_enabled": false,
|
87
|
+
"developer_options_enabled": false
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"recommendations": [],
|
91
|
+
"execution_time": 0.054442
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"test_name": "Cross-Platform Security Analysis",
|
95
|
+
"platform": "cross_platform",
|
96
|
+
"status": "PASSED",
|
97
|
+
"risk_score": 0,
|
98
|
+
"risk_factors": [],
|
99
|
+
"details": {
|
100
|
+
"network_security": {
|
101
|
+
"proxy_enabled": false,
|
102
|
+
"vpn_active": false,
|
103
|
+
"custom_certificates": 0,
|
104
|
+
"tls_version": "1.3"
|
105
|
+
}
|
106
|
+
},
|
107
|
+
"recommendations": [],
|
108
|
+
"execution_time": 0.054453
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"summary": {
|
112
|
+
"total_tests": 2,
|
113
|
+
"passed": 2,
|
114
|
+
"failed": 0,
|
115
|
+
"warnings": 0,
|
116
|
+
"success_rate": 100.0,
|
117
|
+
"max_risk_score": 18,
|
118
|
+
"overall_status": "SECURE",
|
119
|
+
"total_risk_factors": 2,
|
120
|
+
"critical_risk_factors": [],
|
121
|
+
"execution_time": 0.054473
|
122
|
+
},
|
123
|
+
"artifacts": []
|
124
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
|
3
|
+
"version": "2.1.0",
|
4
|
+
"runs": [
|
5
|
+
{
|
6
|
+
"tool": {
|
7
|
+
"driver": {
|
8
|
+
"name": "AI Root Shield",
|
9
|
+
"version": "0.5.0",
|
10
|
+
"informationUri": "https://github.com/ahmetxhero/ai-root-shield"
|
11
|
+
}
|
12
|
+
},
|
13
|
+
"results": []
|
14
|
+
}
|
15
|
+
]
|
16
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ai_root_shield
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmet KAHRAMAN
|
@@ -169,7 +169,12 @@ files:
|
|
169
169
|
- LICENSE
|
170
170
|
- README.md
|
171
171
|
- Rakefile
|
172
|
+
- bindings/python/README.md
|
173
|
+
- bindings/python/ai_root_shield.py
|
174
|
+
- bindings/python/setup.py
|
175
|
+
- examples/device_logs/android_safetynet_device.json
|
172
176
|
- examples/device_logs/clean_device.json
|
177
|
+
- examples/device_logs/ios_jailbroken_device.json
|
173
178
|
- examples/device_logs/rooted_android.json
|
174
179
|
- examples/policies/banking_policy.json
|
175
180
|
- examples/policies/development_policy.json
|
@@ -184,13 +189,27 @@ files:
|
|
184
189
|
- lib/ai_root_shield/analyzers/network_analyzer.rb
|
185
190
|
- lib/ai_root_shield/analyzers/root_detector.rb
|
186
191
|
- lib/ai_root_shield/certificate_pinning_helper.rb
|
192
|
+
- lib/ai_root_shield/ci_cd/security_test_module.rb
|
193
|
+
- lib/ai_root_shield/dashboard/web_dashboard.rb
|
187
194
|
- lib/ai_root_shield/detector.rb
|
188
195
|
- lib/ai_root_shield/device_log_parser.rb
|
196
|
+
- lib/ai_root_shield/enterprise/alert_system.rb
|
197
|
+
- lib/ai_root_shield/enterprise/hybrid_detection_engine.rb
|
198
|
+
- lib/ai_root_shield/enterprise/performance_optimizer.rb
|
199
|
+
- lib/ai_root_shield/enterprise/policy_manager.rb
|
189
200
|
- lib/ai_root_shield/enterprise_policy_manager.rb
|
201
|
+
- lib/ai_root_shield/integrations/siem_connector.rb
|
202
|
+
- lib/ai_root_shield/platform/android_security_module.rb
|
203
|
+
- lib/ai_root_shield/platform/hardware_security_analyzer.rb
|
204
|
+
- lib/ai_root_shield/platform/ios_security_module.rb
|
205
|
+
- lib/ai_root_shield/platform/unified_report_generator.rb
|
190
206
|
- lib/ai_root_shield/rasp_protection.rb
|
191
207
|
- lib/ai_root_shield/risk_calculator.rb
|
192
208
|
- lib/ai_root_shield/version.rb
|
193
209
|
- models/README.md
|
210
|
+
- security_test_artifacts/security_report.json
|
211
|
+
- security_test_artifacts/security_results.sarif
|
212
|
+
- security_test_artifacts/security_tests.xml
|
194
213
|
homepage: https://github.com/ahmetxhero/ai-root-shield
|
195
214
|
licenses:
|
196
215
|
- MIT
|