Skip to content

v0.1.0 — Clearance ladder, authenticated recon, cross-identity sweep, sandboxed tab groups

Choose a tag to compare

@github-actions github-actions released this 16 Oct 07:45
· 30 commits to main since this release

The release leads with the challenge-clearance ladder — walls are cleared, not
handed off — plus deep authenticated recon over the operator's real Chrome,
dynamic-component correctness, and first-run / stability hardening for a
hands-off release window. No breaking API changes (still pre-1.0).

Added

  • Challenge-clearance ladder — walls are now cleared, not handed off. The
    old detect-and-hand-off rule is reversed.
    A four-rung ladder runs at the three navigation choke points (cli._goto,
    mcp_server._goto, cdp_pipe.outer_html): reuse carried cf_clearance
    clearance → stealth hygiene on the --stealth transport (no more
    Runtime.enable/Runtime.evaluate over the CDP pipe — the mid-load signal
    bot vendors fingerprint) → bundled solver adapters (CapSolver / 2Captcha /
    Anti-Captcha / any custom ZERODOM_SOLVER_URL endpoint; opt-in, scope-gated
    like every action, --no-solver / ZERODOM_NO_SOLVER refuses, spend logged)
    → relay hand-off to the operator. Success lands in
    metadata["cleared"] (rung, wall kind, attempts, seconds, spend); a wall no
    rung clears keeps the honest metadata["blocked"]. CLI gains --no-solver
    and zerodom config set/get/list (~/.zerodom/config.json, env wins, keys
    never printed).

  • benchmarks/benchmark_clearance.py: per-rung clearance rate against a
    deterministic local fixture wall plus the authorized live wall list
    (nowsecure.nl, turnstile/reCAPTCHA/hCaptcha demos, ZERODOM_E2E=1); writes
    benchmarks/CLEARANCE.md. tests/test_clearance.py covers rung order, the
    kill switch, scope refusal, the fake-provider solve flow, MCP surfacing, and
    the cdp_pipe no-Runtime.* regression.

  • Relay-backed crawl (Phase 1): zerodom crawl --relay and the
    zerodom_crawl MCP tool walk the operator's real, logged-in Chrome instead of
    a fresh headless profile — same BFS, scope, deny regex and JSONL records;
    challenge-interstitial nodes are recorded as blocked and not descended
    into. crawl has no stealth transport (the CDP pipe is fetch-only) and says
    so. Live-identity replay (Phase 2) now routes through an in-page credentialed
    fetch in the attached tab, so the request leaves Chrome's own network
    stack; registered second identities still use the HTTP client and their
    docstrings no longer claim Chrome's fingerprint. Scope (Phase 4): eval_js
    refuses obvious cross-origin navigation when a scope is locked, any
    navigating tool re-asserts the final post-redirect URL, and
    tests/test_scope_escape.py table-drives every escape vector to refusal.

  • Dynamic-component correctness (Phase 3): _act's pre-action identity
    check re-resolves a re-read node by identity (tag + input_type + label),
    not by its positional id, so reorder churn can never mis-click — zero or
    ambiguous matches refuse with "page changed under us". Closed shadow roots
    surface as metadata["closed_shadow_hosts"] so coverage isn't overstated.
    zerodom-demo/ is now a fixture app (virtualized churn, open shadow root,
    delayed hydration) with a Chromium-gated CI suite
    tests/test_dynamic_components.py.

  • benchmarks/benchmark_session.py / benchmark_crawl.py: session-reuse
    (headless/stealth/relay) and crawl-coverage (routes+APIs recall, framed
    against the OWASP WSTG recon checklist) benchmarks; write SESSION.md /
    CRAWL.md. Relay legs skip honestly when no relay is listening — they never
    spawn one or close the operator's browser. Crawl now uses a desktop viewport
    (1920×1080) so responsive navs are in their expanded state.

  • zerodom setup — a guided first-run: checks for Chromium, prints the unpacked
    extension path and the chrome://extensions steps, emits the MCP config JSON for
    Claude Desktop / Cursor, and reports relay reachability. Print-and-guide, no account,
    no telemetry.

  • zerodom sweep URL --as A=a.json --as B=b.json — the one-command
    cross-identity sweep: crawl the app as one identity to map its GET surface, then
    replay every in-scope URL under all identities and report the deterministic
    access-control tells — cross-identity-identical-response (byte-identical 2xx
    body = cross-tenant IDOR) and access-boundary-split (2xx vs 401/403 = broken
    access control if the only difference is client-controllable). Read-only (GET-only
    replay, destructive URLs dropped); --format jsonl|md. Thin orchestration over the
    existing crawl + compare primitives; regression-tested.

  • Community rule packs (surfaces/) — Nuclei-style, PR-able YAML detection
    packs (secrets.yaml, admin-surfaces.yaml) loadable via --rules, with a
    "write a detection in 5 lines" guide (surfaces/README.md, CONTRIBUTING.md).
    tests/test_surfaces.py loads every pack so a malformed rule fails CI.

  • zerodom scan --format md — emit findings as a GitHub-flavoured Markdown
    table (pipes/newlines in a cell escaped) that pastes straight into a HackerOne
    report, GitHub issue or Jira ticket. Default stays jsonl (pipe-friendly).

  • Named, sandboxed tab groups (relay mode). Six MCP tools —
    zerodom_create_group / list_groups / use_group / close_group /
    adopt_group / restore_groups — give the agent named, colored Chrome tab
    groups that persist across a browser restart (groups and their tabs). Once the
    agent owns a group, the extension refuses to attach to any tab outside its
    groups; no groups = sandbox off (backward compatible). The ops ride a dedicated
    /control WebSocket on the relay, since they aren't CDP.

Changed

  • Dependency bounds tightened for the freeze. mcp[cli]>=2.2,<3 (a lower bound so a
    resolver can't pick a pre-MCPServer release and import-crash the server) and
    websockets<15 (the relay couples to a server API that shifted across majors). lxml/
    tiktoken/pyyaml stay uncapped for embeddability.
  • .mcpb bundle now declares the correct uv server type and pins the current
    version.

Fixed

  • Missing Chromium is handled on first run. The CLI installs it once
    ("Installing Chromium (~150MB, first run only)…") and retries when run at a
    terminal; piped/CI runs get the one-line install hint. The MCP server never
    downloads mid-tool-call — it returns Chromium isn't installed. Run once: uvx --from zerodom playwright install chromium.
  • First-run no longer hangs. Calling an MCP tool before the extension is connected
    now fails fast (~10s) with a "load and connect the extension" message instead of a
    ~30s opaque timeout; the relay closes an unattached CDP socket cleanly.
  • Sensitive-field fill refusal now matches the on-page UI exactly (the passw
    prefix), so a field like Passwort/passwd the UI marks sensitive is also refused
    server-side — closing an under-refusal gap.
  • zerodom audit prints the one-line playwright install chromium hint instead of a
    raw traceback when Chromium isn't installed.
  • Multi-tab crash recovery no longer hands back dead tab handles after a restart on
    an attached session.
  • Relay rejects Origin: null (sandboxed-iframe / file:// page origins), closing a
    residual of the page-origin connection guard.
  • compare / --storage-state now send every cookie, not just the last. The
    plain-HTTP fetch built the Cookie header with a per-cookie add_header, which
    overwrites — so a multi-cookie session (e.g. a role cookie + the session) dropped all
    but the last, silently breaking the two-identity IDOR diff (both identities came back
    identical). Joined into one header; regression-tested.
  • zerodom_add_identity no longer forces a browser attach. A registered identity is
    a pure HTTP client (Playwright APIRequestContext); registration used to bootstrap the
    live browser/relay, so it failed in any session without the extension attached (headless
    / CI). It now starts only Playwright. Regression-tested.
  • zerodom_compare_identities flags the access-control boundary, not just identical
    bodies.
    When responses differ but one identity is authorized (2xx) and another denied
    (401/403), it now calls out broken access control if the only difference between the
    identities is client-controllable (a cookie/header/param) — it previously reported
    "properly isolated", hiding a privilege-escalation tell.

Docs

  • Expanded the Limitations section (static-fetch vs --render, unpacked-only extension,
    POSIX-only --stealth, single MCP session, compare's two-identity requirement) and
    added an explicit safety-posture note.
  • Honest, consistent IDOR positioning across the site — ZeroDOM provides the
    access-control primitives and surfaces the tell; you confirm the bug.
  • Open-core edition. README now carries the local / accountless / zero-egress
    promise, an editions table (Core = this repo, Apache-2.0; Enterprise = additive
    team/compliance/support), and a Commercial Support section. SECURITY.md states
    the egress posture honestly (zero telemetry; outbound only to your target and, if
    opted in, the solver provider — --no-solver kills it); CONTRIBUTING.md
    formalizes DCO sign-off.
  • proof/sweep.gif — a scripted (vhs) terminal demo of zerodom sweep catching
    broken access control with two identities, reproducible from a local fixture
    (proof/sweep.tape + proof/sweep_demo/); wired into both READMEs.
  • Layered hero + "How it compares" table across both READMEs: lead with
    deterministic / local / zero-egress / token-lean, with cross-identity
    authorization testing as the flagship use-case ("you confirm the bug," never
    "AI finds bugs"). Pre-empts the real-Chrome/CDP security objection up front.
  • Interception proxies (Burp / Caido / ZAP) — a dedicated section making the
    existing --proxy story discoverable: it's a standard upstream proxy, so
    ZeroDOM's traffic shows up in whichever tool you already hunt in, no plugin
    needed.