dexsect 4.1.0__py3-none-any.whl

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.
Files changed (74) hide show
  1. dexsect/__init__.py +4 -0
  2. dexsect/__main__.py +5 -0
  3. dexsect/catalog/EXTRACTION_CATALOG.json +4057 -0
  4. dexsect/catalog/__init__.py +0 -0
  5. dexsect/cli.py +1272 -0
  6. dexsect/core/__init__.py +0 -0
  7. dexsect/core/config.py +177 -0
  8. dexsect/core/context.py +181 -0
  9. dexsect/core/i18n.py +40 -0
  10. dexsect/core/pipeline.py +153 -0
  11. dexsect/core/platform_utils.py +164 -0
  12. dexsect/core/runner.py +124 -0
  13. dexsect/core/theme.py +64 -0
  14. dexsect/core/ui.py +405 -0
  15. dexsect/core/utils.py +150 -0
  16. dexsect/inspectors/__init__.py +0 -0
  17. dexsect/inspectors/assets_db_inspector.py +235 -0
  18. dexsect/inspectors/base.py +46 -0
  19. dexsect/inspectors/bundle_inspector.py +55 -0
  20. dexsect/inspectors/code_inspector.py +341 -0
  21. dexsect/inspectors/custom_rules_inspector.py +178 -0
  22. dexsect/inspectors/dex_inspector.py +144 -0
  23. dexsect/inspectors/manifest_inspector.py +503 -0
  24. dexsect/inspectors/native_fw_inspector.py +167 -0
  25. dexsect/inspectors/resources_inspector.py +195 -0
  26. dexsect/inspectors/scanner_inspector.py +153 -0
  27. dexsect/inspectors/signing_inspector.py +423 -0
  28. dexsect/inspectors/text_scanner.py +336 -0
  29. dexsect/locales/__init__.py +0 -0
  30. dexsect/locales/ar.json +130 -0
  31. dexsect/locales/de.json +51 -0
  32. dexsect/locales/en.json +110 -0
  33. dexsect/locales/es.json +51 -0
  34. dexsect/locales/fr.json +51 -0
  35. dexsect/locales/ja.json +51 -0
  36. dexsect/locales/pt.json +51 -0
  37. dexsect/locales/ru.json +51 -0
  38. dexsect/locales/tr.json +51 -0
  39. dexsect/locales/zh.json +51 -0
  40. dexsect/parsers/__init__.py +0 -0
  41. dexsect/parsers/axml.py +264 -0
  42. dexsect/parsers/bundle.py +214 -0
  43. dexsect/parsers/elf.py +396 -0
  44. dexsect/phases/__init__.py +0 -0
  45. dexsect/phases/base.py +102 -0
  46. dexsect/phases/decode.py +507 -0
  47. dexsect/phases/decompile.py +408 -0
  48. dexsect/phases/fingerprint.py +341 -0
  49. dexsect/phases/frameworks.py +377 -0
  50. dexsect/phases/mapper.py +41 -0
  51. dexsect/phases/native.py +188 -0
  52. dexsect/plugins/__init__.py +0 -0
  53. dexsect/plugins/base.py +20 -0
  54. dexsect/plugins/diff.py +162 -0
  55. dexsect/plugins/inspect.py +172 -0
  56. dexsect/plugins/report.py +80 -0
  57. dexsect/plugins/trace.py +141 -0
  58. dexsect/reporting/__init__.py +0 -0
  59. dexsect/reporting/analysis_report.py +1190 -0
  60. dexsect/reporting/diff_report.py +144 -0
  61. dexsect/reporting/sarif_report.py +109 -0
  62. dexsect/reporting/unpack_map.py +149 -0
  63. dexsect/rules/__init__.py +0 -0
  64. dexsect/rules/anti_analysis.json +45 -0
  65. dexsect/rules/crypto_audit.json +41 -0
  66. dexsect/rules/secrets_extended.json +46 -0
  67. dexsect/storage/__init__.py +0 -0
  68. dexsect/storage/findings_db.py +460 -0
  69. dexsect-4.1.0.dist-info/METADATA +532 -0
  70. dexsect-4.1.0.dist-info/RECORD +74 -0
  71. dexsect-4.1.0.dist-info/WHEEL +5 -0
  72. dexsect-4.1.0.dist-info/entry_points.txt +2 -0
  73. dexsect-4.1.0.dist-info/licenses/LICENSE +21 -0
  74. dexsect-4.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,4057 @@
1
+ {
2
+ "catalog_version": "1.1.0",
3
+ "schema": "dexsect-extraction-catalog-v1",
4
+ "total_items": 153,
5
+ "items": [
6
+ {
7
+ "id": "APP-001",
8
+ "name": "Package Name",
9
+ "domain": "Application Identity",
10
+ "subdomain": "Core",
11
+ "description": "Application package identifier from manifest root.",
12
+ "source_files": [
13
+ "AndroidManifest.xml"
14
+ ],
15
+ "extraction_type": "direct",
16
+ "method": "xml_parse",
17
+ "profile": "fast",
18
+ "storage": "summary",
19
+ "output_type": "array",
20
+ "provenance_fields": [
21
+ "unit_id",
22
+ "file",
23
+ "line",
24
+ "raw_value"
25
+ ],
26
+ "deduplicate": true,
27
+ "preserve_source": true,
28
+ "external_reference": false,
29
+ "status": "approved",
30
+ "reliability": "high"
31
+ },
32
+ {
33
+ "id": "APP-002",
34
+ "name": "Application Label",
35
+ "domain": "Application Identity",
36
+ "subdomain": "Core",
37
+ "description": "Resolved application display label or resource reference.",
38
+ "source_files": [
39
+ "AndroidManifest.xml",
40
+ "res/values/strings.xml"
41
+ ],
42
+ "extraction_type": "direct",
43
+ "method": "xml_parse",
44
+ "profile": "fast",
45
+ "storage": "summary",
46
+ "output_type": "array",
47
+ "provenance_fields": [
48
+ "unit_id",
49
+ "file",
50
+ "line",
51
+ "raw_value"
52
+ ],
53
+ "deduplicate": true,
54
+ "preserve_source": true,
55
+ "external_reference": false,
56
+ "status": "approved",
57
+ "reliability": "high"
58
+ },
59
+ {
60
+ "id": "APP-003",
61
+ "name": "Version Name",
62
+ "domain": "Application Identity",
63
+ "subdomain": "Core",
64
+ "description": "Human-readable versionName string.",
65
+ "source_files": [
66
+ "AndroidManifest.xml",
67
+ "apktool.yml"
68
+ ],
69
+ "extraction_type": "direct",
70
+ "method": "xml_parse",
71
+ "profile": "fast",
72
+ "storage": "summary",
73
+ "output_type": "array",
74
+ "provenance_fields": [
75
+ "unit_id",
76
+ "file",
77
+ "line",
78
+ "raw_value"
79
+ ],
80
+ "deduplicate": true,
81
+ "preserve_source": true,
82
+ "external_reference": false,
83
+ "status": "approved",
84
+ "reliability": "high"
85
+ },
86
+ {
87
+ "id": "APP-004",
88
+ "name": "Version Code",
89
+ "domain": "Application Identity",
90
+ "subdomain": "Core",
91
+ "description": "Integer versionCode build identifier.",
92
+ "source_files": [
93
+ "AndroidManifest.xml",
94
+ "apktool.yml"
95
+ ],
96
+ "extraction_type": "direct",
97
+ "method": "xml_parse",
98
+ "profile": "fast",
99
+ "storage": "summary",
100
+ "output_type": "array",
101
+ "provenance_fields": [
102
+ "unit_id",
103
+ "file",
104
+ "line",
105
+ "raw_value"
106
+ ],
107
+ "deduplicate": true,
108
+ "preserve_source": true,
109
+ "external_reference": false,
110
+ "status": "approved",
111
+ "reliability": "high"
112
+ },
113
+ {
114
+ "id": "APP-005",
115
+ "name": "Min SDK Version",
116
+ "domain": "Application Identity",
117
+ "subdomain": "SDK",
118
+ "description": "Minimum Android API level declared.",
119
+ "source_files": [
120
+ "AndroidManifest.xml",
121
+ "apktool.yml"
122
+ ],
123
+ "extraction_type": "direct",
124
+ "method": "xml_parse",
125
+ "profile": "fast",
126
+ "storage": "summary",
127
+ "output_type": "array",
128
+ "provenance_fields": [
129
+ "unit_id",
130
+ "file",
131
+ "line",
132
+ "raw_value"
133
+ ],
134
+ "deduplicate": true,
135
+ "preserve_source": true,
136
+ "external_reference": false,
137
+ "status": "approved",
138
+ "reliability": "high"
139
+ },
140
+ {
141
+ "id": "APP-006",
142
+ "name": "Target SDK Version",
143
+ "domain": "Application Identity",
144
+ "subdomain": "SDK",
145
+ "description": "Target Android API level declared.",
146
+ "source_files": [
147
+ "AndroidManifest.xml",
148
+ "apktool.yml"
149
+ ],
150
+ "extraction_type": "direct",
151
+ "method": "xml_parse",
152
+ "profile": "fast",
153
+ "storage": "summary",
154
+ "output_type": "array",
155
+ "provenance_fields": [
156
+ "unit_id",
157
+ "file",
158
+ "line",
159
+ "raw_value"
160
+ ],
161
+ "deduplicate": true,
162
+ "preserve_source": true,
163
+ "external_reference": false,
164
+ "status": "approved",
165
+ "reliability": "high"
166
+ },
167
+ {
168
+ "id": "APP-007",
169
+ "name": "Compile SDK Version",
170
+ "domain": "Application Identity",
171
+ "subdomain": "SDK",
172
+ "description": "Compile SDK version / platformBuildVersionCode if present.",
173
+ "source_files": [
174
+ "AndroidManifest.xml"
175
+ ],
176
+ "extraction_type": "direct",
177
+ "method": "xml_parse",
178
+ "profile": "fast",
179
+ "storage": "summary",
180
+ "output_type": "array",
181
+ "provenance_fields": [
182
+ "unit_id",
183
+ "file",
184
+ "line",
185
+ "raw_value"
186
+ ],
187
+ "deduplicate": true,
188
+ "preserve_source": true,
189
+ "external_reference": false,
190
+ "status": "approved",
191
+ "reliability": "high"
192
+ },
193
+ {
194
+ "id": "APP-008",
195
+ "name": "Application Class",
196
+ "domain": "Application Identity",
197
+ "subdomain": "Application",
198
+ "description": "Custom android.app.Application subclass name.",
199
+ "source_files": [
200
+ "AndroidManifest.xml"
201
+ ],
202
+ "extraction_type": "direct",
203
+ "method": "xml_parse",
204
+ "profile": "fast",
205
+ "storage": "summary",
206
+ "output_type": "array",
207
+ "provenance_fields": [
208
+ "unit_id",
209
+ "file",
210
+ "line",
211
+ "raw_value"
212
+ ],
213
+ "deduplicate": true,
214
+ "preserve_source": true,
215
+ "external_reference": false,
216
+ "status": "approved",
217
+ "reliability": "high"
218
+ },
219
+ {
220
+ "id": "APP-009",
221
+ "name": "Process Name",
222
+ "domain": "Application Identity",
223
+ "subdomain": "Application",
224
+ "description": "Application-level android:process attribute.",
225
+ "source_files": [
226
+ "AndroidManifest.xml"
227
+ ],
228
+ "extraction_type": "direct",
229
+ "method": "xml_parse",
230
+ "profile": "fast",
231
+ "storage": "summary",
232
+ "output_type": "array",
233
+ "provenance_fields": [
234
+ "unit_id",
235
+ "file",
236
+ "line",
237
+ "raw_value"
238
+ ],
239
+ "deduplicate": true,
240
+ "preserve_source": true,
241
+ "external_reference": false,
242
+ "status": "approved",
243
+ "reliability": "high"
244
+ },
245
+ {
246
+ "id": "APP-010",
247
+ "name": "Shared User ID",
248
+ "domain": "Application Identity",
249
+ "subdomain": "Application",
250
+ "description": "Manifest sharedUserId attribute.",
251
+ "source_files": [
252
+ "AndroidManifest.xml"
253
+ ],
254
+ "extraction_type": "direct",
255
+ "method": "xml_parse",
256
+ "profile": "fast",
257
+ "storage": "summary",
258
+ "output_type": "array",
259
+ "provenance_fields": [
260
+ "unit_id",
261
+ "file",
262
+ "line",
263
+ "raw_value"
264
+ ],
265
+ "deduplicate": true,
266
+ "preserve_source": true,
267
+ "external_reference": false,
268
+ "status": "approved",
269
+ "reliability": "high"
270
+ },
271
+ {
272
+ "id": "APP-011",
273
+ "name": "Shared User Label",
274
+ "domain": "Application Identity",
275
+ "subdomain": "Application",
276
+ "description": "Manifest sharedUserLabel attribute.",
277
+ "source_files": [
278
+ "AndroidManifest.xml"
279
+ ],
280
+ "extraction_type": "direct",
281
+ "method": "xml_parse",
282
+ "profile": "fast",
283
+ "storage": "summary",
284
+ "output_type": "array",
285
+ "provenance_fields": [
286
+ "unit_id",
287
+ "file",
288
+ "line",
289
+ "raw_value"
290
+ ],
291
+ "deduplicate": true,
292
+ "preserve_source": true,
293
+ "external_reference": false,
294
+ "status": "approved",
295
+ "reliability": "high"
296
+ },
297
+ {
298
+ "id": "APP-012",
299
+ "name": "Install Location",
300
+ "domain": "Application Identity",
301
+ "subdomain": "Manifest",
302
+ "description": "Manifest android:installLocation attribute.",
303
+ "source_files": [
304
+ "AndroidManifest.xml"
305
+ ],
306
+ "extraction_type": "direct",
307
+ "method": "xml_parse",
308
+ "profile": "fast",
309
+ "storage": "summary",
310
+ "output_type": "array",
311
+ "provenance_fields": [
312
+ "unit_id",
313
+ "file",
314
+ "line",
315
+ "raw_value"
316
+ ],
317
+ "deduplicate": true,
318
+ "preserve_source": true,
319
+ "external_reference": false,
320
+ "status": "approved",
321
+ "reliability": "high"
322
+ },
323
+ {
324
+ "id": "APP-013",
325
+ "name": "Debuggable Flag",
326
+ "domain": "Application Identity",
327
+ "subdomain": "Flags",
328
+ "description": "Application android:debuggable attribute.",
329
+ "source_files": [
330
+ "AndroidManifest.xml"
331
+ ],
332
+ "extraction_type": "direct",
333
+ "method": "xml_parse",
334
+ "profile": "fast",
335
+ "storage": "summary",
336
+ "output_type": "array",
337
+ "provenance_fields": [
338
+ "unit_id",
339
+ "file",
340
+ "line",
341
+ "raw_value"
342
+ ],
343
+ "deduplicate": true,
344
+ "preserve_source": true,
345
+ "external_reference": false,
346
+ "status": "approved",
347
+ "reliability": "high"
348
+ },
349
+ {
350
+ "id": "APP-014",
351
+ "name": "Allow Backup Flag",
352
+ "domain": "Application Identity",
353
+ "subdomain": "Flags",
354
+ "description": "Application android:allowBackup attribute.",
355
+ "source_files": [
356
+ "AndroidManifest.xml"
357
+ ],
358
+ "extraction_type": "direct",
359
+ "method": "xml_parse",
360
+ "profile": "fast",
361
+ "storage": "summary",
362
+ "output_type": "array",
363
+ "provenance_fields": [
364
+ "unit_id",
365
+ "file",
366
+ "line",
367
+ "raw_value"
368
+ ],
369
+ "deduplicate": true,
370
+ "preserve_source": true,
371
+ "external_reference": false,
372
+ "status": "approved",
373
+ "reliability": "high"
374
+ },
375
+ {
376
+ "id": "APP-015",
377
+ "name": "Full Backup Content",
378
+ "domain": "Application Identity",
379
+ "subdomain": "Flags",
380
+ "description": "Reference to fullBackupContent XML rule file.",
381
+ "source_files": [
382
+ "AndroidManifest.xml"
383
+ ],
384
+ "extraction_type": "direct",
385
+ "method": "xml_parse",
386
+ "profile": "fast",
387
+ "storage": "summary",
388
+ "output_type": "array",
389
+ "provenance_fields": [
390
+ "unit_id",
391
+ "file",
392
+ "line",
393
+ "raw_value"
394
+ ],
395
+ "deduplicate": true,
396
+ "preserve_source": true,
397
+ "external_reference": false,
398
+ "status": "approved",
399
+ "reliability": "high"
400
+ },
401
+ {
402
+ "id": "APP-016",
403
+ "name": "Data Extraction Rules",
404
+ "domain": "Application Identity",
405
+ "subdomain": "Flags",
406
+ "description": "Reference to Android 12+ dataExtractionRules XML.",
407
+ "source_files": [
408
+ "AndroidManifest.xml"
409
+ ],
410
+ "extraction_type": "direct",
411
+ "method": "xml_parse",
412
+ "profile": "fast",
413
+ "storage": "summary",
414
+ "output_type": "array",
415
+ "provenance_fields": [
416
+ "unit_id",
417
+ "file",
418
+ "line",
419
+ "raw_value"
420
+ ],
421
+ "deduplicate": true,
422
+ "preserve_source": true,
423
+ "external_reference": false,
424
+ "status": "approved",
425
+ "reliability": "high"
426
+ },
427
+ {
428
+ "id": "APP-017",
429
+ "name": "Uses Cleartext Traffic",
430
+ "domain": "Application Identity",
431
+ "subdomain": "Flags",
432
+ "description": "Application android:usesCleartextTraffic attribute.",
433
+ "source_files": [
434
+ "AndroidManifest.xml"
435
+ ],
436
+ "extraction_type": "direct",
437
+ "method": "xml_parse",
438
+ "profile": "fast",
439
+ "storage": "summary",
440
+ "output_type": "array",
441
+ "provenance_fields": [
442
+ "unit_id",
443
+ "file",
444
+ "line",
445
+ "raw_value"
446
+ ],
447
+ "deduplicate": true,
448
+ "preserve_source": true,
449
+ "external_reference": false,
450
+ "status": "approved",
451
+ "reliability": "high"
452
+ },
453
+ {
454
+ "id": "APP-018",
455
+ "name": "Supports RTL & Large Heap",
456
+ "domain": "Application Identity",
457
+ "subdomain": "Flags",
458
+ "description": "Application supportsRtl and largeHeap attributes.",
459
+ "source_files": [
460
+ "AndroidManifest.xml"
461
+ ],
462
+ "extraction_type": "direct",
463
+ "method": "xml_parse",
464
+ "profile": "fast",
465
+ "storage": "summary",
466
+ "output_type": "array",
467
+ "provenance_fields": [
468
+ "unit_id",
469
+ "file",
470
+ "line",
471
+ "raw_value"
472
+ ],
473
+ "deduplicate": true,
474
+ "preserve_source": true,
475
+ "external_reference": false,
476
+ "status": "approved",
477
+ "reliability": "high"
478
+ },
479
+ {
480
+ "id": "APP-019",
481
+ "name": "MultiDex Indicators",
482
+ "domain": "Application Identity",
483
+ "subdomain": "Runtime",
484
+ "description": "Multiple classes*.dex files or MultiDexApplication usage.",
485
+ "source_files": [
486
+ "APK ZIP",
487
+ "AndroidManifest.xml"
488
+ ],
489
+ "extraction_type": "direct",
490
+ "method": "zip_header",
491
+ "profile": "fast",
492
+ "storage": "summary",
493
+ "output_type": "array",
494
+ "provenance_fields": [
495
+ "unit_id",
496
+ "file",
497
+ "line",
498
+ "raw_value"
499
+ ],
500
+ "deduplicate": true,
501
+ "preserve_source": true,
502
+ "external_reference": false,
503
+ "status": "approved",
504
+ "reliability": "high"
505
+ },
506
+ {
507
+ "id": "APP-020",
508
+ "name": "Application Meta-Data",
509
+ "domain": "Application Identity",
510
+ "subdomain": "Application",
511
+ "description": "All <meta-data> name/value/resource entries under <application>.",
512
+ "source_files": [
513
+ "AndroidManifest.xml"
514
+ ],
515
+ "extraction_type": "direct",
516
+ "method": "xml_parse",
517
+ "profile": "fast",
518
+ "storage": "summary+db",
519
+ "output_type": "array",
520
+ "provenance_fields": [
521
+ "unit_id",
522
+ "file",
523
+ "line",
524
+ "raw_value"
525
+ ],
526
+ "deduplicate": true,
527
+ "preserve_source": true,
528
+ "external_reference": false,
529
+ "status": "approved",
530
+ "reliability": "high"
531
+ },
532
+ {
533
+ "id": "APP-021",
534
+ "name": "Theme & Icon References",
535
+ "domain": "Application Identity",
536
+ "subdomain": "UI",
537
+ "description": "Application android:theme, icon, and roundIcon references.",
538
+ "source_files": [
539
+ "AndroidManifest.xml"
540
+ ],
541
+ "extraction_type": "direct",
542
+ "method": "xml_parse",
543
+ "profile": "fast",
544
+ "storage": "summary",
545
+ "output_type": "array",
546
+ "provenance_fields": [
547
+ "unit_id",
548
+ "file",
549
+ "line",
550
+ "raw_value"
551
+ ],
552
+ "deduplicate": true,
553
+ "preserve_source": true,
554
+ "external_reference": false,
555
+ "status": "approved",
556
+ "reliability": "high"
557
+ },
558
+ {
559
+ "id": "APP-022",
560
+ "name": "Network Security Config Ref",
561
+ "domain": "Application Identity",
562
+ "subdomain": "Flags",
563
+ "description": "Application android:networkSecurityConfig reference.",
564
+ "source_files": [
565
+ "AndroidManifest.xml"
566
+ ],
567
+ "extraction_type": "direct",
568
+ "method": "xml_parse",
569
+ "profile": "fast",
570
+ "storage": "summary",
571
+ "output_type": "array",
572
+ "provenance_fields": [
573
+ "unit_id",
574
+ "file",
575
+ "line",
576
+ "raw_value"
577
+ ],
578
+ "deduplicate": true,
579
+ "preserve_source": true,
580
+ "external_reference": false,
581
+ "status": "approved",
582
+ "reliability": "high"
583
+ },
584
+ {
585
+ "id": "SIG-001",
586
+ "name": "Signature Certificate Files",
587
+ "domain": "Signing & Integrity",
588
+ "subdomain": "Certificates",
589
+ "description": "Certificate files under META-INF/ (.RSA, .DSA, .EC).",
590
+ "source_files": [
591
+ "APK ZIP"
592
+ ],
593
+ "extraction_type": "direct",
594
+ "method": "zip_list",
595
+ "profile": "fast",
596
+ "storage": "summary",
597
+ "output_type": "array",
598
+ "provenance_fields": [
599
+ "unit_id",
600
+ "file",
601
+ "line",
602
+ "raw_value"
603
+ ],
604
+ "deduplicate": true,
605
+ "preserve_source": true,
606
+ "external_reference": false,
607
+ "status": "approved",
608
+ "reliability": "high"
609
+ },
610
+ {
611
+ "id": "SIG-002",
612
+ "name": "Certificate Subject & Issuer",
613
+ "domain": "Signing & Integrity",
614
+ "subdomain": "Certificates",
615
+ "description": "X.509 Subject DN and Issuer DN parsed from signing cert.",
616
+ "source_files": [
617
+ "META-INF/*.RSA"
618
+ ],
619
+ "extraction_type": "direct",
620
+ "method": "cert_parse",
621
+ "profile": "fast",
622
+ "storage": "summary",
623
+ "output_type": "array",
624
+ "provenance_fields": [
625
+ "unit_id",
626
+ "file",
627
+ "line",
628
+ "raw_value"
629
+ ],
630
+ "deduplicate": true,
631
+ "preserve_source": true,
632
+ "external_reference": false,
633
+ "status": "approved",
634
+ "reliability": "high"
635
+ },
636
+ {
637
+ "id": "SIG-003",
638
+ "name": "Certificate Serial & Validity",
639
+ "domain": "Signing & Integrity",
640
+ "subdomain": "Certificates",
641
+ "description": "Serial number, NotBefore, and NotAfter timestamps.",
642
+ "source_files": [
643
+ "META-INF/*.RSA"
644
+ ],
645
+ "extraction_type": "direct",
646
+ "method": "cert_parse",
647
+ "profile": "fast",
648
+ "storage": "summary",
649
+ "output_type": "array",
650
+ "provenance_fields": [
651
+ "unit_id",
652
+ "file",
653
+ "line",
654
+ "raw_value"
655
+ ],
656
+ "deduplicate": true,
657
+ "preserve_source": true,
658
+ "external_reference": false,
659
+ "status": "approved",
660
+ "reliability": "high"
661
+ },
662
+ {
663
+ "id": "SIG-004",
664
+ "name": "Certificate Fingerprints",
665
+ "domain": "Signing & Integrity",
666
+ "subdomain": "Certificates",
667
+ "description": "SHA-256 and SHA-1 fingerprints of the signing certificate.",
668
+ "source_files": [
669
+ "META-INF/*.RSA"
670
+ ],
671
+ "extraction_type": "direct",
672
+ "method": "cert_parse",
673
+ "profile": "fast",
674
+ "storage": "summary",
675
+ "output_type": "array",
676
+ "provenance_fields": [
677
+ "unit_id",
678
+ "file",
679
+ "line",
680
+ "raw_value"
681
+ ],
682
+ "deduplicate": true,
683
+ "preserve_source": true,
684
+ "external_reference": false,
685
+ "status": "approved",
686
+ "reliability": "high"
687
+ },
688
+ {
689
+ "id": "SIG-005",
690
+ "name": "Signature Algorithm & Key Size",
691
+ "domain": "Signing & Integrity",
692
+ "subdomain": "Certificates",
693
+ "description": "Signing algorithm (e.g., SHA256withRSA) and public key size.",
694
+ "source_files": [
695
+ "META-INF/*.RSA"
696
+ ],
697
+ "extraction_type": "direct",
698
+ "method": "cert_parse",
699
+ "profile": "fast",
700
+ "storage": "summary",
701
+ "output_type": "array",
702
+ "provenance_fields": [
703
+ "unit_id",
704
+ "file",
705
+ "line",
706
+ "raw_value"
707
+ ],
708
+ "deduplicate": true,
709
+ "preserve_source": true,
710
+ "external_reference": false,
711
+ "status": "approved",
712
+ "reliability": "high"
713
+ },
714
+ {
715
+ "id": "SIG-006",
716
+ "name": "Debug / Known TestKey Indicator",
717
+ "domain": "Signing & Integrity",
718
+ "subdomain": "Certificates",
719
+ "description": "Factual match for CN=Android Debug or AOSP testkey subject.",
720
+ "source_files": [
721
+ "META-INF/*.RSA"
722
+ ],
723
+ "extraction_type": "correlated",
724
+ "method": "local_correlation",
725
+ "profile": "fast",
726
+ "storage": "summary",
727
+ "output_type": "array",
728
+ "provenance_fields": [
729
+ "unit_id",
730
+ "file",
731
+ "line",
732
+ "raw_value"
733
+ ],
734
+ "deduplicate": true,
735
+ "preserve_source": true,
736
+ "external_reference": false,
737
+ "status": "approved",
738
+ "reliability": "high"
739
+ },
740
+ {
741
+ "id": "SIG-007",
742
+ "name": "APK Signature Scheme Markers",
743
+ "domain": "Signing & Integrity",
744
+ "subdomain": "Integrity",
745
+ "description": "APK Signing Block v2/v3 magic presence and v1 JAR files.",
746
+ "source_files": [
747
+ "APK ZIP"
748
+ ],
749
+ "extraction_type": "direct",
750
+ "method": "binary_scan",
751
+ "profile": "fast",
752
+ "storage": "summary",
753
+ "output_type": "array",
754
+ "provenance_fields": [
755
+ "unit_id",
756
+ "file",
757
+ "line",
758
+ "raw_value"
759
+ ],
760
+ "deduplicate": true,
761
+ "preserve_source": true,
762
+ "external_reference": false,
763
+ "status": "approved",
764
+ "reliability": "high"
765
+ },
766
+ {
767
+ "id": "PER-001",
768
+ "name": "Requested Permissions",
769
+ "domain": "Permissions",
770
+ "subdomain": "Manifest",
771
+ "description": "All <uses-permission> declarations.",
772
+ "source_files": [
773
+ "AndroidManifest.xml"
774
+ ],
775
+ "extraction_type": "direct",
776
+ "method": "xml_parse",
777
+ "profile": "fast",
778
+ "storage": "summary+db",
779
+ "output_type": "array",
780
+ "provenance_fields": [
781
+ "unit_id",
782
+ "file",
783
+ "line",
784
+ "raw_value"
785
+ ],
786
+ "deduplicate": true,
787
+ "preserve_source": true,
788
+ "external_reference": false,
789
+ "status": "approved",
790
+ "reliability": "high"
791
+ },
792
+ {
793
+ "id": "PER-002",
794
+ "name": "Duplicate Permissions Across Units",
795
+ "domain": "Permissions",
796
+ "subdomain": "Manifest",
797
+ "description": "Permissions repeated within a manifest or across splits/embedded APKs.",
798
+ "source_files": [
799
+ "AndroidManifest.xml"
800
+ ],
801
+ "extraction_type": "correlated",
802
+ "method": "local_correlation",
803
+ "profile": "standard",
804
+ "storage": "summary",
805
+ "output_type": "array",
806
+ "provenance_fields": [
807
+ "unit_id",
808
+ "file",
809
+ "line",
810
+ "raw_value"
811
+ ],
812
+ "deduplicate": true,
813
+ "preserve_source": true,
814
+ "external_reference": false,
815
+ "status": "approved",
816
+ "reliability": "high"
817
+ },
818
+ {
819
+ "id": "PER-003",
820
+ "name": "Custom Defined Permissions",
821
+ "domain": "Permissions",
822
+ "subdomain": "Manifest",
823
+ "description": "All <permission> tags defined by the app.",
824
+ "source_files": [
825
+ "AndroidManifest.xml"
826
+ ],
827
+ "extraction_type": "direct",
828
+ "method": "xml_parse",
829
+ "profile": "fast",
830
+ "storage": "summary+db",
831
+ "output_type": "array",
832
+ "provenance_fields": [
833
+ "unit_id",
834
+ "file",
835
+ "line",
836
+ "raw_value"
837
+ ],
838
+ "deduplicate": true,
839
+ "preserve_source": true,
840
+ "external_reference": false,
841
+ "status": "approved",
842
+ "reliability": "high"
843
+ },
844
+ {
845
+ "id": "PER-004",
846
+ "name": "Custom Permission Protection Levels",
847
+ "domain": "Permissions",
848
+ "subdomain": "Manifest",
849
+ "description": "android:protectionLevel for each custom permission.",
850
+ "source_files": [
851
+ "AndroidManifest.xml"
852
+ ],
853
+ "extraction_type": "direct",
854
+ "method": "xml_parse",
855
+ "profile": "fast",
856
+ "storage": "summary",
857
+ "output_type": "array",
858
+ "provenance_fields": [
859
+ "unit_id",
860
+ "file",
861
+ "line",
862
+ "raw_value"
863
+ ],
864
+ "deduplicate": true,
865
+ "preserve_source": true,
866
+ "external_reference": false,
867
+ "status": "approved",
868
+ "reliability": "high"
869
+ },
870
+ {
871
+ "id": "PER-005",
872
+ "name": "Permission Groups & Trees",
873
+ "domain": "Permissions",
874
+ "subdomain": "Manifest",
875
+ "description": "<permission-group> and <permission-tree> declarations.",
876
+ "source_files": [
877
+ "AndroidManifest.xml"
878
+ ],
879
+ "extraction_type": "direct",
880
+ "method": "xml_parse",
881
+ "profile": "fast",
882
+ "storage": "summary",
883
+ "output_type": "array",
884
+ "provenance_fields": [
885
+ "unit_id",
886
+ "file",
887
+ "line",
888
+ "raw_value"
889
+ ],
890
+ "deduplicate": true,
891
+ "preserve_source": true,
892
+ "external_reference": false,
893
+ "status": "approved",
894
+ "reliability": "high"
895
+ },
896
+ {
897
+ "id": "PER-006",
898
+ "name": "SDK 23 Permissions",
899
+ "domain": "Permissions",
900
+ "subdomain": "Manifest",
901
+ "description": "All <uses-permission-sdk-23> declarations.",
902
+ "source_files": [
903
+ "AndroidManifest.xml"
904
+ ],
905
+ "extraction_type": "direct",
906
+ "method": "xml_parse",
907
+ "profile": "fast",
908
+ "storage": "summary",
909
+ "output_type": "array",
910
+ "provenance_fields": [
911
+ "unit_id",
912
+ "file",
913
+ "line",
914
+ "raw_value"
915
+ ],
916
+ "deduplicate": true,
917
+ "preserve_source": true,
918
+ "external_reference": false,
919
+ "status": "approved",
920
+ "reliability": "high"
921
+ },
922
+ {
923
+ "id": "PER-007",
924
+ "name": "Permission Flags & MaxSdkVersion",
925
+ "domain": "Permissions",
926
+ "subdomain": "Manifest",
927
+ "description": "usesPermissionFlags (e.g. neverForLocation) and maxSdkVersion attributes.",
928
+ "source_files": [
929
+ "AndroidManifest.xml"
930
+ ],
931
+ "extraction_type": "direct",
932
+ "method": "xml_parse",
933
+ "profile": "fast",
934
+ "storage": "summary",
935
+ "output_type": "array",
936
+ "provenance_fields": [
937
+ "unit_id",
938
+ "file",
939
+ "line",
940
+ "raw_value"
941
+ ],
942
+ "deduplicate": true,
943
+ "preserve_source": true,
944
+ "external_reference": false,
945
+ "status": "approved",
946
+ "reliability": "high"
947
+ },
948
+ {
949
+ "id": "PER-008",
950
+ "name": "Component Enforced Permissions",
951
+ "domain": "Permissions",
952
+ "subdomain": "Manifest",
953
+ "description": "android:permission attributes restricting Activities/Services/Receivers/Providers.",
954
+ "source_files": [
955
+ "AndroidManifest.xml"
956
+ ],
957
+ "extraction_type": "direct",
958
+ "method": "xml_parse",
959
+ "profile": "fast",
960
+ "storage": "summary+db",
961
+ "output_type": "array",
962
+ "provenance_fields": [
963
+ "unit_id",
964
+ "file",
965
+ "line",
966
+ "raw_value"
967
+ ],
968
+ "deduplicate": true,
969
+ "preserve_source": true,
970
+ "external_reference": false,
971
+ "status": "approved",
972
+ "reliability": "high"
973
+ },
974
+ {
975
+ "id": "PER-009",
976
+ "name": "Provider Read/Write/Grant Permissions",
977
+ "domain": "Permissions",
978
+ "subdomain": "Manifest",
979
+ "description": "readPermission, writePermission, and grantUriPermissions attributes.",
980
+ "source_files": [
981
+ "AndroidManifest.xml"
982
+ ],
983
+ "extraction_type": "direct",
984
+ "method": "xml_parse",
985
+ "profile": "fast",
986
+ "storage": "summary+db",
987
+ "output_type": "array",
988
+ "provenance_fields": [
989
+ "unit_id",
990
+ "file",
991
+ "line",
992
+ "raw_value"
993
+ ],
994
+ "deduplicate": true,
995
+ "preserve_source": true,
996
+ "external_reference": false,
997
+ "status": "approved",
998
+ "reliability": "high"
999
+ },
1000
+ {
1001
+ "id": "PER-010",
1002
+ "name": "Permission Strings in Code",
1003
+ "domain": "Permissions",
1004
+ "subdomain": "Code",
1005
+ "description": "android.permission.* or custom permission strings referenced in Java/Smali.",
1006
+ "source_files": [
1007
+ "04_Java_Src",
1008
+ "smali*"
1009
+ ],
1010
+ "extraction_type": "correlated",
1011
+ "method": "regex_scan",
1012
+ "profile": "standard",
1013
+ "storage": "summary+db",
1014
+ "output_type": "array",
1015
+ "provenance_fields": [
1016
+ "unit_id",
1017
+ "file",
1018
+ "line",
1019
+ "class",
1020
+ "method",
1021
+ "raw_value"
1022
+ ],
1023
+ "deduplicate": true,
1024
+ "preserve_source": true,
1025
+ "external_reference": false,
1026
+ "status": "approved",
1027
+ "reliability": "medium"
1028
+ },
1029
+ {
1030
+ "id": "PER-011",
1031
+ "name": "Undeclared Code Permissions",
1032
+ "domain": "Permissions",
1033
+ "subdomain": "Code",
1034
+ "description": "Permission strings found in code/resources not declared in Manifest.",
1035
+ "source_files": [
1036
+ "04_Java_Src",
1037
+ "AndroidManifest.xml"
1038
+ ],
1039
+ "extraction_type": "correlated",
1040
+ "method": "local_correlation",
1041
+ "profile": "standard",
1042
+ "storage": "summary",
1043
+ "output_type": "array",
1044
+ "provenance_fields": [
1045
+ "unit_id",
1046
+ "file",
1047
+ "line",
1048
+ "raw_value"
1049
+ ],
1050
+ "deduplicate": true,
1051
+ "preserve_source": true,
1052
+ "external_reference": false,
1053
+ "status": "approved",
1054
+ "reliability": "medium"
1055
+ },
1056
+ {
1057
+ "id": "PER-012",
1058
+ "name": "Permission References in Resources",
1059
+ "domain": "Permissions",
1060
+ "subdomain": "Resources",
1061
+ "description": "Permission string references inside XML resources.",
1062
+ "source_files": [
1063
+ "res/"
1064
+ ],
1065
+ "extraction_type": "direct",
1066
+ "method": "xml_scan",
1067
+ "profile": "standard",
1068
+ "storage": "db_only",
1069
+ "output_type": "array",
1070
+ "provenance_fields": [
1071
+ "unit_id",
1072
+ "file",
1073
+ "line",
1074
+ "raw_value"
1075
+ ],
1076
+ "deduplicate": true,
1077
+ "preserve_source": true,
1078
+ "external_reference": false,
1079
+ "status": "approved",
1080
+ "reliability": "high"
1081
+ },
1082
+ {
1083
+ "id": "ACT-001",
1084
+ "name": "All Activities",
1085
+ "domain": "Components",
1086
+ "subdomain": "Activities",
1087
+ "description": "All <activity> and <activity-alias> declarations.",
1088
+ "source_files": [
1089
+ "AndroidManifest.xml"
1090
+ ],
1091
+ "extraction_type": "direct",
1092
+ "method": "xml_parse",
1093
+ "profile": "fast",
1094
+ "storage": "summary+db",
1095
+ "output_type": "array",
1096
+ "provenance_fields": [
1097
+ "unit_id",
1098
+ "file",
1099
+ "line",
1100
+ "raw_value"
1101
+ ],
1102
+ "deduplicate": true,
1103
+ "preserve_source": true,
1104
+ "external_reference": false,
1105
+ "status": "approved",
1106
+ "reliability": "high"
1107
+ },
1108
+ {
1109
+ "id": "ACT-002",
1110
+ "name": "Activity Target & Alias Mapping",
1111
+ "domain": "Components",
1112
+ "subdomain": "Activities",
1113
+ "description": "Class names and targetActivity mappings for aliases.",
1114
+ "source_files": [
1115
+ "AndroidManifest.xml"
1116
+ ],
1117
+ "extraction_type": "direct",
1118
+ "method": "xml_parse",
1119
+ "profile": "fast",
1120
+ "storage": "summary+db",
1121
+ "output_type": "array",
1122
+ "provenance_fields": [
1123
+ "unit_id",
1124
+ "file",
1125
+ "line",
1126
+ "raw_value"
1127
+ ],
1128
+ "deduplicate": true,
1129
+ "preserve_source": true,
1130
+ "external_reference": false,
1131
+ "status": "approved",
1132
+ "reliability": "high"
1133
+ },
1134
+ {
1135
+ "id": "ACT-003",
1136
+ "name": "Main Launcher Activities",
1137
+ "domain": "Components",
1138
+ "subdomain": "Activities",
1139
+ "description": "Activities matching ACTION_MAIN + CATEGORY_LAUNCHER.",
1140
+ "source_files": [
1141
+ "AndroidManifest.xml"
1142
+ ],
1143
+ "extraction_type": "direct",
1144
+ "method": "xml_parse",
1145
+ "profile": "fast",
1146
+ "storage": "summary",
1147
+ "output_type": "array",
1148
+ "provenance_fields": [
1149
+ "unit_id",
1150
+ "file",
1151
+ "line",
1152
+ "raw_value"
1153
+ ],
1154
+ "deduplicate": true,
1155
+ "preserve_source": true,
1156
+ "external_reference": false,
1157
+ "status": "approved",
1158
+ "reliability": "high"
1159
+ },
1160
+ {
1161
+ "id": "ACT-004",
1162
+ "name": "Exported Activities",
1163
+ "domain": "Components",
1164
+ "subdomain": "Activities",
1165
+ "description": "Explicitly or implicitly exported activities.",
1166
+ "source_files": [
1167
+ "AndroidManifest.xml"
1168
+ ],
1169
+ "extraction_type": "direct",
1170
+ "method": "xml_parse",
1171
+ "profile": "fast",
1172
+ "storage": "summary+db",
1173
+ "output_type": "array",
1174
+ "provenance_fields": [
1175
+ "unit_id",
1176
+ "file",
1177
+ "line",
1178
+ "raw_value"
1179
+ ],
1180
+ "deduplicate": true,
1181
+ "preserve_source": true,
1182
+ "external_reference": false,
1183
+ "status": "approved",
1184
+ "reliability": "high"
1185
+ },
1186
+ {
1187
+ "id": "ACT-005",
1188
+ "name": "Unprotected Exported Activities",
1189
+ "domain": "Components",
1190
+ "subdomain": "Activities",
1191
+ "description": "Exported activities without an android:permission guard.",
1192
+ "source_files": [
1193
+ "AndroidManifest.xml"
1194
+ ],
1195
+ "extraction_type": "correlated",
1196
+ "method": "local_correlation",
1197
+ "profile": "fast",
1198
+ "storage": "summary+db",
1199
+ "output_type": "array",
1200
+ "provenance_fields": [
1201
+ "unit_id",
1202
+ "file",
1203
+ "line",
1204
+ "raw_value"
1205
+ ],
1206
+ "deduplicate": true,
1207
+ "preserve_source": true,
1208
+ "external_reference": false,
1209
+ "status": "approved",
1210
+ "reliability": "high"
1211
+ },
1212
+ {
1213
+ "id": "ACT-006",
1214
+ "name": "Enabled / Disabled Activities",
1215
+ "domain": "Components",
1216
+ "subdomain": "Activities",
1217
+ "description": "Activities filtered by android:enabled true/false.",
1218
+ "source_files": [
1219
+ "AndroidManifest.xml"
1220
+ ],
1221
+ "extraction_type": "direct",
1222
+ "method": "xml_parse",
1223
+ "profile": "fast",
1224
+ "storage": "summary",
1225
+ "output_type": "array",
1226
+ "provenance_fields": [
1227
+ "unit_id",
1228
+ "file",
1229
+ "line",
1230
+ "raw_value"
1231
+ ],
1232
+ "deduplicate": true,
1233
+ "preserve_source": true,
1234
+ "external_reference": false,
1235
+ "status": "approved",
1236
+ "reliability": "high"
1237
+ },
1238
+ {
1239
+ "id": "ACT-007",
1240
+ "name": "Activity Intent Filters",
1241
+ "domain": "Components",
1242
+ "subdomain": "Activities",
1243
+ "description": "Actions, categories, and data specs per activity.",
1244
+ "source_files": [
1245
+ "AndroidManifest.xml"
1246
+ ],
1247
+ "extraction_type": "direct",
1248
+ "method": "xml_parse",
1249
+ "profile": "fast",
1250
+ "storage": "summary+db",
1251
+ "output_type": "array",
1252
+ "provenance_fields": [
1253
+ "unit_id",
1254
+ "file",
1255
+ "line",
1256
+ "raw_value"
1257
+ ],
1258
+ "deduplicate": true,
1259
+ "preserve_source": true,
1260
+ "external_reference": false,
1261
+ "status": "approved",
1262
+ "reliability": "high"
1263
+ },
1264
+ {
1265
+ "id": "ACT-008",
1266
+ "name": "Activity LaunchMode & TaskAffinity",
1267
+ "domain": "Components",
1268
+ "subdomain": "Activities",
1269
+ "description": "launchMode, taskAffinity, allowTaskReparenting, and documentLaunchMode.",
1270
+ "source_files": [
1271
+ "AndroidManifest.xml"
1272
+ ],
1273
+ "extraction_type": "direct",
1274
+ "method": "xml_parse",
1275
+ "profile": "fast",
1276
+ "storage": "summary+db",
1277
+ "output_type": "array",
1278
+ "provenance_fields": [
1279
+ "unit_id",
1280
+ "file",
1281
+ "line",
1282
+ "raw_value"
1283
+ ],
1284
+ "deduplicate": true,
1285
+ "preserve_source": true,
1286
+ "external_reference": false,
1287
+ "status": "approved",
1288
+ "reliability": "high"
1289
+ },
1290
+ {
1291
+ "id": "ACT-009",
1292
+ "name": "Activity UI & Config Attributes",
1293
+ "domain": "Components",
1294
+ "subdomain": "Activities",
1295
+ "description": "theme, configChanges, parentActivityName, and screenOrientation.",
1296
+ "source_files": [
1297
+ "AndroidManifest.xml"
1298
+ ],
1299
+ "extraction_type": "direct",
1300
+ "method": "xml_parse",
1301
+ "profile": "fast",
1302
+ "storage": "db_only",
1303
+ "output_type": "array",
1304
+ "provenance_fields": [
1305
+ "unit_id",
1306
+ "file",
1307
+ "line",
1308
+ "raw_value"
1309
+ ],
1310
+ "deduplicate": true,
1311
+ "preserve_source": true,
1312
+ "external_reference": false,
1313
+ "status": "approved",
1314
+ "reliability": "high"
1315
+ },
1316
+ {
1317
+ "id": "ACT-010",
1318
+ "name": "Activity Required Permissions",
1319
+ "domain": "Components",
1320
+ "subdomain": "Activities",
1321
+ "description": "android:permission guarding each activity.",
1322
+ "source_files": [
1323
+ "AndroidManifest.xml"
1324
+ ],
1325
+ "extraction_type": "direct",
1326
+ "method": "xml_parse",
1327
+ "profile": "fast",
1328
+ "storage": "summary",
1329
+ "output_type": "array",
1330
+ "provenance_fields": [
1331
+ "unit_id",
1332
+ "file",
1333
+ "line",
1334
+ "raw_value"
1335
+ ],
1336
+ "deduplicate": true,
1337
+ "preserve_source": true,
1338
+ "external_reference": false,
1339
+ "status": "approved",
1340
+ "reliability": "high"
1341
+ },
1342
+ {
1343
+ "id": "SRV-001",
1344
+ "name": "All Services",
1345
+ "domain": "Components",
1346
+ "subdomain": "Services",
1347
+ "description": "All <service> declarations and class names.",
1348
+ "source_files": [
1349
+ "AndroidManifest.xml"
1350
+ ],
1351
+ "extraction_type": "direct",
1352
+ "method": "xml_parse",
1353
+ "profile": "fast",
1354
+ "storage": "summary+db",
1355
+ "output_type": "array",
1356
+ "provenance_fields": [
1357
+ "unit_id",
1358
+ "file",
1359
+ "line",
1360
+ "raw_value"
1361
+ ],
1362
+ "deduplicate": true,
1363
+ "preserve_source": true,
1364
+ "external_reference": false,
1365
+ "status": "approved",
1366
+ "reliability": "high"
1367
+ },
1368
+ {
1369
+ "id": "SRV-002",
1370
+ "name": "Exported & Unprotected Services",
1371
+ "domain": "Components",
1372
+ "subdomain": "Services",
1373
+ "description": "Exported services and whether permission-guarded.",
1374
+ "source_files": [
1375
+ "AndroidManifest.xml"
1376
+ ],
1377
+ "extraction_type": "correlated",
1378
+ "method": "local_correlation",
1379
+ "profile": "fast",
1380
+ "storage": "summary+db",
1381
+ "output_type": "array",
1382
+ "provenance_fields": [
1383
+ "unit_id",
1384
+ "file",
1385
+ "line",
1386
+ "raw_value"
1387
+ ],
1388
+ "deduplicate": true,
1389
+ "preserve_source": true,
1390
+ "external_reference": false,
1391
+ "status": "approved",
1392
+ "reliability": "high"
1393
+ },
1394
+ {
1395
+ "id": "SRV-003",
1396
+ "name": "Enabled / Disabled Services",
1397
+ "domain": "Components",
1398
+ "subdomain": "Services",
1399
+ "description": "Services android:enabled state.",
1400
+ "source_files": [
1401
+ "AndroidManifest.xml"
1402
+ ],
1403
+ "extraction_type": "direct",
1404
+ "method": "xml_parse",
1405
+ "profile": "fast",
1406
+ "storage": "summary",
1407
+ "output_type": "array",
1408
+ "provenance_fields": [
1409
+ "unit_id",
1410
+ "file",
1411
+ "line",
1412
+ "raw_value"
1413
+ ],
1414
+ "deduplicate": true,
1415
+ "preserve_source": true,
1416
+ "external_reference": false,
1417
+ "status": "approved",
1418
+ "reliability": "high"
1419
+ },
1420
+ {
1421
+ "id": "SRV-004",
1422
+ "name": "Service Intent Filters & Actions",
1423
+ "domain": "Components",
1424
+ "subdomain": "Services",
1425
+ "description": "Intent-filters and actions declared on services.",
1426
+ "source_files": [
1427
+ "AndroidManifest.xml"
1428
+ ],
1429
+ "extraction_type": "direct",
1430
+ "method": "xml_parse",
1431
+ "profile": "fast",
1432
+ "storage": "summary+db",
1433
+ "output_type": "array",
1434
+ "provenance_fields": [
1435
+ "unit_id",
1436
+ "file",
1437
+ "line",
1438
+ "raw_value"
1439
+ ],
1440
+ "deduplicate": true,
1441
+ "preserve_source": true,
1442
+ "external_reference": false,
1443
+ "status": "approved",
1444
+ "reliability": "high"
1445
+ },
1446
+ {
1447
+ "id": "SRV-005",
1448
+ "name": "Service Permissions",
1449
+ "domain": "Components",
1450
+ "subdomain": "Services",
1451
+ "description": "android:permission attributes on services.",
1452
+ "source_files": [
1453
+ "AndroidManifest.xml"
1454
+ ],
1455
+ "extraction_type": "direct",
1456
+ "method": "xml_parse",
1457
+ "profile": "fast",
1458
+ "storage": "summary",
1459
+ "output_type": "array",
1460
+ "provenance_fields": [
1461
+ "unit_id",
1462
+ "file",
1463
+ "line",
1464
+ "raw_value"
1465
+ ],
1466
+ "deduplicate": true,
1467
+ "preserve_source": true,
1468
+ "external_reference": false,
1469
+ "status": "approved",
1470
+ "reliability": "high"
1471
+ },
1472
+ {
1473
+ "id": "SRV-006",
1474
+ "name": "Foreground Service Types",
1475
+ "domain": "Components",
1476
+ "subdomain": "Services",
1477
+ "description": "android:foregroundServiceType declarations.",
1478
+ "source_files": [
1479
+ "AndroidManifest.xml"
1480
+ ],
1481
+ "extraction_type": "direct",
1482
+ "method": "xml_parse",
1483
+ "profile": "fast",
1484
+ "storage": "summary",
1485
+ "output_type": "array",
1486
+ "provenance_fields": [
1487
+ "unit_id",
1488
+ "file",
1489
+ "line",
1490
+ "raw_value"
1491
+ ],
1492
+ "deduplicate": true,
1493
+ "preserve_source": true,
1494
+ "external_reference": false,
1495
+ "status": "approved",
1496
+ "reliability": "high"
1497
+ },
1498
+ {
1499
+ "id": "SRV-007",
1500
+ "name": "Isolated & Process Attributes",
1501
+ "domain": "Components",
1502
+ "subdomain": "Services",
1503
+ "description": "isolatedProcess, useAppZygote, and process names.",
1504
+ "source_files": [
1505
+ "AndroidManifest.xml"
1506
+ ],
1507
+ "extraction_type": "direct",
1508
+ "method": "xml_parse",
1509
+ "profile": "fast",
1510
+ "storage": "summary",
1511
+ "output_type": "array",
1512
+ "provenance_fields": [
1513
+ "unit_id",
1514
+ "file",
1515
+ "line",
1516
+ "raw_value"
1517
+ ],
1518
+ "deduplicate": true,
1519
+ "preserve_source": true,
1520
+ "external_reference": false,
1521
+ "status": "approved",
1522
+ "reliability": "high"
1523
+ },
1524
+ {
1525
+ "id": "SRV-008",
1526
+ "name": "Service Meta-Data",
1527
+ "domain": "Components",
1528
+ "subdomain": "Services",
1529
+ "description": "<meta-data> entries under each service.",
1530
+ "source_files": [
1531
+ "AndroidManifest.xml"
1532
+ ],
1533
+ "extraction_type": "direct",
1534
+ "method": "xml_parse",
1535
+ "profile": "fast",
1536
+ "storage": "db_only",
1537
+ "output_type": "array",
1538
+ "provenance_fields": [
1539
+ "unit_id",
1540
+ "file",
1541
+ "line",
1542
+ "raw_value"
1543
+ ],
1544
+ "deduplicate": true,
1545
+ "preserve_source": true,
1546
+ "external_reference": false,
1547
+ "status": "approved",
1548
+ "reliability": "high"
1549
+ },
1550
+ {
1551
+ "id": "REC-001",
1552
+ "name": "All Broadcast Receivers",
1553
+ "domain": "Components",
1554
+ "subdomain": "Receivers",
1555
+ "description": "All <receiver> declarations and class names.",
1556
+ "source_files": [
1557
+ "AndroidManifest.xml"
1558
+ ],
1559
+ "extraction_type": "direct",
1560
+ "method": "xml_parse",
1561
+ "profile": "fast",
1562
+ "storage": "summary+db",
1563
+ "output_type": "array",
1564
+ "provenance_fields": [
1565
+ "unit_id",
1566
+ "file",
1567
+ "line",
1568
+ "raw_value"
1569
+ ],
1570
+ "deduplicate": true,
1571
+ "preserve_source": true,
1572
+ "external_reference": false,
1573
+ "status": "approved",
1574
+ "reliability": "high"
1575
+ },
1576
+ {
1577
+ "id": "REC-002",
1578
+ "name": "Exported & Unprotected Receivers",
1579
+ "domain": "Components",
1580
+ "subdomain": "Receivers",
1581
+ "description": "Exported receivers and permission guard status.",
1582
+ "source_files": [
1583
+ "AndroidManifest.xml"
1584
+ ],
1585
+ "extraction_type": "correlated",
1586
+ "method": "local_correlation",
1587
+ "profile": "fast",
1588
+ "storage": "summary+db",
1589
+ "output_type": "array",
1590
+ "provenance_fields": [
1591
+ "unit_id",
1592
+ "file",
1593
+ "line",
1594
+ "raw_value"
1595
+ ],
1596
+ "deduplicate": true,
1597
+ "preserve_source": true,
1598
+ "external_reference": false,
1599
+ "status": "approved",
1600
+ "reliability": "high"
1601
+ },
1602
+ {
1603
+ "id": "REC-003",
1604
+ "name": "Enabled / Disabled Receivers",
1605
+ "domain": "Components",
1606
+ "subdomain": "Receivers",
1607
+ "description": "Receivers android:enabled state.",
1608
+ "source_files": [
1609
+ "AndroidManifest.xml"
1610
+ ],
1611
+ "extraction_type": "direct",
1612
+ "method": "xml_parse",
1613
+ "profile": "fast",
1614
+ "storage": "summary",
1615
+ "output_type": "array",
1616
+ "provenance_fields": [
1617
+ "unit_id",
1618
+ "file",
1619
+ "line",
1620
+ "raw_value"
1621
+ ],
1622
+ "deduplicate": true,
1623
+ "preserve_source": true,
1624
+ "external_reference": false,
1625
+ "status": "approved",
1626
+ "reliability": "high"
1627
+ },
1628
+ {
1629
+ "id": "REC-004",
1630
+ "name": "Receiver Intent Filters & Actions",
1631
+ "domain": "Components",
1632
+ "subdomain": "Receivers",
1633
+ "description": "Intent-filters, actions, categories, and schemes.",
1634
+ "source_files": [
1635
+ "AndroidManifest.xml"
1636
+ ],
1637
+ "extraction_type": "direct",
1638
+ "method": "xml_parse",
1639
+ "profile": "fast",
1640
+ "storage": "summary+db",
1641
+ "output_type": "array",
1642
+ "provenance_fields": [
1643
+ "unit_id",
1644
+ "file",
1645
+ "line",
1646
+ "raw_value"
1647
+ ],
1648
+ "deduplicate": true,
1649
+ "preserve_source": true,
1650
+ "external_reference": false,
1651
+ "status": "approved",
1652
+ "reliability": "high"
1653
+ },
1654
+ {
1655
+ "id": "REC-005",
1656
+ "name": "Receiver Permissions & Meta-Data",
1657
+ "domain": "Components",
1658
+ "subdomain": "Receivers",
1659
+ "description": "android:permission and <meta-data> entries.",
1660
+ "source_files": [
1661
+ "AndroidManifest.xml"
1662
+ ],
1663
+ "extraction_type": "direct",
1664
+ "method": "xml_parse",
1665
+ "profile": "fast",
1666
+ "storage": "db_only",
1667
+ "output_type": "array",
1668
+ "provenance_fields": [
1669
+ "unit_id",
1670
+ "file",
1671
+ "line",
1672
+ "raw_value"
1673
+ ],
1674
+ "deduplicate": true,
1675
+ "preserve_source": true,
1676
+ "external_reference": false,
1677
+ "status": "approved",
1678
+ "reliability": "high"
1679
+ },
1680
+ {
1681
+ "id": "PRO-001",
1682
+ "name": "All Content Providers",
1683
+ "domain": "Components",
1684
+ "subdomain": "Providers",
1685
+ "description": "All <provider> declarations and class names.",
1686
+ "source_files": [
1687
+ "AndroidManifest.xml"
1688
+ ],
1689
+ "extraction_type": "direct",
1690
+ "method": "xml_parse",
1691
+ "profile": "fast",
1692
+ "storage": "summary+db",
1693
+ "output_type": "array",
1694
+ "provenance_fields": [
1695
+ "unit_id",
1696
+ "file",
1697
+ "line",
1698
+ "raw_value"
1699
+ ],
1700
+ "deduplicate": true,
1701
+ "preserve_source": true,
1702
+ "external_reference": false,
1703
+ "status": "approved",
1704
+ "reliability": "high"
1705
+ },
1706
+ {
1707
+ "id": "PRO-002",
1708
+ "name": "Provider Authorities",
1709
+ "domain": "Components",
1710
+ "subdomain": "Providers",
1711
+ "description": "android:authorities strings.",
1712
+ "source_files": [
1713
+ "AndroidManifest.xml"
1714
+ ],
1715
+ "extraction_type": "direct",
1716
+ "method": "xml_parse",
1717
+ "profile": "fast",
1718
+ "storage": "summary+db",
1719
+ "output_type": "array",
1720
+ "provenance_fields": [
1721
+ "unit_id",
1722
+ "file",
1723
+ "line",
1724
+ "raw_value"
1725
+ ],
1726
+ "deduplicate": true,
1727
+ "preserve_source": true,
1728
+ "external_reference": false,
1729
+ "status": "approved",
1730
+ "reliability": "high"
1731
+ },
1732
+ {
1733
+ "id": "PRO-003",
1734
+ "name": "Exported & Unprotected Providers",
1735
+ "domain": "Components",
1736
+ "subdomain": "Providers",
1737
+ "description": "Exported providers and permission status.",
1738
+ "source_files": [
1739
+ "AndroidManifest.xml"
1740
+ ],
1741
+ "extraction_type": "correlated",
1742
+ "method": "local_correlation",
1743
+ "profile": "fast",
1744
+ "storage": "summary+db",
1745
+ "output_type": "array",
1746
+ "provenance_fields": [
1747
+ "unit_id",
1748
+ "file",
1749
+ "line",
1750
+ "raw_value"
1751
+ ],
1752
+ "deduplicate": true,
1753
+ "preserve_source": true,
1754
+ "external_reference": false,
1755
+ "status": "approved",
1756
+ "reliability": "high"
1757
+ },
1758
+ {
1759
+ "id": "PRO-004",
1760
+ "name": "Enabled / Disabled Providers",
1761
+ "domain": "Components",
1762
+ "subdomain": "Providers",
1763
+ "description": "Providers android:enabled and initOrder attributes.",
1764
+ "source_files": [
1765
+ "AndroidManifest.xml"
1766
+ ],
1767
+ "extraction_type": "direct",
1768
+ "method": "xml_parse",
1769
+ "profile": "fast",
1770
+ "storage": "summary",
1771
+ "output_type": "array",
1772
+ "provenance_fields": [
1773
+ "unit_id",
1774
+ "file",
1775
+ "line",
1776
+ "raw_value"
1777
+ ],
1778
+ "deduplicate": true,
1779
+ "preserve_source": true,
1780
+ "external_reference": false,
1781
+ "status": "approved",
1782
+ "reliability": "high"
1783
+ },
1784
+ {
1785
+ "id": "PRO-005",
1786
+ "name": "Provider Permission Matrix",
1787
+ "domain": "Components",
1788
+ "subdomain": "Providers",
1789
+ "description": "permission, readPermission, writePermission, grantUriPermissions.",
1790
+ "source_files": [
1791
+ "AndroidManifest.xml"
1792
+ ],
1793
+ "extraction_type": "direct",
1794
+ "method": "xml_parse",
1795
+ "profile": "fast",
1796
+ "storage": "summary+db",
1797
+ "output_type": "array",
1798
+ "provenance_fields": [
1799
+ "unit_id",
1800
+ "file",
1801
+ "line",
1802
+ "raw_value"
1803
+ ],
1804
+ "deduplicate": true,
1805
+ "preserve_source": true,
1806
+ "external_reference": false,
1807
+ "status": "approved",
1808
+ "reliability": "high"
1809
+ },
1810
+ {
1811
+ "id": "PRO-006",
1812
+ "name": "Provider URI Path Permissions",
1813
+ "domain": "Components",
1814
+ "subdomain": "Providers",
1815
+ "description": "<path-permission> and <grant-uri-permission> patterns.",
1816
+ "source_files": [
1817
+ "AndroidManifest.xml"
1818
+ ],
1819
+ "extraction_type": "direct",
1820
+ "method": "xml_parse",
1821
+ "profile": "fast",
1822
+ "storage": "summary+db",
1823
+ "output_type": "array",
1824
+ "provenance_fields": [
1825
+ "unit_id",
1826
+ "file",
1827
+ "line",
1828
+ "raw_value"
1829
+ ],
1830
+ "deduplicate": true,
1831
+ "preserve_source": true,
1832
+ "external_reference": false,
1833
+ "status": "approved",
1834
+ "reliability": "high"
1835
+ },
1836
+ {
1837
+ "id": "PRO-007",
1838
+ "name": "Provider Meta-Data & FileProvider Paths",
1839
+ "domain": "Components",
1840
+ "subdomain": "Providers",
1841
+ "description": "Provider <meta-data> and linked res/xml FileProvider paths.",
1842
+ "source_files": [
1843
+ "AndroidManifest.xml",
1844
+ "res/xml/*.xml"
1845
+ ],
1846
+ "extraction_type": "correlated",
1847
+ "method": "local_correlation",
1848
+ "profile": "fast",
1849
+ "storage": "summary+db",
1850
+ "output_type": "array",
1851
+ "provenance_fields": [
1852
+ "unit_id",
1853
+ "file",
1854
+ "line",
1855
+ "raw_value"
1856
+ ],
1857
+ "deduplicate": true,
1858
+ "preserve_source": true,
1859
+ "external_reference": false,
1860
+ "status": "approved",
1861
+ "reliability": "high"
1862
+ },
1863
+ {
1864
+ "id": "INT-001",
1865
+ "name": "Manifest Intent Actions & Categories",
1866
+ "domain": "Intents & Deep Links",
1867
+ "subdomain": "Manifest",
1868
+ "description": "Unique actions and categories across all manifest components.",
1869
+ "source_files": [
1870
+ "AndroidManifest.xml"
1871
+ ],
1872
+ "extraction_type": "direct",
1873
+ "method": "xml_parse",
1874
+ "profile": "fast",
1875
+ "storage": "summary+db",
1876
+ "output_type": "array",
1877
+ "provenance_fields": [
1878
+ "unit_id",
1879
+ "file",
1880
+ "line",
1881
+ "raw_value"
1882
+ ],
1883
+ "deduplicate": true,
1884
+ "preserve_source": true,
1885
+ "external_reference": false,
1886
+ "status": "approved",
1887
+ "reliability": "high"
1888
+ },
1889
+ {
1890
+ "id": "INT-002",
1891
+ "name": "Custom URL Schemes",
1892
+ "domain": "Intents & Deep Links",
1893
+ "subdomain": "Deep Links",
1894
+ "description": "Non-http/https schemes declared in <data android:scheme>.",
1895
+ "source_files": [
1896
+ "AndroidManifest.xml"
1897
+ ],
1898
+ "extraction_type": "direct",
1899
+ "method": "xml_parse",
1900
+ "profile": "fast",
1901
+ "storage": "summary+db",
1902
+ "output_type": "array",
1903
+ "provenance_fields": [
1904
+ "unit_id",
1905
+ "file",
1906
+ "line",
1907
+ "raw_value"
1908
+ ],
1909
+ "deduplicate": true,
1910
+ "preserve_source": true,
1911
+ "external_reference": false,
1912
+ "status": "approved",
1913
+ "reliability": "high"
1914
+ },
1915
+ {
1916
+ "id": "INT-003",
1917
+ "name": "Deep Link Hosts, Ports & Paths",
1918
+ "domain": "Intents & Deep Links",
1919
+ "subdomain": "Deep Links",
1920
+ "description": "scheme/host/port/path/pathPrefix/pathPattern/mimeType tuples.",
1921
+ "source_files": [
1922
+ "AndroidManifest.xml"
1923
+ ],
1924
+ "extraction_type": "direct",
1925
+ "method": "xml_parse",
1926
+ "profile": "fast",
1927
+ "storage": "summary+db",
1928
+ "output_type": "array",
1929
+ "provenance_fields": [
1930
+ "unit_id",
1931
+ "file",
1932
+ "line",
1933
+ "raw_value"
1934
+ ],
1935
+ "deduplicate": true,
1936
+ "preserve_source": true,
1937
+ "external_reference": false,
1938
+ "status": "approved",
1939
+ "reliability": "high"
1940
+ },
1941
+ {
1942
+ "id": "INT-004",
1943
+ "name": "App Links & AutoVerify Domains",
1944
+ "domain": "Intents & Deep Links",
1945
+ "subdomain": "App Links",
1946
+ "description": "HTTP/HTTPS intent-filters with android:autoVerify=true.",
1947
+ "source_files": [
1948
+ "AndroidManifest.xml"
1949
+ ],
1950
+ "extraction_type": "direct",
1951
+ "method": "xml_parse",
1952
+ "profile": "fast",
1953
+ "storage": "summary",
1954
+ "output_type": "array",
1955
+ "provenance_fields": [
1956
+ "unit_id",
1957
+ "file",
1958
+ "line",
1959
+ "raw_value"
1960
+ ],
1961
+ "deduplicate": true,
1962
+ "preserve_source": true,
1963
+ "external_reference": false,
1964
+ "status": "approved",
1965
+ "reliability": "high"
1966
+ },
1967
+ {
1968
+ "id": "INT-005",
1969
+ "name": "Intent Calls in Java/Smali",
1970
+ "domain": "Intents & Deep Links",
1971
+ "subdomain": "Code",
1972
+ "description": "Explicit/implicit Intent constructions and setAction/setComponent calls.",
1973
+ "source_files": [
1974
+ "04_Java_Src",
1975
+ "smali*"
1976
+ ],
1977
+ "extraction_type": "correlated",
1978
+ "method": "regex_scan",
1979
+ "profile": "standard",
1980
+ "storage": "db_only",
1981
+ "output_type": "array",
1982
+ "provenance_fields": [
1983
+ "unit_id",
1984
+ "file",
1985
+ "line",
1986
+ "class",
1987
+ "method",
1988
+ "raw_value"
1989
+ ],
1990
+ "deduplicate": true,
1991
+ "preserve_source": true,
1992
+ "external_reference": false,
1993
+ "status": "approved",
1994
+ "reliability": "medium"
1995
+ },
1996
+ {
1997
+ "id": "INT-006",
1998
+ "name": "Intent Extra Keys",
1999
+ "domain": "Intents & Deep Links",
2000
+ "subdomain": "Code",
2001
+ "description": "Keys passed to putExtra/get*Extra calls.",
2002
+ "source_files": [
2003
+ "04_Java_Src"
2004
+ ],
2005
+ "extraction_type": "correlated",
2006
+ "method": "regex_scan",
2007
+ "profile": "deep",
2008
+ "storage": "db_only",
2009
+ "output_type": "array",
2010
+ "provenance_fields": [
2011
+ "unit_id",
2012
+ "file",
2013
+ "line",
2014
+ "class",
2015
+ "method",
2016
+ "raw_value"
2017
+ ],
2018
+ "deduplicate": true,
2019
+ "preserve_source": true,
2020
+ "external_reference": false,
2021
+ "status": "approved",
2022
+ "reliability": "medium"
2023
+ },
2024
+ {
2025
+ "id": "INT-007",
2026
+ "name": "PendingIntent Usages",
2027
+ "domain": "Intents & Deep Links",
2028
+ "subdomain": "Code",
2029
+ "description": "PendingIntent.getActivity/getService/getBroadcast/getForegroundService calls.",
2030
+ "source_files": [
2031
+ "04_Java_Src",
2032
+ "smali*"
2033
+ ],
2034
+ "extraction_type": "correlated",
2035
+ "method": "regex_scan",
2036
+ "profile": "standard",
2037
+ "storage": "summary+db",
2038
+ "output_type": "array",
2039
+ "provenance_fields": [
2040
+ "unit_id",
2041
+ "file",
2042
+ "line",
2043
+ "class",
2044
+ "method",
2045
+ "raw_value"
2046
+ ],
2047
+ "deduplicate": true,
2048
+ "preserve_source": true,
2049
+ "external_reference": false,
2050
+ "status": "approved",
2051
+ "reliability": "medium"
2052
+ },
2053
+ {
2054
+ "id": "URL-001",
2055
+ "name": "HTTP / HTTPS URLs",
2056
+ "domain": "Network & URLs",
2057
+ "subdomain": "URLs",
2058
+ "description": "All http:// and https:// URLs tagged by source layer (java/smali/native/assets/res/framework).",
2059
+ "source_files": [
2060
+ "04_Java_Src",
2061
+ "smali*",
2062
+ "assets",
2063
+ "res",
2064
+ "06_Native_Libs",
2065
+ "05_Frameworks"
2066
+ ],
2067
+ "extraction_type": "direct",
2068
+ "method": "regex_scan",
2069
+ "profile": "standard",
2070
+ "storage": "summary+db",
2071
+ "output_type": "array",
2072
+ "provenance_fields": [
2073
+ "unit_id",
2074
+ "layer",
2075
+ "file",
2076
+ "line",
2077
+ "raw_value"
2078
+ ],
2079
+ "deduplicate": true,
2080
+ "preserve_source": true,
2081
+ "external_reference": false,
2082
+ "status": "approved",
2083
+ "reliability": "medium"
2084
+ },
2085
+ {
2086
+ "id": "URL-002",
2087
+ "name": "WebSocket URLs (ws/wss)",
2088
+ "domain": "Network & URLs",
2089
+ "subdomain": "URLs",
2090
+ "description": "All ws:// and wss:// URLs across all layers.",
2091
+ "source_files": [
2092
+ "all_text_and_strings"
2093
+ ],
2094
+ "extraction_type": "direct",
2095
+ "method": "regex_scan",
2096
+ "profile": "standard",
2097
+ "storage": "summary+db",
2098
+ "output_type": "array",
2099
+ "provenance_fields": [
2100
+ "unit_id",
2101
+ "file",
2102
+ "line",
2103
+ "raw_value"
2104
+ ],
2105
+ "deduplicate": true,
2106
+ "preserve_source": true,
2107
+ "external_reference": false,
2108
+ "status": "approved",
2109
+ "reliability": "medium"
2110
+ },
2111
+ {
2112
+ "id": "URL-003",
2113
+ "name": "FTP & Other Standard URLs",
2114
+ "domain": "Network & URLs",
2115
+ "subdomain": "URLs",
2116
+ "description": "ftp://, rtsp://, rtmp://, file://, content:// URIs.",
2117
+ "source_files": [
2118
+ "all_text_and_strings"
2119
+ ],
2120
+ "extraction_type": "direct",
2121
+ "method": "regex_scan",
2122
+ "profile": "standard",
2123
+ "storage": "summary+db",
2124
+ "output_type": "array",
2125
+ "provenance_fields": [
2126
+ "unit_id",
2127
+ "file",
2128
+ "line",
2129
+ "raw_value"
2130
+ ],
2131
+ "deduplicate": true,
2132
+ "preserve_source": true,
2133
+ "external_reference": false,
2134
+ "status": "approved",
2135
+ "reliability": "medium"
2136
+ },
2137
+ {
2138
+ "id": "URL-004",
2139
+ "name": "Custom Scheme URIs in Code/Assets",
2140
+ "domain": "Network & URLs",
2141
+ "subdomain": "URLs",
2142
+ "description": "Non-standard scheme:// URIs discovered in code or configs.",
2143
+ "source_files": [
2144
+ "all_text_and_strings"
2145
+ ],
2146
+ "extraction_type": "direct",
2147
+ "method": "regex_scan",
2148
+ "profile": "standard",
2149
+ "storage": "db_only",
2150
+ "output_type": "array",
2151
+ "provenance_fields": [
2152
+ "unit_id",
2153
+ "file",
2154
+ "line",
2155
+ "raw_value"
2156
+ ],
2157
+ "deduplicate": true,
2158
+ "preserve_source": true,
2159
+ "external_reference": false,
2160
+ "status": "approved",
2161
+ "reliability": "medium"
2162
+ },
2163
+ {
2164
+ "id": "NET-001",
2165
+ "name": "Domains & Subdomains",
2166
+ "domain": "Network & URLs",
2167
+ "subdomain": "Hosts",
2168
+ "description": "Unique hostnames and domains extracted from URLs and host strings.",
2169
+ "source_files": [
2170
+ "URLs",
2171
+ "all_text_and_strings"
2172
+ ],
2173
+ "extraction_type": "correlated",
2174
+ "method": "local_correlation",
2175
+ "profile": "standard",
2176
+ "storage": "summary+db",
2177
+ "output_type": "array",
2178
+ "provenance_fields": [
2179
+ "unit_id",
2180
+ "file",
2181
+ "line",
2182
+ "raw_value"
2183
+ ],
2184
+ "deduplicate": true,
2185
+ "preserve_source": true,
2186
+ "external_reference": false,
2187
+ "status": "approved",
2188
+ "reliability": "medium"
2189
+ },
2190
+ {
2191
+ "id": "NET-002",
2192
+ "name": "IPv4 Addresses & IP:Port",
2193
+ "domain": "Network & URLs",
2194
+ "subdomain": "Hosts",
2195
+ "description": "IPv4 addresses and IP:Port endpoints found across layers.",
2196
+ "source_files": [
2197
+ "all_text_and_strings"
2198
+ ],
2199
+ "extraction_type": "direct",
2200
+ "method": "regex_scan",
2201
+ "profile": "standard",
2202
+ "storage": "summary+db",
2203
+ "output_type": "array",
2204
+ "provenance_fields": [
2205
+ "unit_id",
2206
+ "file",
2207
+ "line",
2208
+ "raw_value"
2209
+ ],
2210
+ "deduplicate": true,
2211
+ "preserve_source": true,
2212
+ "external_reference": false,
2213
+ "status": "approved",
2214
+ "reliability": "medium"
2215
+ },
2216
+ {
2217
+ "id": "NET-003",
2218
+ "name": "IPv6 Addresses",
2219
+ "domain": "Network & URLs",
2220
+ "subdomain": "Hosts",
2221
+ "description": "IPv6 literal addresses found in configs/code.",
2222
+ "source_files": [
2223
+ "all_text_and_strings"
2224
+ ],
2225
+ "extraction_type": "direct",
2226
+ "method": "regex_scan",
2227
+ "profile": "deep",
2228
+ "storage": "db_only",
2229
+ "output_type": "array",
2230
+ "provenance_fields": [
2231
+ "unit_id",
2232
+ "file",
2233
+ "line",
2234
+ "raw_value"
2235
+ ],
2236
+ "deduplicate": true,
2237
+ "preserve_source": true,
2238
+ "external_reference": false,
2239
+ "status": "approved",
2240
+ "reliability": "medium"
2241
+ },
2242
+ {
2243
+ "id": "NET-004",
2244
+ "name": "Email Addresses",
2245
+ "domain": "Network & URLs",
2246
+ "subdomain": "Identifiers",
2247
+ "description": "Email strings extracted from code, manifest, configs, and native libs.",
2248
+ "source_files": [
2249
+ "all_text_and_strings"
2250
+ ],
2251
+ "extraction_type": "direct",
2252
+ "method": "regex_scan",
2253
+ "profile": "standard",
2254
+ "storage": "summary+db",
2255
+ "output_type": "array",
2256
+ "provenance_fields": [
2257
+ "unit_id",
2258
+ "file",
2259
+ "line",
2260
+ "raw_value"
2261
+ ],
2262
+ "deduplicate": true,
2263
+ "preserve_source": true,
2264
+ "external_reference": false,
2265
+ "status": "approved",
2266
+ "reliability": "medium"
2267
+ },
2268
+ {
2269
+ "id": "NAPI-001",
2270
+ "name": "HTTP Client Libraries & Usage",
2271
+ "domain": "Network & URLs",
2272
+ "subdomain": "Network APIs",
2273
+ "description": "References to OkHttp, Retrofit, Volley, HttpURLConnection, Ktor, Cronet.",
2274
+ "source_files": [
2275
+ "04_Java_Src",
2276
+ "smali*"
2277
+ ],
2278
+ "extraction_type": "correlated",
2279
+ "method": "regex_scan",
2280
+ "profile": "standard",
2281
+ "storage": "summary+db",
2282
+ "output_type": "array",
2283
+ "provenance_fields": [
2284
+ "unit_id",
2285
+ "file",
2286
+ "line",
2287
+ "raw_value"
2288
+ ],
2289
+ "deduplicate": true,
2290
+ "preserve_source": true,
2291
+ "external_reference": false,
2292
+ "status": "approved",
2293
+ "reliability": "medium"
2294
+ },
2295
+ {
2296
+ "id": "NAPI-002",
2297
+ "name": "WebSocket & Raw Socket APIs",
2298
+ "domain": "Network & URLs",
2299
+ "subdomain": "Network APIs",
2300
+ "description": "References to java.net.Socket, ServerSocket, DatagramSocket, WebSocket.",
2301
+ "source_files": [
2302
+ "04_Java_Src"
2303
+ ],
2304
+ "extraction_type": "correlated",
2305
+ "method": "regex_scan",
2306
+ "profile": "standard",
2307
+ "storage": "db_only",
2308
+ "output_type": "array",
2309
+ "provenance_fields": [
2310
+ "unit_id",
2311
+ "file",
2312
+ "line",
2313
+ "raw_value"
2314
+ ],
2315
+ "deduplicate": true,
2316
+ "preserve_source": true,
2317
+ "external_reference": false,
2318
+ "status": "approved",
2319
+ "reliability": "medium"
2320
+ },
2321
+ {
2322
+ "id": "NAPI-003",
2323
+ "name": "Proxy & DNS API References",
2324
+ "domain": "Network & URLs",
2325
+ "subdomain": "Network APIs",
2326
+ "description": "ProxySelector, java.net.Proxy, InetAddress/Dns references.",
2327
+ "source_files": [
2328
+ "04_Java_Src"
2329
+ ],
2330
+ "extraction_type": "correlated",
2331
+ "method": "regex_scan",
2332
+ "profile": "deep",
2333
+ "storage": "db_only",
2334
+ "output_type": "array",
2335
+ "provenance_fields": [
2336
+ "unit_id",
2337
+ "file",
2338
+ "line",
2339
+ "raw_value"
2340
+ ],
2341
+ "deduplicate": true,
2342
+ "preserve_source": true,
2343
+ "external_reference": false,
2344
+ "status": "approved",
2345
+ "reliability": "medium"
2346
+ },
2347
+ {
2348
+ "id": "COD-001",
2349
+ "name": "Package & Class Inventory",
2350
+ "domain": "Code Intelligence",
2351
+ "subdomain": "Java/Kotlin",
2352
+ "description": "Package hierarchy, classes, interfaces, enums, and file mapping.",
2353
+ "source_files": [
2354
+ "04_Java_Src"
2355
+ ],
2356
+ "extraction_type": "direct",
2357
+ "method": "source_scan",
2358
+ "profile": "standard",
2359
+ "storage": "db_only",
2360
+ "output_type": "array",
2361
+ "provenance_fields": [
2362
+ "unit_id",
2363
+ "package",
2364
+ "class",
2365
+ "file"
2366
+ ],
2367
+ "deduplicate": true,
2368
+ "preserve_source": true,
2369
+ "external_reference": false,
2370
+ "status": "approved",
2371
+ "reliability": "high"
2372
+ },
2373
+ {
2374
+ "id": "COD-002",
2375
+ "name": "Code Scale Statistics",
2376
+ "domain": "Code Intelligence",
2377
+ "subdomain": "Java/Kotlin",
2378
+ "description": "Counts of packages, classes, interfaces, enums, and source lines.",
2379
+ "source_files": [
2380
+ "04_Java_Src"
2381
+ ],
2382
+ "extraction_type": "direct",
2383
+ "method": "source_scan",
2384
+ "profile": "fast",
2385
+ "storage": "summary",
2386
+ "output_type": "array",
2387
+ "provenance_fields": [
2388
+ "unit_id",
2389
+ "file",
2390
+ "line",
2391
+ "raw_value"
2392
+ ],
2393
+ "deduplicate": true,
2394
+ "preserve_source": true,
2395
+ "external_reference": false,
2396
+ "status": "approved",
2397
+ "reliability": "high"
2398
+ },
2399
+ {
2400
+ "id": "COD-003",
2401
+ "name": "Native Method Declarations",
2402
+ "domain": "Code Intelligence",
2403
+ "subdomain": "JNI",
2404
+ "description": "All Java/Kotlin 'native' method signatures and declaring classes.",
2405
+ "source_files": [
2406
+ "04_Java_Src",
2407
+ "smali*"
2408
+ ],
2409
+ "extraction_type": "correlated",
2410
+ "method": "regex_scan",
2411
+ "profile": "standard",
2412
+ "storage": "summary+db",
2413
+ "output_type": "array",
2414
+ "provenance_fields": [
2415
+ "unit_id",
2416
+ "file",
2417
+ "line",
2418
+ "class",
2419
+ "method",
2420
+ "raw_value"
2421
+ ],
2422
+ "deduplicate": true,
2423
+ "preserve_source": true,
2424
+ "external_reference": false,
2425
+ "status": "approved",
2426
+ "reliability": "high"
2427
+ },
2428
+ {
2429
+ "id": "COD-GAP-001",
2430
+ "name": "Smali vs JADX Recovery Gap",
2431
+ "domain": "Code Intelligence",
2432
+ "subdomain": "Recovery",
2433
+ "description": "Classes present in smali*/ missing or stubbed in 04_Java_Src.",
2434
+ "source_files": [
2435
+ "smali*",
2436
+ "04_Java_Src"
2437
+ ],
2438
+ "extraction_type": "correlated",
2439
+ "method": "local_correlation",
2440
+ "profile": "standard",
2441
+ "storage": "summary+db",
2442
+ "output_type": "array",
2443
+ "provenance_fields": [
2444
+ "unit_id",
2445
+ "file",
2446
+ "line",
2447
+ "raw_value"
2448
+ ],
2449
+ "deduplicate": true,
2450
+ "preserve_source": true,
2451
+ "external_reference": false,
2452
+ "status": "approved",
2453
+ "reliability": "high"
2454
+ },
2455
+ {
2456
+ "id": "COD-GAP-002",
2457
+ "name": "JADX Method Errors & Partial Recovery",
2458
+ "domain": "Code Intelligence",
2459
+ "subdomain": "Recovery",
2460
+ "description": "Methods with JADX decompilation errors/warnings, backed up by automatic Smali fallback scan.",
2461
+ "source_files": [
2462
+ "04_Java_Src",
2463
+ "07_Logs/tasks/decompile_*.log"
2464
+ ],
2465
+ "extraction_type": "correlated",
2466
+ "method": "log_and_source_scan",
2467
+ "profile": "standard",
2468
+ "storage": "summary+db",
2469
+ "output_type": "array",
2470
+ "provenance_fields": [
2471
+ "unit_id",
2472
+ "file",
2473
+ "line",
2474
+ "class",
2475
+ "method",
2476
+ "raw_value"
2477
+ ],
2478
+ "deduplicate": true,
2479
+ "preserve_source": true,
2480
+ "external_reference": false,
2481
+ "status": "approved",
2482
+ "reliability": "high"
2483
+ },
2484
+ {
2485
+ "id": "KOT-001",
2486
+ "name": "Kotlin Metadata & Modules",
2487
+ "domain": "Code Intelligence",
2488
+ "subdomain": "Kotlin",
2489
+ "description": "kotlin_module descriptors and @Metadata class annotations.",
2490
+ "source_files": [
2491
+ "kotlin/",
2492
+ "04_Java_Src"
2493
+ ],
2494
+ "extraction_type": "direct",
2495
+ "method": "source_scan",
2496
+ "profile": "standard",
2497
+ "storage": "summary+db",
2498
+ "output_type": "array",
2499
+ "provenance_fields": [
2500
+ "unit_id",
2501
+ "file",
2502
+ "line",
2503
+ "raw_value"
2504
+ ],
2505
+ "deduplicate": true,
2506
+ "preserve_source": true,
2507
+ "external_reference": false,
2508
+ "status": "approved",
2509
+ "reliability": "high"
2510
+ },
2511
+ {
2512
+ "id": "REF-001",
2513
+ "name": "Reflection & Dynamic Loading",
2514
+ "domain": "Code Intelligence",
2515
+ "subdomain": "Sensitive APIs",
2516
+ "description": "Class.forName, Method.invoke, DexClassLoader, PathClassLoader, InMemoryDexClassLoader.",
2517
+ "source_files": [
2518
+ "04_Java_Src",
2519
+ "smali*"
2520
+ ],
2521
+ "extraction_type": "correlated",
2522
+ "method": "regex_scan",
2523
+ "profile": "standard",
2524
+ "storage": "summary+db",
2525
+ "output_type": "array",
2526
+ "provenance_fields": [
2527
+ "unit_id",
2528
+ "file",
2529
+ "line",
2530
+ "raw_value"
2531
+ ],
2532
+ "deduplicate": true,
2533
+ "preserve_source": true,
2534
+ "external_reference": false,
2535
+ "status": "approved",
2536
+ "reliability": "medium"
2537
+ },
2538
+ {
2539
+ "id": "REF-002",
2540
+ "name": "JNI Library Loading Calls",
2541
+ "domain": "Code Intelligence",
2542
+ "subdomain": "Sensitive APIs",
2543
+ "description": "System.loadLibrary and System.load call sites and library names.",
2544
+ "source_files": [
2545
+ "04_Java_Src",
2546
+ "smali*"
2547
+ ],
2548
+ "extraction_type": "correlated",
2549
+ "method": "regex_scan",
2550
+ "profile": "standard",
2551
+ "storage": "summary+db",
2552
+ "output_type": "array",
2553
+ "provenance_fields": [
2554
+ "unit_id",
2555
+ "file",
2556
+ "line",
2557
+ "raw_value"
2558
+ ],
2559
+ "deduplicate": true,
2560
+ "preserve_source": true,
2561
+ "external_reference": false,
2562
+ "status": "approved",
2563
+ "reliability": "medium"
2564
+ },
2565
+ {
2566
+ "id": "REF-003",
2567
+ "name": "WebView Usage & JS Interfaces",
2568
+ "domain": "Code Intelligence",
2569
+ "subdomain": "Sensitive APIs",
2570
+ "description": "WebView instances and addJavascriptInterface call sites.",
2571
+ "source_files": [
2572
+ "04_Java_Src"
2573
+ ],
2574
+ "extraction_type": "correlated",
2575
+ "method": "regex_scan",
2576
+ "profile": "standard",
2577
+ "storage": "summary+db",
2578
+ "output_type": "array",
2579
+ "provenance_fields": [
2580
+ "unit_id",
2581
+ "file",
2582
+ "line",
2583
+ "raw_value"
2584
+ ],
2585
+ "deduplicate": true,
2586
+ "preserve_source": true,
2587
+ "external_reference": false,
2588
+ "status": "approved",
2589
+ "reliability": "medium"
2590
+ },
2591
+ {
2592
+ "id": "REF-004",
2593
+ "name": "Storage & Database APIs",
2594
+ "domain": "Code Intelligence",
2595
+ "subdomain": "Sensitive APIs",
2596
+ "description": "SharedPreferences, SQLiteDatabase, Room, FileOutputStream, ContentResolver.",
2597
+ "source_files": [
2598
+ "04_Java_Src"
2599
+ ],
2600
+ "extraction_type": "correlated",
2601
+ "method": "regex_scan",
2602
+ "profile": "deep",
2603
+ "storage": "db_only",
2604
+ "output_type": "array",
2605
+ "provenance_fields": [
2606
+ "unit_id",
2607
+ "file",
2608
+ "line",
2609
+ "raw_value"
2610
+ ],
2611
+ "deduplicate": true,
2612
+ "preserve_source": true,
2613
+ "external_reference": false,
2614
+ "status": "approved",
2615
+ "reliability": "medium"
2616
+ },
2617
+ {
2618
+ "id": "REF-005",
2619
+ "name": "Hardware & Sensor APIs",
2620
+ "domain": "Code Intelligence",
2621
+ "subdomain": "Sensitive APIs",
2622
+ "description": "LocationManager, Camera, AudioRecord, Bluetooth, Clipboard, AccessibilityService.",
2623
+ "source_files": [
2624
+ "04_Java_Src"
2625
+ ],
2626
+ "extraction_type": "correlated",
2627
+ "method": "regex_scan",
2628
+ "profile": "standard",
2629
+ "storage": "summary+db",
2630
+ "output_type": "array",
2631
+ "provenance_fields": [
2632
+ "unit_id",
2633
+ "file",
2634
+ "line",
2635
+ "raw_value"
2636
+ ],
2637
+ "deduplicate": true,
2638
+ "preserve_source": true,
2639
+ "external_reference": false,
2640
+ "status": "approved",
2641
+ "reliability": "medium"
2642
+ },
2643
+ {
2644
+ "id": "REF-006",
2645
+ "name": "PackageManager & IPC APIs",
2646
+ "domain": "Code Intelligence",
2647
+ "subdomain": "Sensitive APIs",
2648
+ "description": "getInstalledPackages, queryIntentActivities, startActivity, sendBroadcast.",
2649
+ "source_files": [
2650
+ "04_Java_Src"
2651
+ ],
2652
+ "extraction_type": "correlated",
2653
+ "method": "regex_scan",
2654
+ "profile": "deep",
2655
+ "storage": "db_only",
2656
+ "output_type": "array",
2657
+ "provenance_fields": [
2658
+ "unit_id",
2659
+ "file",
2660
+ "line",
2661
+ "raw_value"
2662
+ ],
2663
+ "deduplicate": true,
2664
+ "preserve_source": true,
2665
+ "external_reference": false,
2666
+ "status": "approved",
2667
+ "reliability": "medium"
2668
+ },
2669
+ {
2670
+ "id": "DEX-001",
2671
+ "name": "DEX File Inventory & Versions",
2672
+ "domain": "DEX & Smali",
2673
+ "subdomain": "DEX Header",
2674
+ "description": "Names, sizes, and DEX header magic version (035/037/039) from APK ZIP.",
2675
+ "source_files": [
2676
+ "APK ZIP"
2677
+ ],
2678
+ "extraction_type": "direct",
2679
+ "method": "binary_header",
2680
+ "profile": "fast",
2681
+ "storage": "summary",
2682
+ "output_type": "array",
2683
+ "provenance_fields": [
2684
+ "unit_id",
2685
+ "file",
2686
+ "line",
2687
+ "raw_value"
2688
+ ],
2689
+ "deduplicate": true,
2690
+ "preserve_source": true,
2691
+ "external_reference": false,
2692
+ "status": "approved",
2693
+ "reliability": "high"
2694
+ },
2695
+ {
2696
+ "id": "DEX-002",
2697
+ "name": "DEX Structural Header Counts",
2698
+ "domain": "DEX & Smali",
2699
+ "subdomain": "DEX Header",
2700
+ "description": "string_ids_size, type_ids_size, method_ids_size, class_defs_size from DEX headers.",
2701
+ "source_files": [
2702
+ "APK ZIP"
2703
+ ],
2704
+ "extraction_type": "direct",
2705
+ "method": "binary_header",
2706
+ "profile": "fast",
2707
+ "storage": "summary",
2708
+ "output_type": "array",
2709
+ "provenance_fields": [
2710
+ "unit_id",
2711
+ "file",
2712
+ "line",
2713
+ "raw_value"
2714
+ ],
2715
+ "deduplicate": true,
2716
+ "preserve_source": true,
2717
+ "external_reference": false,
2718
+ "status": "approved",
2719
+ "reliability": "high"
2720
+ },
2721
+ {
2722
+ "id": "DEX-003",
2723
+ "name": "Smali Directory & File Stats",
2724
+ "domain": "DEX & Smali",
2725
+ "subdomain": "Smali",
2726
+ "description": "Smali dex roots (smali, smali_classes2...) and .smali class counts.",
2727
+ "source_files": [
2728
+ "smali*"
2729
+ ],
2730
+ "extraction_type": "direct",
2731
+ "method": "dir_scan",
2732
+ "profile": "fast",
2733
+ "storage": "summary",
2734
+ "output_type": "array",
2735
+ "provenance_fields": [
2736
+ "unit_id",
2737
+ "file",
2738
+ "line",
2739
+ "raw_value"
2740
+ ],
2741
+ "deduplicate": true,
2742
+ "preserve_source": true,
2743
+ "external_reference": false,
2744
+ "status": "approved",
2745
+ "reliability": "high"
2746
+ },
2747
+ {
2748
+ "id": "DEX-004",
2749
+ "name": "Smali Sensitive API Invocations",
2750
+ "domain": "DEX & Smali",
2751
+ "subdomain": "Smali",
2752
+ "description": "Direct invoke-* calls in Smali for classes missing from JADX.",
2753
+ "source_files": [
2754
+ "smali*"
2755
+ ],
2756
+ "extraction_type": "correlated",
2757
+ "method": "regex_scan",
2758
+ "profile": "deep",
2759
+ "storage": "db_only",
2760
+ "output_type": "array",
2761
+ "provenance_fields": [
2762
+ "unit_id",
2763
+ "file",
2764
+ "line",
2765
+ "raw_value"
2766
+ ],
2767
+ "deduplicate": true,
2768
+ "preserve_source": true,
2769
+ "external_reference": false,
2770
+ "status": "approved",
2771
+ "reliability": "medium"
2772
+ },
2773
+ {
2774
+ "id": "STR-001",
2775
+ "name": "Indexed Static Strings (FTS5)",
2776
+ "domain": "Strings & Constants",
2777
+ "subdomain": "All Layers",
2778
+ "description": "Searchable static strings indexed with source layer & file path in findings.db.",
2779
+ "source_files": [
2780
+ "04_Java_Src",
2781
+ "assets",
2782
+ "res",
2783
+ "06_Native_Libs",
2784
+ "05_Frameworks"
2785
+ ],
2786
+ "extraction_type": "direct",
2787
+ "method": "chunked_scan",
2788
+ "profile": "deep",
2789
+ "storage": "db_only",
2790
+ "output_type": "array",
2791
+ "provenance_fields": [
2792
+ "unit_id",
2793
+ "file",
2794
+ "line",
2795
+ "raw_value"
2796
+ ],
2797
+ "deduplicate": true,
2798
+ "preserve_source": true,
2799
+ "external_reference": false,
2800
+ "status": "approved",
2801
+ "reliability": "low"
2802
+ },
2803
+ {
2804
+ "id": "STR-002",
2805
+ "name": "Base64-Encoded Candidates",
2806
+ "domain": "Strings & Constants",
2807
+ "subdomain": "Patterns",
2808
+ "description": "High-entropy/valid Base64 candidate strings across layers.",
2809
+ "source_files": [
2810
+ "all_text_and_strings"
2811
+ ],
2812
+ "extraction_type": "direct",
2813
+ "method": "regex_scan",
2814
+ "profile": "standard",
2815
+ "storage": "db_only",
2816
+ "output_type": "array",
2817
+ "provenance_fields": [
2818
+ "unit_id",
2819
+ "file",
2820
+ "line",
2821
+ "raw_value"
2822
+ ],
2823
+ "deduplicate": true,
2824
+ "preserve_source": true,
2825
+ "external_reference": false,
2826
+ "status": "approved",
2827
+ "reliability": "low"
2828
+ },
2829
+ {
2830
+ "id": "STR-003",
2831
+ "name": "Hex & UUID Identifiers",
2832
+ "domain": "Strings & Constants",
2833
+ "subdomain": "Patterns",
2834
+ "description": "Long hex strings (32+ chars) and UUID literals.",
2835
+ "source_files": [
2836
+ "all_text_and_strings"
2837
+ ],
2838
+ "extraction_type": "direct",
2839
+ "method": "regex_scan",
2840
+ "profile": "deep",
2841
+ "storage": "db_only",
2842
+ "output_type": "array",
2843
+ "provenance_fields": [
2844
+ "unit_id",
2845
+ "file",
2846
+ "line",
2847
+ "raw_value"
2848
+ ],
2849
+ "deduplicate": true,
2850
+ "preserve_source": true,
2851
+ "external_reference": false,
2852
+ "status": "approved",
2853
+ "reliability": "low"
2854
+ },
2855
+ {
2856
+ "id": "STR-004",
2857
+ "name": "Embedded File Path Strings",
2858
+ "domain": "Strings & Constants",
2859
+ "subdomain": "Patterns",
2860
+ "description": "Unix/Android path literals (/data/data/, /sdcard/, /proc/, /system/).",
2861
+ "source_files": [
2862
+ "all_text_and_strings"
2863
+ ],
2864
+ "extraction_type": "direct",
2865
+ "method": "regex_scan",
2866
+ "profile": "standard",
2867
+ "storage": "summary+db",
2868
+ "output_type": "array",
2869
+ "provenance_fields": [
2870
+ "unit_id",
2871
+ "file",
2872
+ "line",
2873
+ "raw_value"
2874
+ ],
2875
+ "deduplicate": true,
2876
+ "preserve_source": true,
2877
+ "external_reference": false,
2878
+ "status": "approved",
2879
+ "reliability": "medium"
2880
+ },
2881
+ {
2882
+ "id": "RES-001",
2883
+ "name": "Public Resource ID Map",
2884
+ "domain": "Resources",
2885
+ "subdomain": "Compiled",
2886
+ "description": "Resource types, names, and hex IDs from res/values/public.xml.",
2887
+ "source_files": [
2888
+ "res/values/public.xml"
2889
+ ],
2890
+ "extraction_type": "direct",
2891
+ "method": "xml_parse",
2892
+ "profile": "standard",
2893
+ "storage": "db_only",
2894
+ "output_type": "array",
2895
+ "provenance_fields": [
2896
+ "unit_id",
2897
+ "file",
2898
+ "line",
2899
+ "raw_value"
2900
+ ],
2901
+ "deduplicate": true,
2902
+ "preserve_source": true,
2903
+ "external_reference": false,
2904
+ "status": "approved",
2905
+ "reliability": "high"
2906
+ },
2907
+ {
2908
+ "id": "RES-002",
2909
+ "name": "String & Array Resources",
2910
+ "domain": "Resources",
2911
+ "subdomain": "Values",
2912
+ "description": "Key/value pairs from res/values*/strings.xml and arrays.xml.",
2913
+ "source_files": [
2914
+ "res/values*/strings.xml"
2915
+ ],
2916
+ "extraction_type": "direct",
2917
+ "method": "xml_parse",
2918
+ "profile": "standard",
2919
+ "storage": "summary+db",
2920
+ "output_type": "array",
2921
+ "provenance_fields": [
2922
+ "unit_id",
2923
+ "file",
2924
+ "line",
2925
+ "raw_value"
2926
+ ],
2927
+ "deduplicate": true,
2928
+ "preserve_source": true,
2929
+ "external_reference": false,
2930
+ "status": "approved",
2931
+ "reliability": "high"
2932
+ },
2933
+ {
2934
+ "id": "RES-003",
2935
+ "name": "Localization Languages",
2936
+ "domain": "Resources",
2937
+ "subdomain": "Qualifiers",
2938
+ "description": "Detected locale qualifiers (values-ar, values-fr, etc.).",
2939
+ "source_files": [
2940
+ "res/"
2941
+ ],
2942
+ "extraction_type": "direct",
2943
+ "method": "dir_scan",
2944
+ "profile": "fast",
2945
+ "storage": "summary",
2946
+ "output_type": "array",
2947
+ "provenance_fields": [
2948
+ "unit_id",
2949
+ "file",
2950
+ "line",
2951
+ "raw_value"
2952
+ ],
2953
+ "deduplicate": true,
2954
+ "preserve_source": true,
2955
+ "external_reference": false,
2956
+ "status": "approved",
2957
+ "reliability": "high"
2958
+ },
2959
+ {
2960
+ "id": "RES-004",
2961
+ "name": "XML Config & Raw Resources",
2962
+ "domain": "Resources",
2963
+ "subdomain": "Files",
2964
+ "description": "Inventory of res/xml/*.xml and res/raw/* files.",
2965
+ "source_files": [
2966
+ "res/xml",
2967
+ "res/raw"
2968
+ ],
2969
+ "extraction_type": "direct",
2970
+ "method": "dir_scan",
2971
+ "profile": "fast",
2972
+ "storage": "summary+db",
2973
+ "output_type": "array",
2974
+ "provenance_fields": [
2975
+ "unit_id",
2976
+ "file",
2977
+ "line",
2978
+ "raw_value"
2979
+ ],
2980
+ "deduplicate": true,
2981
+ "preserve_source": true,
2982
+ "external_reference": false,
2983
+ "status": "approved",
2984
+ "reliability": "high"
2985
+ },
2986
+ {
2987
+ "id": "RES-005",
2988
+ "name": "Layouts, Menus & Navigation Graphs",
2989
+ "domain": "Resources",
2990
+ "subdomain": "UI",
2991
+ "description": "Counts and paths of layout, menu, navigation, drawable, and font files.",
2992
+ "source_files": [
2993
+ "res/"
2994
+ ],
2995
+ "extraction_type": "direct",
2996
+ "method": "dir_scan",
2997
+ "profile": "fast",
2998
+ "storage": "summary",
2999
+ "output_type": "array",
3000
+ "provenance_fields": [
3001
+ "unit_id",
3002
+ "file",
3003
+ "line",
3004
+ "raw_value"
3005
+ ],
3006
+ "deduplicate": true,
3007
+ "preserve_source": true,
3008
+ "external_reference": false,
3009
+ "status": "approved",
3010
+ "reliability": "high"
3011
+ },
3012
+ {
3013
+ "id": "AST-001",
3014
+ "name": "Complete File Tree Index",
3015
+ "domain": "Assets & Files",
3016
+ "subdomain": "Inventory",
3017
+ "description": "Paths, sizes, extensions, and directory breakdown across workspace.",
3018
+ "source_files": [
3019
+ "08_Inventory/files.tsv"
3020
+ ],
3021
+ "extraction_type": "direct",
3022
+ "method": "tsv_parse",
3023
+ "profile": "fast",
3024
+ "storage": "summary+db",
3025
+ "output_type": "array",
3026
+ "provenance_fields": [
3027
+ "unit_id",
3028
+ "file",
3029
+ "line",
3030
+ "raw_value"
3031
+ ],
3032
+ "deduplicate": true,
3033
+ "preserve_source": true,
3034
+ "external_reference": false,
3035
+ "status": "approved",
3036
+ "reliability": "high"
3037
+ },
3038
+ {
3039
+ "id": "AST-002",
3040
+ "name": "Binary & Asset Hashes & Magic",
3041
+ "domain": "Assets & Files",
3042
+ "subdomain": "Signatures",
3043
+ "description": "SHA-256 and magic-byte signature verification for assets/raw/unknown/libs.",
3044
+ "source_files": [
3045
+ "assets/",
3046
+ "res/raw/",
3047
+ "unknown/"
3048
+ ],
3049
+ "extraction_type": "direct",
3050
+ "method": "binary_scan",
3051
+ "profile": "standard",
3052
+ "storage": "summary+db",
3053
+ "output_type": "array",
3054
+ "provenance_fields": [
3055
+ "unit_id",
3056
+ "file",
3057
+ "line",
3058
+ "raw_value"
3059
+ ],
3060
+ "deduplicate": true,
3061
+ "preserve_source": true,
3062
+ "external_reference": false,
3063
+ "status": "approved",
3064
+ "reliability": "high"
3065
+ },
3066
+ {
3067
+ "id": "AST-003",
3068
+ "name": "Duplicate Files by SHA-256",
3069
+ "domain": "Assets & Files",
3070
+ "subdomain": "Deduplication",
3071
+ "description": "Identical binary/asset files appearing multiple times.",
3072
+ "source_files": [
3073
+ "assets/",
3074
+ "res/raw/",
3075
+ "unknown/"
3076
+ ],
3077
+ "extraction_type": "correlated",
3078
+ "method": "local_correlation",
3079
+ "profile": "standard",
3080
+ "storage": "summary",
3081
+ "output_type": "array",
3082
+ "provenance_fields": [
3083
+ "unit_id",
3084
+ "file",
3085
+ "line",
3086
+ "raw_value"
3087
+ ],
3088
+ "deduplicate": true,
3089
+ "preserve_source": true,
3090
+ "external_reference": false,
3091
+ "status": "approved",
3092
+ "reliability": "high"
3093
+ },
3094
+ {
3095
+ "id": "AST-004",
3096
+ "name": "Structured Config/Web Assets",
3097
+ "domain": "Assets & Files",
3098
+ "subdomain": "Categories",
3099
+ "description": "Categorized lists of JSON, XML, HTML, JS, CSS, PEM/CRT/BKS/P12, and media assets.",
3100
+ "source_files": [
3101
+ "assets/",
3102
+ "res/raw/"
3103
+ ],
3104
+ "extraction_type": "direct",
3105
+ "method": "dir_scan",
3106
+ "profile": "fast",
3107
+ "storage": "summary+db",
3108
+ "output_type": "array",
3109
+ "provenance_fields": [
3110
+ "unit_id",
3111
+ "file",
3112
+ "line",
3113
+ "raw_value"
3114
+ ],
3115
+ "deduplicate": true,
3116
+ "preserve_source": true,
3117
+ "external_reference": false,
3118
+ "status": "approved",
3119
+ "reliability": "high"
3120
+ },
3121
+ {
3122
+ "id": "AST-005",
3123
+ "name": "ML Models & Archives in Assets",
3124
+ "domain": "Assets & Files",
3125
+ "subdomain": "Special",
3126
+ "description": "Embedded .tflite/.onnx/.pb models and nested .zip/.jar/.dex/.apk files.",
3127
+ "source_files": [
3128
+ "assets/",
3129
+ "res/raw/",
3130
+ "unknown/"
3131
+ ],
3132
+ "extraction_type": "direct",
3133
+ "method": "binary_scan",
3134
+ "profile": "fast",
3135
+ "storage": "summary+db",
3136
+ "output_type": "array",
3137
+ "provenance_fields": [
3138
+ "unit_id",
3139
+ "file",
3140
+ "line",
3141
+ "raw_value"
3142
+ ],
3143
+ "deduplicate": true,
3144
+ "preserve_source": true,
3145
+ "external_reference": false,
3146
+ "status": "approved",
3147
+ "reliability": "high"
3148
+ },
3149
+ {
3150
+ "id": "CFG-001",
3151
+ "name": "Firebase & Google Services Config",
3152
+ "domain": "Configuration & IDs",
3153
+ "subdomain": "Cloud",
3154
+ "description": "Firebase project_id, app_id, database_url, api_key from strings.xml and google-services.json.",
3155
+ "source_files": [
3156
+ "res/values/strings.xml",
3157
+ "assets/google-services.json"
3158
+ ],
3159
+ "extraction_type": "correlated",
3160
+ "method": "local_correlation",
3161
+ "profile": "fast",
3162
+ "storage": "summary+db",
3163
+ "output_type": "array",
3164
+ "provenance_fields": [
3165
+ "unit_id",
3166
+ "file",
3167
+ "line",
3168
+ "raw_value"
3169
+ ],
3170
+ "deduplicate": true,
3171
+ "preserve_source": true,
3172
+ "external_reference": false,
3173
+ "status": "approved",
3174
+ "reliability": "medium"
3175
+ },
3176
+ {
3177
+ "id": "CFG-002",
3178
+ "name": "OAuth & Social SDK IDs",
3179
+ "domain": "Configuration & IDs",
3180
+ "subdomain": "Auth",
3181
+ "description": "default_web_client_id, facebook_app_id, google/apple/oauth client IDs.",
3182
+ "source_files": [
3183
+ "res/values/strings.xml",
3184
+ "AndroidManifest.xml",
3185
+ "assets/"
3186
+ ],
3187
+ "extraction_type": "direct",
3188
+ "method": "regex_scan",
3189
+ "profile": "fast",
3190
+ "storage": "summary+db",
3191
+ "output_type": "array",
3192
+ "provenance_fields": [
3193
+ "unit_id",
3194
+ "file",
3195
+ "line",
3196
+ "raw_value"
3197
+ ],
3198
+ "deduplicate": true,
3199
+ "preserve_source": true,
3200
+ "external_reference": false,
3201
+ "status": "approved",
3202
+ "reliability": "medium"
3203
+ },
3204
+ {
3205
+ "id": "CFG-003",
3206
+ "name": "Environment & Property Configs",
3207
+ "domain": "Configuration & IDs",
3208
+ "subdomain": "Configs",
3209
+ "description": "Key/values from .env, .properties, awsconfiguration.json, amplifyconfiguration.json.",
3210
+ "source_files": [
3211
+ "assets/",
3212
+ "unknown/",
3213
+ "res/raw/"
3214
+ ],
3215
+ "extraction_type": "direct",
3216
+ "method": "text_parse",
3217
+ "profile": "fast",
3218
+ "storage": "summary+db",
3219
+ "output_type": "array",
3220
+ "provenance_fields": [
3221
+ "unit_id",
3222
+ "file",
3223
+ "line",
3224
+ "raw_value"
3225
+ ],
3226
+ "deduplicate": true,
3227
+ "preserve_source": true,
3228
+ "external_reference": false,
3229
+ "status": "approved",
3230
+ "reliability": "medium"
3231
+ },
3232
+ {
3233
+ "id": "CFG-004",
3234
+ "name": "Hardcoded Secret & Key Candidates",
3235
+ "domain": "Configuration & IDs",
3236
+ "subdomain": "Candidates",
3237
+ "description": "Pattern matches for AWS/GCP/Firebase/Stripe/JWT/PrivateKey headers & suspicious key variables.",
3238
+ "source_files": [
3239
+ "all_text_and_strings"
3240
+ ],
3241
+ "extraction_type": "direct",
3242
+ "method": "regex_scan",
3243
+ "profile": "standard",
3244
+ "storage": "summary+db",
3245
+ "output_type": "array",
3246
+ "provenance_fields": [
3247
+ "unit_id",
3248
+ "file",
3249
+ "line",
3250
+ "raw_value"
3251
+ ],
3252
+ "deduplicate": true,
3253
+ "preserve_source": true,
3254
+ "external_reference": false,
3255
+ "status": "approved",
3256
+ "reliability": "low"
3257
+ },
3258
+ {
3259
+ "id": "CFG-005",
3260
+ "name": "Database Connection Strings",
3261
+ "domain": "Configuration & IDs",
3262
+ "subdomain": "Configs",
3263
+ "description": "JDBC, MongoDB, PostgreSQL, Redis, or MySQL URI strings.",
3264
+ "source_files": [
3265
+ "all_text_and_strings"
3266
+ ],
3267
+ "extraction_type": "direct",
3268
+ "method": "regex_scan",
3269
+ "profile": "standard",
3270
+ "storage": "summary+db",
3271
+ "output_type": "array",
3272
+ "provenance_fields": [
3273
+ "unit_id",
3274
+ "file",
3275
+ "line",
3276
+ "raw_value"
3277
+ ],
3278
+ "deduplicate": true,
3279
+ "preserve_source": true,
3280
+ "external_reference": false,
3281
+ "status": "approved",
3282
+ "reliability": "medium"
3283
+ },
3284
+ {
3285
+ "id": "NAT-001",
3286
+ "name": "Native Library Inventory",
3287
+ "domain": "Native Libraries",
3288
+ "subdomain": "ELF",
3289
+ "description": "All .so files across ABIs with sizes, SHA-256, and custom vs framework classification.",
3290
+ "source_files": [
3291
+ "lib/",
3292
+ "06_Native_Libs"
3293
+ ],
3294
+ "extraction_type": "direct",
3295
+ "method": "elf_parse",
3296
+ "profile": "fast",
3297
+ "storage": "summary+db",
3298
+ "output_type": "array",
3299
+ "provenance_fields": [
3300
+ "unit_id",
3301
+ "file",
3302
+ "line",
3303
+ "raw_value"
3304
+ ],
3305
+ "deduplicate": true,
3306
+ "preserve_source": true,
3307
+ "external_reference": false,
3308
+ "status": "approved",
3309
+ "reliability": "high"
3310
+ },
3311
+ {
3312
+ "id": "NAT-002",
3313
+ "name": "ELF Headers & Dependencies",
3314
+ "domain": "Native Libraries",
3315
+ "subdomain": "ELF",
3316
+ "description": "ELF class, arch, endianness, SONAME, DT_NEEDED, RPATH/RUNPATH, Build-ID.",
3317
+ "source_files": [
3318
+ "06_Native_Libs",
3319
+ "lib/"
3320
+ ],
3321
+ "extraction_type": "direct",
3322
+ "method": "elf_parse",
3323
+ "profile": "fast",
3324
+ "storage": "summary+db",
3325
+ "output_type": "array",
3326
+ "provenance_fields": [
3327
+ "unit_id",
3328
+ "file",
3329
+ "line",
3330
+ "raw_value"
3331
+ ],
3332
+ "deduplicate": true,
3333
+ "preserve_source": true,
3334
+ "external_reference": false,
3335
+ "status": "approved",
3336
+ "reliability": "high"
3337
+ },
3338
+ {
3339
+ "id": "NAT-003",
3340
+ "name": "ELF Hardening Indicators",
3341
+ "domain": "Native Libraries",
3342
+ "subdomain": "Hardening",
3343
+ "description": "NX stack (PT_GNU_STACK), RELRO (PT_GNU_RELRO), PIE (ET_DYN), Stripped status.",
3344
+ "source_files": [
3345
+ "lib/"
3346
+ ],
3347
+ "extraction_type": "direct",
3348
+ "method": "elf_parse",
3349
+ "profile": "standard",
3350
+ "storage": "summary+db",
3351
+ "output_type": "array",
3352
+ "provenance_fields": [
3353
+ "unit_id",
3354
+ "file",
3355
+ "line",
3356
+ "raw_value"
3357
+ ],
3358
+ "deduplicate": true,
3359
+ "preserve_source": true,
3360
+ "external_reference": false,
3361
+ "status": "approved",
3362
+ "reliability": "high"
3363
+ },
3364
+ {
3365
+ "id": "NAT-004",
3366
+ "name": "Exported & Imported ELF Symbols",
3367
+ "domain": "Native Libraries",
3368
+ "subdomain": "Symbols",
3369
+ "description": "Dynamic and static symbol tables per .so library.",
3370
+ "source_files": [
3371
+ "06_Native_Libs"
3372
+ ],
3373
+ "extraction_type": "direct",
3374
+ "method": "elf_parse",
3375
+ "profile": "standard",
3376
+ "storage": "db_only",
3377
+ "output_type": "array",
3378
+ "provenance_fields": [
3379
+ "unit_id",
3380
+ "file",
3381
+ "line",
3382
+ "raw_value"
3383
+ ],
3384
+ "deduplicate": true,
3385
+ "preserve_source": true,
3386
+ "external_reference": false,
3387
+ "status": "approved",
3388
+ "reliability": "high"
3389
+ },
3390
+ {
3391
+ "id": "NAT-005",
3392
+ "name": "JNI Exports & Java Cross-Ref",
3393
+ "domain": "Native Libraries",
3394
+ "subdomain": "JNI",
3395
+ "description": "Demangled Java_* functions and JNI_OnLoad linked against Java native declarations.",
3396
+ "source_files": [
3397
+ "06_Native_Libs",
3398
+ "04_Java_Src"
3399
+ ],
3400
+ "extraction_type": "correlated",
3401
+ "method": "local_correlation",
3402
+ "profile": "standard",
3403
+ "storage": "summary+db",
3404
+ "output_type": "array",
3405
+ "provenance_fields": [
3406
+ "unit_id",
3407
+ "file",
3408
+ "line",
3409
+ "raw_value"
3410
+ ],
3411
+ "deduplicate": true,
3412
+ "preserve_source": true,
3413
+ "external_reference": false,
3414
+ "status": "approved",
3415
+ "reliability": "high"
3416
+ },
3417
+ {
3418
+ "id": "NAT-006",
3419
+ "name": "Native Strings, URLs & IPs",
3420
+ "domain": "Native Libraries",
3421
+ "subdomain": "Strings",
3422
+ "description": "URLs, domains, IPs, and paths extracted from .so binaries.",
3423
+ "source_files": [
3424
+ "06_Native_Libs",
3425
+ "lib/"
3426
+ ],
3427
+ "extraction_type": "direct",
3428
+ "method": "chunked_scan",
3429
+ "profile": "standard",
3430
+ "storage": "summary+db",
3431
+ "output_type": "array",
3432
+ "provenance_fields": [
3433
+ "unit_id",
3434
+ "file",
3435
+ "line",
3436
+ "raw_value"
3437
+ ],
3438
+ "deduplicate": true,
3439
+ "preserve_source": true,
3440
+ "external_reference": false,
3441
+ "status": "approved",
3442
+ "reliability": "medium"
3443
+ },
3444
+ {
3445
+ "id": "FLT-001",
3446
+ "name": "Flutter Assets & Dart Packages",
3447
+ "domain": "Frameworks",
3448
+ "subdomain": "Flutter",
3449
+ "description": "flutter_assets inventory, package:*.dart list, and Dart SDK hints.",
3450
+ "source_files": [
3451
+ "05_Frameworks"
3452
+ ],
3453
+ "extraction_type": "direct",
3454
+ "method": "text_parse",
3455
+ "profile": "fast",
3456
+ "storage": "summary+db",
3457
+ "output_type": "array",
3458
+ "provenance_fields": [
3459
+ "unit_id",
3460
+ "file",
3461
+ "line",
3462
+ "raw_value"
3463
+ ],
3464
+ "deduplicate": true,
3465
+ "preserve_source": true,
3466
+ "external_reference": false,
3467
+ "status": "approved",
3468
+ "reliability": "high"
3469
+ },
3470
+ {
3471
+ "id": "RN-001",
3472
+ "name": "React Native Bundles & Hermes Info",
3473
+ "domain": "Frameworks",
3474
+ "subdomain": "React Native",
3475
+ "description": "JS bundle paths, Hermes HBC version, and decompiled JS/HASM summary.",
3476
+ "source_files": [
3477
+ "05_Frameworks",
3478
+ "assets/"
3479
+ ],
3480
+ "extraction_type": "direct",
3481
+ "method": "header_parse",
3482
+ "profile": "fast",
3483
+ "storage": "summary+db",
3484
+ "output_type": "array",
3485
+ "provenance_fields": [
3486
+ "unit_id",
3487
+ "file",
3488
+ "line",
3489
+ "raw_value"
3490
+ ],
3491
+ "deduplicate": true,
3492
+ "preserve_source": true,
3493
+ "external_reference": false,
3494
+ "status": "approved",
3495
+ "reliability": "high"
3496
+ },
3497
+ {
3498
+ "id": "UNT-001",
3499
+ "name": "Unity IL2CPP / Mono Artifacts",
3500
+ "domain": "Frameworks",
3501
+ "subdomain": "Unity",
3502
+ "description": "global-metadata.dat encryption/version, C# namespaces, and Mono DLL inventory.",
3503
+ "source_files": [
3504
+ "05_Frameworks",
3505
+ "assets/"
3506
+ ],
3507
+ "extraction_type": "direct",
3508
+ "method": "header_parse",
3509
+ "profile": "fast",
3510
+ "storage": "summary+db",
3511
+ "output_type": "array",
3512
+ "provenance_fields": [
3513
+ "unit_id",
3514
+ "file",
3515
+ "line",
3516
+ "raw_value"
3517
+ ],
3518
+ "deduplicate": true,
3519
+ "preserve_source": true,
3520
+ "external_reference": false,
3521
+ "status": "approved",
3522
+ "reliability": "high"
3523
+ },
3524
+ {
3525
+ "id": "WEB-001",
3526
+ "name": "Cordova / Capacitor Web Config & Assets",
3527
+ "domain": "Frameworks",
3528
+ "subdomain": "Web Hybrid",
3529
+ "description": "config.xml, capacitor.config.json, JS/HTML files, and .js.map presence.",
3530
+ "source_files": [
3531
+ "05_Frameworks",
3532
+ "res/xml/config.xml",
3533
+ "assets/"
3534
+ ],
3535
+ "extraction_type": "direct",
3536
+ "method": "xml_json_parse",
3537
+ "profile": "fast",
3538
+ "storage": "summary+db",
3539
+ "output_type": "array",
3540
+ "provenance_fields": [
3541
+ "unit_id",
3542
+ "file",
3543
+ "line",
3544
+ "raw_value"
3545
+ ],
3546
+ "deduplicate": true,
3547
+ "preserve_source": true,
3548
+ "external_reference": false,
3549
+ "status": "approved",
3550
+ "reliability": "high"
3551
+ },
3552
+ {
3553
+ "id": "XAM-001",
3554
+ "name": "Xamarin / .NET Assemblies",
3555
+ "domain": "Frameworks",
3556
+ "subdomain": "Xamarin",
3557
+ "description": "DLL assembly inventory and assemblies.manifest/blob metadata.",
3558
+ "source_files": [
3559
+ "05_Frameworks",
3560
+ "assemblies/"
3561
+ ],
3562
+ "extraction_type": "direct",
3563
+ "method": "text_parse",
3564
+ "profile": "fast",
3565
+ "storage": "summary+db",
3566
+ "output_type": "array",
3567
+ "provenance_fields": [
3568
+ "unit_id",
3569
+ "file",
3570
+ "line",
3571
+ "raw_value"
3572
+ ],
3573
+ "deduplicate": true,
3574
+ "preserve_source": true,
3575
+ "external_reference": false,
3576
+ "status": "approved",
3577
+ "reliability": "high"
3578
+ },
3579
+ {
3580
+ "id": "DB-001",
3581
+ "name": "Embedded Database Discovery",
3582
+ "domain": "Databases",
3583
+ "subdomain": "Discovery",
3584
+ "description": "All SQLite/Realm DB files by magic header ('SQLite format 3') and extension.",
3585
+ "source_files": [
3586
+ "assets/",
3587
+ "res/raw/",
3588
+ "unknown/"
3589
+ ],
3590
+ "extraction_type": "direct",
3591
+ "method": "magic_scan",
3592
+ "profile": "fast",
3593
+ "storage": "summary+db",
3594
+ "output_type": "array",
3595
+ "provenance_fields": [
3596
+ "unit_id",
3597
+ "file",
3598
+ "line",
3599
+ "raw_value"
3600
+ ],
3601
+ "deduplicate": true,
3602
+ "preserve_source": true,
3603
+ "external_reference": false,
3604
+ "status": "approved",
3605
+ "reliability": "high"
3606
+ },
3607
+ {
3608
+ "id": "DB-002",
3609
+ "name": "SQLite Schema & Row Counts",
3610
+ "domain": "Databases",
3611
+ "subdomain": "SQLite",
3612
+ "description": "Tables, columns, types, primary/foreign keys, indexes, views, triggers, and row counts.",
3613
+ "source_files": [
3614
+ "embedded_dbs"
3615
+ ],
3616
+ "extraction_type": "direct",
3617
+ "method": "sqlite_inspect",
3618
+ "profile": "standard",
3619
+ "storage": "summary+db",
3620
+ "output_type": "array",
3621
+ "provenance_fields": [
3622
+ "unit_id",
3623
+ "file",
3624
+ "line",
3625
+ "raw_value"
3626
+ ],
3627
+ "deduplicate": true,
3628
+ "preserve_source": true,
3629
+ "external_reference": false,
3630
+ "status": "approved",
3631
+ "reliability": "high"
3632
+ },
3633
+ {
3634
+ "id": "DB-003",
3635
+ "name": "SQLite Capped Sample Records",
3636
+ "domain": "Databases",
3637
+ "subdomain": "SQLite",
3638
+ "description": "First N (e.g. 10) sample rows per table for quick inspection without memory bloat.",
3639
+ "source_files": [
3640
+ "embedded_dbs"
3641
+ ],
3642
+ "extraction_type": "direct",
3643
+ "method": "sqlite_inspect",
3644
+ "profile": "deep",
3645
+ "storage": "db_only",
3646
+ "output_type": "array",
3647
+ "provenance_fields": [
3648
+ "unit_id",
3649
+ "file",
3650
+ "line",
3651
+ "raw_value"
3652
+ ],
3653
+ "deduplicate": true,
3654
+ "preserve_source": true,
3655
+ "external_reference": false,
3656
+ "status": "approved",
3657
+ "reliability": "high"
3658
+ },
3659
+ {
3660
+ "id": "SEC-001",
3661
+ "name": "Manifest Security Flags Summary",
3662
+ "domain": "Security Indicators",
3663
+ "subdomain": "Manifest",
3664
+ "description": "Consolidated view of debuggable, allowBackup, cleartextTraffic, testOnly.",
3665
+ "source_files": [
3666
+ "AndroidManifest.xml"
3667
+ ],
3668
+ "extraction_type": "direct",
3669
+ "method": "xml_parse",
3670
+ "profile": "fast",
3671
+ "storage": "summary",
3672
+ "output_type": "array",
3673
+ "provenance_fields": [
3674
+ "unit_id",
3675
+ "file",
3676
+ "line",
3677
+ "raw_value"
3678
+ ],
3679
+ "deduplicate": true,
3680
+ "preserve_source": true,
3681
+ "external_reference": false,
3682
+ "status": "approved",
3683
+ "reliability": "high"
3684
+ },
3685
+ {
3686
+ "id": "SEC-002",
3687
+ "name": "Network Security Config Details",
3688
+ "domain": "Security Indicators",
3689
+ "subdomain": "Network",
3690
+ "description": "Parsed trust-anchors, certificates, pin-set digests, and domain-config cleartext rules.",
3691
+ "source_files": [
3692
+ "res/xml/network_security_config.xml"
3693
+ ],
3694
+ "extraction_type": "direct",
3695
+ "method": "xml_parse",
3696
+ "profile": "fast",
3697
+ "storage": "summary+db",
3698
+ "output_type": "array",
3699
+ "provenance_fields": [
3700
+ "unit_id",
3701
+ "file",
3702
+ "line",
3703
+ "raw_value"
3704
+ ],
3705
+ "deduplicate": true,
3706
+ "preserve_source": true,
3707
+ "external_reference": false,
3708
+ "status": "approved",
3709
+ "reliability": "high"
3710
+ },
3711
+ {
3712
+ "id": "SEC-003",
3713
+ "name": "Custom TrustManager & HostnameVerifier",
3714
+ "domain": "Security Indicators",
3715
+ "subdomain": "TLS",
3716
+ "description": "Implementations of X509TrustManager and HostnameVerifier in Java/Smali.",
3717
+ "source_files": [
3718
+ "04_Java_Src",
3719
+ "smali*"
3720
+ ],
3721
+ "extraction_type": "correlated",
3722
+ "method": "regex_scan",
3723
+ "profile": "standard",
3724
+ "storage": "summary+db",
3725
+ "output_type": "array",
3726
+ "provenance_fields": [
3727
+ "unit_id",
3728
+ "file",
3729
+ "line",
3730
+ "raw_value"
3731
+ ],
3732
+ "deduplicate": true,
3733
+ "preserve_source": true,
3734
+ "external_reference": false,
3735
+ "status": "approved",
3736
+ "reliability": "medium"
3737
+ },
3738
+ {
3739
+ "id": "SEC-004",
3740
+ "name": "WebView Security Settings",
3741
+ "domain": "Security Indicators",
3742
+ "subdomain": "WebView",
3743
+ "description": "Calls to setJavaScriptEnabled, setAllowFileAccess, setWebContentsDebuggingEnabled.",
3744
+ "source_files": [
3745
+ "04_Java_Src"
3746
+ ],
3747
+ "extraction_type": "correlated",
3748
+ "method": "regex_scan",
3749
+ "profile": "standard",
3750
+ "storage": "summary+db",
3751
+ "output_type": "array",
3752
+ "provenance_fields": [
3753
+ "unit_id",
3754
+ "file",
3755
+ "line",
3756
+ "raw_value"
3757
+ ],
3758
+ "deduplicate": true,
3759
+ "preserve_source": true,
3760
+ "external_reference": false,
3761
+ "status": "approved",
3762
+ "reliability": "medium"
3763
+ },
3764
+ {
3765
+ "id": "SEC-005",
3766
+ "name": "Cryptographic APIs & Algorithms",
3767
+ "domain": "Security Indicators",
3768
+ "subdomain": "Crypto",
3769
+ "description": "Cipher.getInstance, MessageDigest, SecretKeySpec, IvParameterSpec, KeyStore calls.",
3770
+ "source_files": [
3771
+ "04_Java_Src",
3772
+ "smali*"
3773
+ ],
3774
+ "extraction_type": "correlated",
3775
+ "method": "regex_scan",
3776
+ "profile": "standard",
3777
+ "storage": "summary+db",
3778
+ "output_type": "array",
3779
+ "provenance_fields": [
3780
+ "unit_id",
3781
+ "file",
3782
+ "line",
3783
+ "raw_value"
3784
+ ],
3785
+ "deduplicate": true,
3786
+ "preserve_source": true,
3787
+ "external_reference": false,
3788
+ "status": "approved",
3789
+ "reliability": "medium"
3790
+ },
3791
+ {
3792
+ "id": "SEC-006",
3793
+ "name": "Anti-Analysis / Tamper / Root Refs",
3794
+ "domain": "Security Indicators",
3795
+ "subdomain": "Hardening",
3796
+ "description": "Code references to root checks, emulator checks, debugger detection, Frida/Xposed checks.",
3797
+ "source_files": [
3798
+ "04_Java_Src",
3799
+ "smali*",
3800
+ "06_Native_Libs"
3801
+ ],
3802
+ "extraction_type": "correlated",
3803
+ "method": "regex_scan",
3804
+ "profile": "standard",
3805
+ "storage": "summary+db",
3806
+ "output_type": "array",
3807
+ "provenance_fields": [
3808
+ "unit_id",
3809
+ "file",
3810
+ "line",
3811
+ "raw_value"
3812
+ ],
3813
+ "deduplicate": true,
3814
+ "preserve_source": true,
3815
+ "external_reference": false,
3816
+ "status": "approved",
3817
+ "reliability": "medium"
3818
+ },
3819
+ {
3820
+ "id": "SEC-007",
3821
+ "name": "Serialization & FileProvider Exposure",
3822
+ "domain": "Security Indicators",
3823
+ "subdomain": "IPC/Storage",
3824
+ "description": "ObjectInputStream/Serializable usage and FileProvider root-path/external-path configs.",
3825
+ "source_files": [
3826
+ "04_Java_Src",
3827
+ "res/xml/*.xml"
3828
+ ],
3829
+ "extraction_type": "correlated",
3830
+ "method": "local_correlation",
3831
+ "profile": "standard",
3832
+ "storage": "summary+db",
3833
+ "output_type": "array",
3834
+ "provenance_fields": [
3835
+ "unit_id",
3836
+ "file",
3837
+ "line",
3838
+ "raw_value"
3839
+ ],
3840
+ "deduplicate": true,
3841
+ "preserve_source": true,
3842
+ "external_reference": false,
3843
+ "status": "approved",
3844
+ "reliability": "medium"
3845
+ },
3846
+ {
3847
+ "id": "SEC-008",
3848
+ "name": "Unprotected Exported Attack Surface",
3849
+ "domain": "Security Indicators",
3850
+ "subdomain": "Components",
3851
+ "description": "Summary of all exported components lacking permission protection.",
3852
+ "source_files": [
3853
+ "AndroidManifest.xml"
3854
+ ],
3855
+ "extraction_type": "correlated",
3856
+ "method": "local_correlation",
3857
+ "profile": "fast",
3858
+ "storage": "summary",
3859
+ "output_type": "array",
3860
+ "provenance_fields": [
3861
+ "unit_id",
3862
+ "file",
3863
+ "line",
3864
+ "raw_value"
3865
+ ],
3866
+ "deduplicate": true,
3867
+ "preserve_source": true,
3868
+ "external_reference": false,
3869
+ "status": "approved",
3870
+ "reliability": "high"
3871
+ },
3872
+ {
3873
+ "id": "BND-001",
3874
+ "name": "Bundle & APK Hierarchy",
3875
+ "domain": "Bundles & Embedded",
3876
+ "subdomain": "Structure",
3877
+ "description": "Main APK, split APKs, and nested embedded APKs with recursion depth & parent links.",
3878
+ "source_files": [
3879
+ "workspace.json"
3880
+ ],
3881
+ "extraction_type": "direct",
3882
+ "method": "workspace_read",
3883
+ "profile": "fast",
3884
+ "storage": "summary",
3885
+ "output_type": "array",
3886
+ "provenance_fields": [
3887
+ "unit_id",
3888
+ "file",
3889
+ "line",
3890
+ "raw_value"
3891
+ ],
3892
+ "deduplicate": true,
3893
+ "preserve_source": true,
3894
+ "external_reference": false,
3895
+ "status": "approved",
3896
+ "reliability": "high"
3897
+ },
3898
+ {
3899
+ "id": "BND-002",
3900
+ "name": "Per-APK Hashes, Sizes & Package Match",
3901
+ "domain": "Bundles & Embedded",
3902
+ "subdomain": "Integrity",
3903
+ "description": "SHA-256, sizes, and whether embedded APKs share or differ in packageName/signing cert.",
3904
+ "source_files": [
3905
+ "workspace.json",
3906
+ "AndroidManifest.xml"
3907
+ ],
3908
+ "extraction_type": "correlated",
3909
+ "method": "local_correlation",
3910
+ "profile": "fast",
3911
+ "storage": "summary",
3912
+ "output_type": "array",
3913
+ "provenance_fields": [
3914
+ "unit_id",
3915
+ "file",
3916
+ "line",
3917
+ "raw_value"
3918
+ ],
3919
+ "deduplicate": true,
3920
+ "preserve_source": true,
3921
+ "external_reference": false,
3922
+ "status": "approved",
3923
+ "reliability": "high"
3924
+ },
3925
+ {
3926
+ "id": "EXT-001",
3927
+ "name": "Permission Risk & Description Enrichment",
3928
+ "domain": "External Enrichment",
3929
+ "subdomain": "Future",
3930
+ "description": "Map permissions to official Android descriptions and risk levels.",
3931
+ "source_files": [
3932
+ "PER-001"
3933
+ ],
3934
+ "extraction_type": "external",
3935
+ "method": "external_db_lookup",
3936
+ "profile": "future",
3937
+ "storage": "enrichment",
3938
+ "output_type": "array",
3939
+ "provenance_fields": [
3940
+ "unit_id",
3941
+ "file",
3942
+ "line",
3943
+ "raw_value"
3944
+ ],
3945
+ "deduplicate": true,
3946
+ "preserve_source": true,
3947
+ "external_reference": true,
3948
+ "status": "approved",
3949
+ "reliability": "external"
3950
+ },
3951
+ {
3952
+ "id": "EXT-002",
3953
+ "name": "SDK & Third-Party Library Vendor ID",
3954
+ "domain": "External Enrichment",
3955
+ "subdomain": "Future",
3956
+ "description": "Identify ad, analytics, and payment SDK vendors from package prefixes.",
3957
+ "source_files": [
3958
+ "COD-001"
3959
+ ],
3960
+ "extraction_type": "external",
3961
+ "method": "external_db_lookup",
3962
+ "profile": "future",
3963
+ "storage": "enrichment",
3964
+ "output_type": "array",
3965
+ "provenance_fields": [
3966
+ "unit_id",
3967
+ "file",
3968
+ "line",
3969
+ "raw_value"
3970
+ ],
3971
+ "deduplicate": true,
3972
+ "preserve_source": true,
3973
+ "external_reference": true,
3974
+ "status": "approved",
3975
+ "reliability": "external"
3976
+ },
3977
+ {
3978
+ "id": "EXT-003",
3979
+ "name": "Tracker & Ad Domain Classification",
3980
+ "domain": "External Enrichment",
3981
+ "subdomain": "Future",
3982
+ "description": "Match extracted domains against curated tracker/ad domain lists.",
3983
+ "source_files": [
3984
+ "NET-001"
3985
+ ],
3986
+ "extraction_type": "external",
3987
+ "method": "external_db_lookup",
3988
+ "profile": "future",
3989
+ "storage": "enrichment",
3990
+ "output_type": "array",
3991
+ "provenance_fields": [
3992
+ "unit_id",
3993
+ "file",
3994
+ "line",
3995
+ "raw_value"
3996
+ ],
3997
+ "deduplicate": true,
3998
+ "preserve_source": true,
3999
+ "external_reference": true,
4000
+ "status": "approved",
4001
+ "reliability": "external"
4002
+ },
4003
+ {
4004
+ "id": "EXT-004",
4005
+ "name": "API Key Provider Verification",
4006
+ "domain": "External Enrichment",
4007
+ "subdomain": "Future",
4008
+ "description": "Classify provider type of extracted API keys via signature databases.",
4009
+ "source_files": [
4010
+ "CFG-004"
4011
+ ],
4012
+ "extraction_type": "external",
4013
+ "method": "external_db_lookup",
4014
+ "profile": "future",
4015
+ "storage": "enrichment",
4016
+ "output_type": "array",
4017
+ "provenance_fields": [
4018
+ "unit_id",
4019
+ "file",
4020
+ "line",
4021
+ "raw_value"
4022
+ ],
4023
+ "deduplicate": true,
4024
+ "preserve_source": true,
4025
+ "external_reference": true,
4026
+ "status": "approved",
4027
+ "reliability": "external"
4028
+ },
4029
+ {
4030
+ "id": "EXT-005",
4031
+ "name": "Known Vulnerable Library / CVE Lookup",
4032
+ "domain": "External Enrichment",
4033
+ "subdomain": "Future",
4034
+ "description": "Match native/Java library versions against offline CVE feeds.",
4035
+ "source_files": [
4036
+ "NAT-001",
4037
+ "COD-001"
4038
+ ],
4039
+ "extraction_type": "external",
4040
+ "method": "external_db_lookup",
4041
+ "profile": "future",
4042
+ "storage": "enrichment",
4043
+ "output_type": "array",
4044
+ "provenance_fields": [
4045
+ "unit_id",
4046
+ "file",
4047
+ "line",
4048
+ "raw_value"
4049
+ ],
4050
+ "deduplicate": true,
4051
+ "preserve_source": true,
4052
+ "external_reference": true,
4053
+ "status": "approved",
4054
+ "reliability": "external"
4055
+ }
4056
+ ]
4057
+ }