Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.4 KiB

API Reference — Performing Dynamic Analysis of Android App

Libraries Used

  • frida: Dynamic instrumentation for runtime hooking and SSL pinning detection
  • subprocess: ADB commands for package management, traffic capture, component analysis

CLI Interface

python agent.py [--device <id>] packages
python agent.py [--device <id>] ssl --package <pkg>
python agent.py [--device <id>] components --package <pkg>
python agent.py [--device <id>] storage --package <pkg>
python agent.py [--device <id>] network [--duration 30]

Core Functions

check_ssl_pinning(package_name, device_id)

Uses Frida to hook TrustManagerImpl and OkHostnameVerifier to detect SSL pinning.

analyze_exported_components(package_name, device_id)

Runs dumpsys package to enumerate exported activities, services, receivers, providers.

check_data_storage(package_name, device_id)

Checks shared_prefs and world-readable files via run-as for insecure storage.

capture_network_traffic(device_id, duration, output)

Runs tcpdump on device and pulls pcap via ADB.

Frida API Calls

  • frida.get_usb_device() — Connect to USB device
  • device.spawn([package]) — Launch app
  • session.create_script(js) — Inject JavaScript
  • script.on("message", callback) — Receive hook results

Dependencies

pip install frida frida-tools
# ADB must be installed and device connected