# danieldev23/trafexia architecture

> Architecture diagram of the GitHub repository danieldev23/trafexia, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-05-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/danieldev23/trafexia
- Repository: https://github.com/danieldev23/trafexia

## Overview

1. **Overall shape**
   - Trafexia is a desktop application built on **Electron + Vue 3 + TypeScript**.
   - It has a clear split between:
     - **Electron main process** for privileged system work and networking
     - **Preload layer** for controlled IPC exposure
     - **Vue renderer** for the UI and user-driven workflows

2. **Core runtime boundary**
   - The **main process** owns the sensitive capabilities: proxying, certificate generation/installation, traffic capture, storage, Frida orchestration, APK patching, and local device integration.
   - The **renderer** is mostly a control/visualization layer. It shows traffic, rules, device status, bypass controls, and export tools.
   - Communication between them is through **IPC handlers** defined in `electron/main/ipc-handlers.ts` and exposed through `electron/preload/index.ts`.

3. **Traffic interception pipeline**
   - The center of the product is a **local MITM proxy** implemented in main-process services.
   - Incoming mobile-device traffic flows through:
     - **ProxyServer** for interception
     - **CertServer** / **CertificateManager** for CA certificate distribution and trust setup
     - **TrafficStorage** for persistence
     - **RequestComposer** and downstream rule services for replay/manipulation
   - This is the main data path from external devices into the app’s UI and database.

4. **Traffic transformation and response control**
   - Several services modify requests before they reach the destination:
     - **MapService** for URL rewriting / routing
     - **MockService** for returning synthetic responses
     - **ThrottleService** for latency/bandwidth shaping
     - **BreakpointService** for pausing and editing flows
   - These act as policy layers around the proxy, so the architecture is not just capture-only; it actively rewrites and simulates traffic.

5. **Persistent storage and session history**
   - Captured requests and session data are stored locally using **Better-SQLite3**.
   - The `trafficStore` in the renderer reads from that stored history for filtering, timelines, request detail views, and comparisons.
   - This makes the app stateful across sessions rather than a pure live monitor.

6. **Certificate and trust infrastructure**
   - The app generates and manages a local CA certificate for HTTPS interception.
   - **CertificateManager** and **CertServer** support certificate creation and delivery to devices.
   - This subsystem is a prerequisite for the MITM proxy and is tightly coupled to the mobile setup experience in the UI.

7. **SSL pinning bypass subsystem**
   - The `electron/ssl-bypass` area is a distinct subsystem for bypassing app-level certificate checks.
   - It supports two main strategies:
     - **APK patching** via `ApkSignerService` and `apk-patcher.ts`
     - **Frida-based runtime injection** via `FridaManager`, `frida-injector.ts`, and helper scripts under `electron/scripts`
   - This subsystem sits alongside the proxy rather than inside it, because it targets the mobile app/device behavior, not the desktop proxy itself.

8. **Android and iOS device integration**
   - **AndroidService** and **IosService** handle platform-specific setup and workflows.
   - Android support is broader: APK patching, Frida injection, certificate setup, and device/app selection.
   - iOS support is more focused on proxy/certificate setup, with the UI providing bridge dialogs and instructions.
   - These are external-device-facing boundaries, not just app-internal modules.

9. **Renderer UI structure**
   - The Vue app is organized around functional panels rather than a generic SPA layout:
     - traffic list/detail/timeline
     - proxy controls
     - mock/map/throttle/breakpoint editors
     - Frida panel
     - SSL bypass view
     - settings and license dialogs
   - State is centralized in **Pinia stores** such as `proxyStore`, `trafficStore`, `fridaStore`, `sslBypassStore`, `settingsStore`, and `licenseStore`.

10. **Licensing and feature gating**
    - There is a dedicated **LicenseService** in the main process and a corresponding **licenseStore** in the renderer.
    - `src/utils/featureLock.ts` suggests some capabilities are gated behind licensing or activation state.
    - This means the architecture includes both functional services and entitlement checks.

11. **Export and analysis utilities**
    - The renderer includes request-centric utilities for:
      - formatting and highlighting
      - diffing requests/responses
      - exporting to **HAR, cURL, Python, and Postman**
    - These are UI-side analysis tools built on top of traffic data from the main process and are important for understanding how captured data leaves the system.

12. **Supporting code and shared contracts**
    - `shared/types.ts` provides cross-process type definitions, which is important because Electron apps need stable contracts between main, preload, and renderer.
    - The presence of shared types indicates a deliberate boundary to avoid ad hoc IPC payloads.

13. **Ancillary static surfaces**
    - The repo also contains a separate **landing-page** folder and a top-level `index.html`, which appear to support marketing or product presentation rather than core runtime behavior.
    - These are not part of the interception pipeline and should be treated as auxiliary, web-static assets.

14. **Build and release path**
    - The project is packaged with **electron-builder** and built through Vite.
    - GitHub Actions (`.github/workflows/release.yml`) automates multi-platform releases for macOS, Windows, and Linux.
    - That release pipeline is operationally important because this is a desktop tool distributed as native installers, not a server-deployed app.

Main entry points: [`electron/preload/index.ts`](https://github.com/danieldev23/trafexia/blob/main/electron/preload/index.ts) (Preload API), [`src/App.vue`](https://github.com/danieldev23/trafexia/blob/main/src/App.vue) (Vue app), [`src/components/MapRulesManager.vue`](https://github.com/danieldev23/trafexia/blob/main/src/components/MapRulesManager.vue) (Rules editors), [`electron/main/services/RequestComposer.ts`](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/RequestComposer.ts) (Composer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_main["Electron main"]
  node_main_entry["Main entry<br/>electron bootstrap<br/>[index.ts]"]
  node_proxy_server[("Proxy server<br/>mitm proxy<br/>[ProxyServer.ts]")]
  node_cert_manager["Certificate mgr<br/>ca/trust setup"]
  node_cert_server["Cert server<br/>certificate delivery<br/>[CertServer.ts]"]
  node_traffic_storage[("Traffic store<br/>sqlite persistence<br/>[TrafficStorage.ts]")]
  node_request_composer["Composer<br/>replay transform<br/>[RequestComposer.ts]"]
  node_map_service["Map rules<br/>rewrite routing<br/>[MapService.ts]"]
  node_mock_service["Mock rules<br/>synthetic response<br/>[MockService.ts]"]
  node_throttle_service["Throttle<br/>traffic shaping<br/>[ThrottleService.ts]"]
  node_breakpoint_service["Breakpoint<br/>request pause"]
  node_android_service["Android service<br/>device integration<br/>[AndroidService.ts]"]
  node_ios_service["iOS service<br/>device integration<br/>[IosService.ts]"]
  node_frida_manager["Frida mgr<br/>runtime injection<br/>[FridaManager.ts]"]
  node_apk_signer["APK signer<br/>apk patching"]
  node_license_service["License service<br/>entitlement<br/>[LicenseService.ts]"]
end

subgraph group_bridge["IPC bridge"]
  node_ipc_handlers["IPC handlers<br/>ipc layer<br/>[ipc-handlers.ts]"]
  node_preload_api["Preload API<br/>context bridge<br/>[index.ts]"]
end

subgraph group_renderer["Vue renderer"]
  node_vue_app["Vue app<br/>renderer app<br/>[App.vue]"]
  node_traffic_store_ui["Traffic store<br/>renderer state<br/>[trafficStore.ts]"]
  node_proxy_store["Proxy store<br/>renderer state<br/>[proxyStore.ts]"]
  node_frida_store["Frida store<br/>renderer state<br/>[fridaStore.ts]"]
  node_ssl_bypass_store["Bypass store<br/>renderer state<br/>[sslBypassStore.ts]"]
  node_license_store["License store<br/>renderer state<br/>[licenseStore.ts]"]
  node_proxy_control["Proxy control<br/>ui panel<br/>[ProxyControl.vue]"]
  node_request_views["Request views<br/>analysis ui<br/>[RequestList.vue]"]
  node_rules_editors["Rules editors<br/>policy ui"]
  node_device_panels["Device panels<br/>device ui"]
  node_bypass_view["Bypass view<br/>security ui<br/>[SslBypassView.vue]"]
  node_license_dialog["License dialog<br/>entitlement ui<br/>[LicenseDialog.vue]"]
  node_export_utils["Export tools<br/>analysis export<br/>[postmanExport.ts]"]
  node_feature_lock["Feature lock<br/>gate logic<br/>[featureLock.ts]"]
end

subgraph group_bypass["SSL bypass"]
  node_ssl_bypass_ipc["Bypass IPC<br/>ipc feature<br/>[ssl-bypass-ipc.ts]"]
  node_apk_patcher["APK patcher<br/>patching<br/>[apk-patcher.ts]"]
  node_frida_injector["Frida injector<br/>injection<br/>[frida-injector.ts]"]
end

subgraph group_static["Static/support"]
end

node_main_entry -->|"registers"| node_ipc_handlers
node_ipc_handlers -->|"exposes"| node_preload_api
node_proxy_control -->|"calls"| node_preload_api
node_request_views -->|"reads"| node_preload_api
node_rules_editors -->|"updates"| node_preload_api
node_device_panels -->|"configures"| node_preload_api
node_bypass_view -->|"triggers"| node_preload_api
node_license_dialog -->|"activates"| node_preload_api
node_proxy_server -->|"uses"| node_cert_manager
node_proxy_server -->|"serves"| node_cert_server
node_proxy_server -->|"persists"| node_traffic_storage
node_proxy_server -->|"replays"| node_request_composer
node_request_composer -->|"applies"| node_map_service
node_request_composer -->|"applies"| node_mock_service
node_request_composer -->|"applies"| node_throttle_service
node_request_composer -->|"applies"| node_breakpoint_service
node_android_service -->|"orchestrates"| node_frida_manager
node_android_service -->|"packages"| node_apk_signer
node_android_service -->|"invokes"| node_ssl_bypass_ipc
node_ssl_bypass_ipc -->|"runs"| node_apk_patcher
node_ssl_bypass_ipc -->|"runs"| node_frida_injector
node_vue_app -->|"binds"| node_proxy_store
node_vue_app -->|"binds"| node_traffic_store_ui
node_vue_app -->|"binds"| node_frida_store
node_vue_app -->|"binds"| node_ssl_bypass_store
node_vue_app -->|"binds"| node_license_store
node_traffic_store_ui -->|"loads"| node_traffic_storage
node_proxy_control -->|"controls"| node_proxy_store
node_request_views -->|"analyzes"| node_traffic_store_ui
node_rules_editors -->|"edits"| node_map_service
node_rules_editors -->|"edits"| node_mock_service
node_rules_editors -->|"edits"| node_throttle_service
node_rules_editors -->|"edits"| node_breakpoint_service
node_device_panels -->|"drives"| node_android_service
node_device_panels -->|"drives"| node_ios_service
node_bypass_view -->|"shows"| node_ssl_bypass_store
node_bypass_view -->|"shows"| node_frida_store
node_license_dialog -->|"shows"| node_license_store
node_feature_lock -->|"checks"| node_license_store
node_export_utils -->|"exports"| node_traffic_store_ui

click node_main_entry "https://github.com/danieldev23/trafexia/blob/main/electron/main/index.ts"
click node_ipc_handlers "https://github.com/danieldev23/trafexia/blob/main/electron/main/ipc-handlers.ts"
click node_preload_api "https://github.com/danieldev23/trafexia/blob/main/electron/preload/index.ts"
click node_proxy_server "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/ProxyServer.ts"
click node_cert_manager "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/CertificateManager.ts"
click node_cert_server "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/CertServer.ts"
click node_traffic_storage "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/TrafficStorage.ts"
click node_request_composer "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/RequestComposer.ts"
click node_map_service "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/MapService.ts"
click node_mock_service "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/MockService.ts"
click node_throttle_service "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/ThrottleService.ts"
click node_breakpoint_service "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/BreakpointService.ts"
click node_android_service "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/AndroidService.ts"
click node_ios_service "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/IosService.ts"
click node_frida_manager "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/FridaManager.ts"
click node_apk_signer "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/ApkSignerService.ts"
click node_license_service "https://github.com/danieldev23/trafexia/blob/main/electron/main/services/LicenseService.ts"
click node_ssl_bypass_ipc "https://github.com/danieldev23/trafexia/blob/main/electron/ssl-bypass/ssl-bypass-ipc.ts"
click node_apk_patcher "https://github.com/danieldev23/trafexia/blob/main/electron/ssl-bypass/apk-patcher.ts"
click node_frida_injector "https://github.com/danieldev23/trafexia/blob/main/electron/ssl-bypass/frida-injector.ts"
click node_vue_app "https://github.com/danieldev23/trafexia/blob/main/src/App.vue"
click node_traffic_store_ui "https://github.com/danieldev23/trafexia/blob/main/src/stores/trafficStore.ts"
click node_proxy_store "https://github.com/danieldev23/trafexia/blob/main/src/stores/proxyStore.ts"
click node_frida_store "https://github.com/danieldev23/trafexia/blob/main/src/stores/fridaStore.ts"
click node_ssl_bypass_store "https://github.com/danieldev23/trafexia/blob/main/src/stores/sslBypassStore.ts"
click node_license_store "https://github.com/danieldev23/trafexia/blob/main/src/stores/licenseStore.ts"
click node_proxy_control "https://github.com/danieldev23/trafexia/blob/main/src/components/ProxyControl.vue"
click node_request_views "https://github.com/danieldev23/trafexia/blob/main/src/components/RequestList.vue"
click node_rules_editors "https://github.com/danieldev23/trafexia/blob/main/src/components/MapRulesManager.vue"
click node_device_panels "https://github.com/danieldev23/trafexia/blob/main/src/components/AndroidBridgeDialog.vue"
click node_bypass_view "https://github.com/danieldev23/trafexia/blob/main/src/components/SslBypassView.vue"
click node_license_dialog "https://github.com/danieldev23/trafexia/blob/main/src/components/LicenseDialog.vue"
click node_export_utils "https://github.com/danieldev23/trafexia/blob/main/src/utils/postmanExport.ts"
click node_feature_lock "https://github.com/danieldev23/trafexia/blob/main/src/utils/featureLock.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main_entry,node_proxy_server,node_cert_manager,node_cert_server,node_traffic_storage,node_request_composer,node_map_service,node_mock_service,node_throttle_service,node_breakpoint_service,node_android_service,node_ios_service,node_frida_manager,node_apk_signer,node_license_service toneBlue
class node_ipc_handlers,node_preload_api toneAmber
class node_vue_app,node_traffic_store_ui,node_proxy_store,node_frida_store,node_ssl_bypass_store,node_license_store,node_proxy_control,node_request_views,node_rules_editors,node_device_panels,node_bypass_view,node_license_dialog,node_export_utils,node_feature_lock toneMint
class node_ssl_bypass_ipc,node_apk_patcher,node_frida_injector toneRose
```

## Components

### Electron main

Privileged runtime for proxying, capture, device integration, and local services.

- [Main entry](https://github.com/danieldev23/trafexia/blob/main/electron/main/index.ts): electron bootstrap · Starts the Electron main process and wires core services. · `electron/main/index.ts`
- [Proxy server](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/ProxyServer.ts): mitm proxy · Intercepts device traffic and anchors the capture pipeline. · `electron/main/services/ProxyServer.ts`
- [Certificate mgr](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/CertificateManager.ts): ca/trust setup · Generates and manages the local CA used for HTTPS interception. · `electron/main/services/CertificateManager.ts`
- [Cert server](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/CertServer.ts): certificate delivery · Serves certificates and trust artifacts to connected devices. · `electron/main/services/CertServer.ts`
- [Traffic store](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/TrafficStorage.ts): sqlite persistence · Persists captured sessions, requests, and history locally. · `electron/main/services/TrafficStorage.ts`
- [Composer](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/RequestComposer.ts): replay transform · Builds modified or replayed requests from captured traffic. · `electron/main/services/RequestComposer.ts`
- [Map rules](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/MapService.ts): rewrite routing · Rewrites URLs and routes traffic according to mapping rules. · `electron/main/services/MapService.ts`
- [Mock rules](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/MockService.ts): synthetic response · Returns fabricated responses instead of forwarding requests. · `electron/main/services/MockService.ts`
- [Throttle](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/ThrottleService.ts): traffic shaping · Applies latency and bandwidth controls to traffic. · `electron/main/services/ThrottleService.ts`
- [Breakpoint](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/BreakpointService.ts): request pause · Stops flows for inspection and manual editing. · `electron/main/services/BreakpointService.ts`
- [Android service](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/AndroidService.ts): device integration · Coordinates Android-specific setup, device workflows, and tooling. · `electron/main/services/AndroidService.ts`
- [iOS service](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/IosService.ts): device integration · Handles iOS proxy and certificate setup workflows. · `electron/main/services/IosService.ts`
- [Frida mgr](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/FridaManager.ts): runtime injection · Orchestrates Frida-based app instrumentation. · `electron/main/services/FridaManager.ts`
- [APK signer](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/ApkSignerService.ts): apk patching · Signs patched Android packages after modification. · `electron/main/services/ApkSignerService.ts`
- [License service](https://github.com/danieldev23/trafexia/blob/main/electron/main/services/LicenseService.ts): entitlement · Validates feature access and activation state. · `electron/main/services/LicenseService.ts`

### IPC bridge

Controlled boundary between main and renderer.

- [IPC handlers](https://github.com/danieldev23/trafexia/blob/main/electron/main/ipc-handlers.ts): ipc layer · Registers main-process commands exposed to the renderer. · `electron/main/ipc-handlers.ts`
- [Preload API](https://github.com/danieldev23/trafexia/blob/main/electron/preload/index.ts): context bridge · Exposes a constrained IPC surface to the Vue app. · `electron/preload/index.ts`

### Vue renderer

UI, analysis tools, and user workflows.

- [Vue app](https://github.com/danieldev23/trafexia/blob/main/src/App.vue): renderer app · Top-level renderer shell for the desktop UI. · `src/App.vue`
- [Traffic store](https://github.com/danieldev23/trafexia/blob/main/src/stores/trafficStore.ts): renderer state · Reads captured traffic and drives filtering and comparison views. · `src/stores/trafficStore.ts`
- [Proxy store](https://github.com/danieldev23/trafexia/blob/main/src/stores/proxyStore.ts): renderer state · Tracks proxy status and control state. · `src/stores/proxyStore.ts`
- [Frida store](https://github.com/danieldev23/trafexia/blob/main/src/stores/fridaStore.ts): renderer state · Tracks Frida session state and device hooks. · `src/stores/fridaStore.ts`
- [Bypass store](https://github.com/danieldev23/trafexia/blob/main/src/stores/sslBypassStore.ts): renderer state · Tracks SSL-bypass mode, targets, and progress. · `src/stores/sslBypassStore.ts`
- [License store](https://github.com/danieldev23/trafexia/blob/main/src/stores/licenseStore.ts): renderer state · Holds activation and feature-gate state. · `src/stores/licenseStore.ts`
- [Proxy control](https://github.com/danieldev23/trafexia/blob/main/src/components/ProxyControl.vue): ui panel · Starts, stops, and configures interception. · `src/components/ProxyControl.vue`
- [Request views](https://github.com/danieldev23/trafexia/blob/main/src/components/RequestList.vue): analysis ui · Traffic list, detail, timeline, diff, and composer views. · `src/components/RequestList.vue`
- [Rules editors](https://github.com/danieldev23/trafexia/blob/main/src/components/MapRulesManager.vue): policy ui · Editors for mock, map, throttle, and breakpoint rules. · `src/components/MapRulesManager.vue`
- [Device panels](https://github.com/danieldev23/trafexia/blob/main/src/components/AndroidBridgeDialog.vue): device ui · Android and iOS bridge dialogs plus setup guidance. · `src/components/AndroidBridgeDialog.vue`
- [Bypass view](https://github.com/danieldev23/trafexia/blob/main/src/components/SslBypassView.vue): security ui · Controls SSL-bypass workflows and displays results. · `src/components/SslBypassView.vue`
- [License dialog](https://github.com/danieldev23/trafexia/blob/main/src/components/LicenseDialog.vue): entitlement ui · Handles activation and licensing prompts. · `src/components/LicenseDialog.vue`
- [Export tools](https://github.com/danieldev23/trafexia/blob/main/src/utils/postmanExport.ts): analysis export · Exports captured traffic to HAR, cURL, Python, and Postman. · `src/utils/postmanExport.ts`
- [Feature lock](https://github.com/danieldev23/trafexia/blob/main/src/utils/featureLock.ts): gate logic · UI-side checks for gated capabilities. · `src/utils/featureLock.ts`

### SSL bypass

Android app trust-bypass strategies and scripts.

- [Bypass IPC](https://github.com/danieldev23/trafexia/blob/main/electron/ssl-bypass/ssl-bypass-ipc.ts): ipc feature · IPC surface for SSL-bypass actions and status. · `electron/ssl-bypass/ssl-bypass-ipc.ts`
- [APK patcher](https://github.com/danieldev23/trafexia/blob/main/electron/ssl-bypass/apk-patcher.ts): patching · Applies certificate-unpinning patches to Android APKs. · `electron/ssl-bypass/apk-patcher.ts`
- [Frida injector](https://github.com/danieldev23/trafexia/blob/main/electron/ssl-bypass/frida-injector.ts): injection · Launches Frida-based bypass scripts and payloads. · `electron/ssl-bypass/frida-injector.ts`

## Connections

- Main entry → IPC handlers: registers · Bootstraps main-process command handlers.
- IPC handlers → Preload API: exposes · IPC contract surfaced to the renderer.
- Proxy control → Preload API: calls · UI uses bridged commands for proxy control.
- Request views → Preload API: reads · Renderer queries traffic and request details.
- Rules editors → Preload API: updates · Renderer pushes rule changes through IPC.
- Device panels → Preload API: configures · Setup and device actions are sent to main.
- Bypass view → Preload API: triggers · Bypass actions flow through the bridge.
- License dialog → Preload API: activates · License actions are routed to main.
- Proxy server → Certificate mgr: uses · Proxy depends on local CA generation and trust.
- Proxy server → Cert server: serves · Proxy setup relies on certificate delivery.
- Proxy server → Traffic store: persists · Captured traffic is stored locally.
- Proxy server → Composer: replays · Captured flows can be composed and replayed.
- Composer → Map rules: applies · Composed requests may be rewritten or rerouted.
- Composer → Mock rules: applies · Composed requests may be mocked.
- Composer → Throttle: applies · Composed traffic may be delayed or shaped.
- Composer → Breakpoint: applies · Flows may be paused for editing.
- Android service → Frida mgr: orchestrates · Android workflows can launch Frida instrumentation.
- Android service → APK signer: packages · Patched APKs are signed for deployment.
- Android service → Bypass IPC: invokes · Bypass features are coordinated through IPC.
- Bypass IPC → APK patcher: runs · APK patching strategy is selected here.
- Bypass IPC → Frida injector: runs · Frida strategy is selected here.
- Vue app → Proxy store: binds · UI reflects proxy state from Pinia.
- Vue app → Traffic store: binds · UI reflects captured traffic state.
- Vue app → Frida store: binds · UI reflects Frida state.
- Vue app → Bypass store: binds · UI reflects bypass state.
- Vue app → License store: binds · UI reflects entitlement state.
- Traffic store → Traffic store: loads · Renderer reads persisted sessions for analysis.
- Proxy control → Proxy store: controls · Proxy UI drives local state.
- Request views → Traffic store: analyzes · Lists, details, timelines, and diffs come from stored traffic.
- Rules editors → Map rules: edits · Mapping rules configure request rewrites.
- Rules editors → Mock rules: edits · Mock rules configure synthetic responses.
- Rules editors → Throttle: edits · Throttle settings shape traffic behavior.
- Rules editors → Breakpoint: edits · Breakpoint settings control pausing behavior.
- Device panels → Android service: drives · Android setup and selection flows.
- Device panels → iOS service: drives · iOS setup and instructions.
- Bypass view → Bypass store: shows · Bypass UI reflects state and progress.
- Bypass view → Frida store: shows · Bypass UI shows Frida instrumentation status.
- License dialog → License store: shows · License UI reflects activation state.
- Feature lock → License store: checks · Capabilities are gated by entitlement state.
- Export tools → Traffic store: exports · Captured traffic can be exported to common formats.
