How greekr4/rever-browser works
rever-browser is a Rust desktop workbench pairing an embedded Servo browser with an AI agent for API reverse engineering. Its main loop is capture traffic, analyze scripts and requests, reproduce them in the browser context, verify issues, then automate successful sequences. Red Team mode adds scoped, parallel scanning and findings reports. The graph follows README-documented workflows and sampled module responsibilities; unsampled implementation details are represented only where README explicitly describes the capability.
Main entry points: agent.rs Agent Session · engine.rs Servo Engine · browser.rs Browser Tools · scan.rs Red Team Scan
Components 21
Desktop and Browser
- App State
crates/rever/src/app.rs - App Shell
crates/rever/src/shell/mod.rs - Servo Engine
crates/rever/src/engine.rs
Agent and Tools
- Agent Session
crates/rever/src/agent.rs - Tool Registry
crates/rever-tools-api/src/tool.rs - Browser Tools
crates/rever-tools-browser/src/browser.rs - Browser Gestures
crates/rever-tools-browser/src/gestures.rs - UI Crawler
crates/rever-tools-browser/src/ui_crawl.rs - revb CLI
bin/revb.mjs
Traffic Analysis
- Traffic Capture
crates/rever-tools-traffic/src/traffic.rs - Traffic Panel
crates/rever-ui-traffic/src/traffic_list.rs - Script Analysis
crates/rever-tools-scripts/src/scripts.rs - Security Inspection
crates/rever-tools-inspect/src/js.rs - Request Repeater
crates/rever-tools-http/src/repeater.rs
Security Review
- Red Team Scan
crates/rever-tools-redteam/src/scan.rs - Security Probes
crates/rever-tools-probe/src/args.rs - Findings Report
crates/rever-tools-redteam/src/findings.rs
Workflows and UI
- Workflow Editor
crates/rever-ui-workflows/src/pipeline/pipeline_editor.rs - Workflow Executor
crates/rever-tools-automation/src/workflow_executor.rs
Other components
- Engineer
- Target Site
Connections 24
- Engineer → App State: uses
README.md - App State → App Shell: renders
crates/rever/src/app.rs - App State → Servo Engine: manages tabs
crates/rever/src/engine.rs - Engineer → Servo Engine: browses target
README.md - Servo Engine → Traffic Capture: captures requests
README.md - Traffic Capture → Traffic Panel: shows traffic
README.md - Agent Session → revb CLI: invokes tools
README.md - revb CLI → Tool Registry: reaches socket
README.md - Tool Registry → Browser Tools: dispatches
- Browser Tools → Servo Engine: drives tab
README.md - Browser Tools → Browser Gestures: uses gestures
crates/rever-tools-browser/src/lib.rs - Browser Tools → UI Crawler: crawls UI
README.md - Agent Session → Traffic Capture: reads requests
README.md - Agent Session → Script Analysis: analyzes scripts
README.md - Agent Session → Security Inspection: inspects security
README.md - Agent Session → Request Repeater: replays requests
README.md - Agent Session → Red Team Scan: runs scan
README.md - Red Team Scan → UI Crawler: scans pages
README.md - Red Team Scan → Security Probes: runs probes
README.md - Red Team Scan → Findings Report: records findings
README.md - Agent Session → Workflow Editor: creates macros
README.md - Workflow Editor → Workflow Executor: defines replay
README.md - Workflow Executor → revb CLI: exports commands
README.md - Servo Engine → Target Site: loads pages
README.md