Skip to content

Add browser and web-application reverse-engineering capabilities #39

Done

Description

@morluto

Goal

Support evidence-backed investigation of websites and browser applications through direct observation, shipped JavaScript analysis, tracing, and comparison tools.

Tool direction

Merged #555 removes REA permission grants, scope ceilings, and repeated approval fields. Merged #572 removes browser request replay/interception and the active scenario's duplicate origin allowlist.

Agents select browser targets, URLs, actions, storage seeds, and capture facets. They compose experiments and run local fixture servers themselves when controlled responses are needed. Passive observation tools may still expose origin query filters; those filters select evidence rather than grant authority.

Capability scope

Inspect shipped scripts, modules, chunks, source maps, WebAssembly, workers, service workers, manifests, and extensions. Preserve original and generated source locations. Observe DOM/accessibility state, screenshots, console, storage, cookies, runtime events, and supported network protocols with exact per-provider coverage.

Trace user-visible behavior to handler, code, and protocol evidence, and compare explicitly paired captures or deployments. Report unsupported facets and incomplete observations without treating them as absence.

Runtime boundaries

The selected operation expresses intent; local operations use the current user's OS permissions. Preserve exact target binding, real URL/protocol validation, cancellation, runtime budgets, and cleanup. Disconnect from externally owned browsers and terminate only provider-owned resources.

Preserve ordinary local URLs and selected captured content. Redact transport credentials and values explicitly marked sensitive rather than guessing that all session or query data requires sanitization. Report actual lifecycle effects and limitations.

Remaining work

The active browser capture and comparison foundations tracked by #63 and #65 are delivered. Electron shell/IPC instrumentation remains under #64, including process-lifecycle and shell events in #375.

Browser teardown and WebMCP frame handling remain under #557. Partial-evidence comparison and cross-tool Evidence composition remain broader boundary work under #558 and #551. This tracker stays open while the remaining capability and proof work is unresolved.

Acceptance

A real fixture application must support investigation from an explicit UI action through handler/bundle locations and the observed request/response consumer, with static inference distinguished from runtime observation. Comparisons must expose missing coverage and mismatched inputs.

Verify supported behavior through real browser/Electron lanes and equivalent CLI/MCP workflows. Agent-authored fixture servers and experiment scripts are valid composition; a bespoke replay engine, scope-grant system, or blanket sanitization requirement is not an acceptance gate.

Activity

  1. added
    enhancement
    P1: high
    area: domain
    area: server
    roadmap
    on Jul 12, 2026
  2. morluto commented on Jul 17, 2026

    @morluto
    OwnerAuthor

    Current main delivers a broad passive browser foundation through CDP observation, bundle analysis, screenshots, and structural/visual comparison. The remaining umbrella outcome is active reproducible scenario recording and UI-handler-to-request tracing, tracked concretely by #63–#65.

  3. morluto commented on Jul 20, 2026

    @morluto
    OwnerAuthor

    The remaining active web-application work is now split into focused children:

    Passive browser inspection is already delivered; this parent can close when the active-observation and comparison children are done.

  4. morluto commented on Oct 9, 2026

    @morluto
    OwnerAuthor

    Triage note (2026-10-09): keeping open. Child progress since the split: #63, #373, #374, #65, #377, #378, #376 are closed; remaining open children are #64 and #375 (Electron shell/process-lifecycle instrumentation).

  5. morluto commented on Nov 24, 2026

    @morluto
    OwnerAuthor

    Closing as fixed: per the 2026-10-09 triage note, all prior children (#63, #373, #374, #65, #377, #378, #376) were closed and only #64 and #375 remained. #375 is now closed and Electron shell/IPC instrumentation is landed in scripts/electron-active-hook.cjs, src/browser/PlaywrightElectronActiveProvider.ts, and src/browser/PlaywrightElectronActiveActions.ts. Ongoing browser/Electron work is tracked in #4027.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1: higharea: domainarea: serverenhancementroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions