Skip to content

Releases

v0.1.5

Choose a tag to compare

@github-actions github-actions released this 02 Nov 08:30
7554666

Added

  • Multiple real Chrome profiles, full interactive control — zerodom_switch_profile.
    Drive two or three logged-in accounts side by side, each its own real Chrome (its own
    relay + cookie jar + fingerprint). After switching, every tool — navigate, scroll,
    click, read, screenshot — drives the active profile; switch back and the other is right
    where you left it (each keeps its own tabs/pages/state). "default" is the original
    session; a new profile is registered with endpoint="ws://127.0.0.1:8766/cdp/local".
    Verified live: two profiles each navigated to YouTube, opened different videos, and
    scrolled independently.
  • Real-fingerprint second identity (cookie-swap) — zerodom_add_identity(via="live"/from_live=True).
    A registered identity can now send with the real Chrome fingerprint by swapping its
    cookie jar into the live tab per request (restored in a finally), so a two-identity
    compare gets past a connection-fingerprinting WAF (e.g. DataDome) instead of being
    challenged. For CI/headless or cross-origin, via="http" keeps the Playwright HTTP client.
  • Second real profile as an identity — zerodom_add_identity(endpoint=…). Binds another
    profile's live session (over its own relay) as a request-level identity; compare_identities
    fires independent profiles concurrently (sequential only when a cookie-swap identity,
    which shares the one live tab, is in the set).
  • zerodom relay --port N so a second/third profile can run its own relay. The extension
    auto-finds a free relay (falls forward 8765→8766→… when one is busy), so a second profile
    just clicks Connect — no URL to type.
  • Extension popup shows its live relay port. After fall-forward, each profile's popup
    displays the port it landed on (· :8766) and one click copies that profile's
    ws://127.0.0.1:<port>/cdp/local endpoint for zerodom_add_identity — so two or three
    profiles are no longer indistinguishable in the UI.

Fixed

  • In-page fetch defaults Accept: application/json (overridable). JSON APIs that
    content-negotiate — e.g. Vinted returns a 403 HTML page for a non-JSON Accept — now
    answer replay/compare correctly (confirmed 403→200 live).
  • Extension popup correctness. The per-tab close (×) button now works (handler was
    missing); the HUD toggle reflects the on-page bar's real visibility instead of a hardcoded
    default; the tab group-color badge renders; dead live-stat fields and unused CSS removed.

v0.1.4: fix: bump stale 0.1.3 pins missed by the version sed (#33)

Choose a tag to compare

@github-actions github-actions released this 29 Oct 08:27
150c3fb

Added

  • Interactive state in agent_snapshot — what an action agent can't decide without.
    A static DOM parse can't see that a checkbox is checked, a password is typed, a menu
    is open, or which tab is active — those live in DOM properties that diverge from
    their attributes the moment a user or framework touches them. The snapshot now
    carries them as compact ASCII markers: x checked, * selected, on pressed,
    open/closed for a disclosure, current for the active nav item, =value for a
    populated field, empty for a fillable field with nothing in it (explicit, so a model
    never has to infer emptiness from an absent marker). Live properties are read in the
    browser (from_page) by stamping
    them during serialize; aria-* and native attributes are read directly, so a
    network-free parse_html gets what the static DOM exposes. A sensitive field's
    value is never carried
    (password/card/CVV/SSN/IBAN…) — only that it's filled.
    State is part of a node's delta signature, so a toggled checkbox is a ~change.
    Costs 0 tokens on a content page and ≤15% on a form-dense one, carrying state the
    agent otherwise cannot observe. Mirrored in the TypeScript port.

  • benchmarks/eval_agent_decisions.py — effectiveness, not just token cost. Hands
    real LLMs (via opencode, free tier) a ZeroDOM snapshot + a task and checks they
    pick the correct [ref] and action, including decisions that depend on the new
    state markers and on reading a ~delta. Proves the format is legible, not merely
    cheap: 24/24 (100%) across three model sizes on the authenticated endpoint, zero
    errors; accuracy counts only answered scenarios (timeouts are missing data, never a
    wrong decision). The harness's LEGEND is the ready-to-ship prompt snippet for an
    integrator.

  • agent_snapshot_delta — per-turn delta snapshots for a multi-turn agent loop.
    An agent re-snapshots after every action, but most turns change little. The first
    call returns a full terse snapshot; later calls (pass the returned state back as
    since) return only what changed — +/-/~ lines. Node identity is
    content-based (href / placeholder / label, like agent-browser's role+name), so a
    node keeps its ref across reflow and relabels — inserting one list item is one
    + line, not churn — and a churn that outgrows a full listing falls back to a full
    (refreshed) snapshot, so a delta is never worse than one. Navigation auto-resets.
    A no-change turn costs ~3 tokens. Over a read-heavy run where the consumer would
    otherwise
    re-send the full tree each turn (as Firecrawl's agent does), this measured a
    ~92% aggregate reduction across a 5-turn run — see
    benchmarks/bench_agent_snapshot_delta.py. Pure diff_nodes /
    diffNodes under the hood; mirrored in the TypeScript port.

Changed

  • agent_snapshot now emits a terser format — drops the a tag (link is the
    default; non-link types stay) and the label quotes, since an action agent resolves
    refs itself and those carry nothing it needs. ~15% fewer tokens on top of the
    compact format, no agent-relevant loss. Available on to_compact_text(terse=True)
    / toCompactText({terse}) too; mirrored in the TypeScript port. Benchmarked at a
    median ~49% token reduction vs agent-browser snapshot -i (Vercel Labs) at
    matching coverage and 100% ref resolution — see benchmarks/bench_agent_snapshot.py.

Fixed

  • Bounded network-idle gate fixes under-rendered snapshots (settle_network_ms,
    default 3000 ms, 0 disables; settleNetworkMs in the TS port). Some sites render
    their real content from a data fetch that lands after load with no DOM activity
    in between (e.g. gitlab.com/explore has no SPA framework yet fills its project list
    ~1.5 s later), so the old quiet/cap settle resolved against an empty shell. A bounded
    wait_for_load_state("networkidle") before serialize closes this, guarded by a
    capability check so non-Playwright callers skip it. Measured: gitlab 26→174, duckduckgo
    35→141, khanacademy 0→94 actionable elements. Re-measured head-to-head vs Stagehand's
    real observe() across 100 sites: ~1/5 the tokens (81% median) at parity coverage
    (0 sites materially behind), decision accuracy 19/21 vs 18/21
    — see
    benchmarks/RESULTS_100_SITES.md. Mirrored in the TypeScript port.
  • Navigation during settle no longer errors — if the frame navigates mid-settle the
    routine retries once against the new frame, else flags metadata.settle_error instead
    of raising.

v0.1.3 — agent_snapshot, bug-bounty verbs (repeat/probe/race), JS-intel, settle

Choose a tag to compare

@github-actions github-actions released this 26 Oct 10:17

Two big threads land in this release. ZeroDOM grows from a read-only perception
layer
into one that can also act and verify — the repeat / probe / race
verbs send crafted requests, the JS-intel pass sees logic that lives in bundles,
and header posture is judged alongside the node graph. And a new agent_snapshot
makes the interaction graph a drop-in page representation for browser agents.

All new behaviour is additive or behind a new flag; existing reads and the graph
schema are unchanged. The one removal (form-without-csrf) has a direct
replacement — see Removed.

Added

For browser agents

  • agent_snapshot — a full-page interaction read for action agents.
    ZeroDOM.agent_snapshot(page) (Python) / ZeroDOM.agentSnapshot(page) (JS)
    returns the compact [NN]-ref listing plus a ref_map / refMap keyed to those
    same refs, so an agent can resolve [03] straight to a selector to click or fill.
    Defaults to viewport_only=False — an agent can scroll, so it needs the whole
    interactive surface, not just what is on screen (the from_page default stays the
    on-screen view). Mirrored in the TypeScript port.
  • ref_map() / refMap() on the graph. Keyed by the exact [NN] token
    to_compact_text() prints (where selector_map() keeps the full node_NN id),
    so a ref-addressed consumer no longer silently misses the key.

Read reliability

  • Reads wait for async DOM churn to settle. ZeroDOM.from_page now watches the
    DOM via a MutationObserver and serializes only once it has been quiet for a beat
    (200 ms), bounded by a hard 1200 ms cap — so a read no longer lands on a page still
    injecting nodes, hydrating panels or filling in labels. Observes structural/text
    changes only, not attributes, so a CSS-animated carousel or spinner still lets the
    page settle. On by default; settle=False (Python) / settle: false (JS) restores
    read-exactly-now. Mirrored in the TypeScript port. Perpetual animations and
    hydration slower than the cap remain a bounded ceiling — read as-of-cap, never hung.

JavaScript intelligence (scan --js, crawl)

  • External JS bundles are now read. scan --js and crawl fetch the page's
    same-origin <script src> files (jsintel stays network-free; the CLI supplies the
    bytes), so apps whose logic lives in a bundle are no longer invisible.
  • Callable API surface with method + body shape. extract_endpoints parses
    fetch / axios / wrapper call sites; crawl records a js_endpoints field
    (e.g. POST /api/cart/coupon body=[code]) distinct from the load-time api_calls,
    and scan --js reports them.
  • DOM-XSS sink detection with source reachability. scan --js flags unescaped
    interpolations into innerHTML / document.write / eval / … and ranks a sink
    high only when it traces to an attacker-controllable source
    (hash / URL / postMessage / storage), else low.

Request sending & verification (bug bounty)

  • zerodom repeat — send a request (optionally N times, shared session) with a
    chosen method/body; --save writes HAR / .http evidence.
  • zerodom probe — replay an endpoint with a tampered body (--tamper) and diff
    vs baseline to flag mass assignment / price / privilege tampering.
  • zerodom race — fire a concurrent burst (one body, or a mix of operations via
    repeated --body) to flag a check-then-act race (TOCTOU). Two engines: stdlib
    last-byte-sync (http1, always available) and HTTP/2 multiplexing (http2, the
    optional zerodom[race] extra); --engine auto picks per availability and the
    report names the engine actually used.
  • --rps on zerodom sweep to stay under a program's rate limit; race now
    distinguishes a 429 rate-limit from dedup in its no-finding note.

Response-header posture (scan)

  • Header posture rules via a declarative header_rules: section in
    surfaces.yaml: CSP absent / unsafe-inline, CORS *, and Set-Cookie without
    SameSite / HttpOnly.
  • csrf-posture correlation — fires on a cookie-authenticated state-changing
    POST (a JS endpoint or a server-rendered <form>) that has no SameSite and no
    anti-CSRF token.

MCP parity

  • zerodom_scan, zerodom_repeat, zerodom_race, zerodom_probe expose the
    above to agents, driving the active authenticated session (race runs as the
    browser's own multiplexed fetch). Tool count: 35 → 39.

Removed

  • The broad form-without-csrf surface rule. It fired on every search and
    newsletter box, which was almost all noise. Replaced by the precise csrf-posture
    correlation above; the targeted password-field-outside-form-token rule is kept.
    Migration: if you matched on rule == "form-without-csrf", switch to
    rule == "csrf-posture" (fires only on genuinely state-changing, cookie-auth'd,
    token-less surfaces).

v0.1.2: chore: 0.1.2 — IDOR-first PyPI subtitle, terminal nudge, keywords (#26)

Choose a tag to compare

@github-actions github-actions released this 23 Oct 11:34
02eac52

Discoverability and community polish; no API changes.

Added

  • A one-line star/Discord nudge printed after the human inspect report. It is
    TTY-gated, so a pipe, redirect or | jq never sees it (machine output stays
    clean), and ZERODOM_NO_BANNER=1 silences it. No phone-home — static links.

Changed

  • PyPI subtitle now leads with the cross-identity IDOR use-case for both the
    AppSec and AI-agent audiences.
  • Package keywords add idor, claude-code and cursor for registry search.

v0.1.1: chore: bump js/package.json to 0.1.1 too (keep pypi+npm aligned)

Choose a tag to compare

@github-actions github-actions released this 17 Oct 12:49

Docs and packaging polish; no code or API changes.

Changed

  • Rewrote the PyPI readme (README.pypi.md) to lead with the cross-identity
    IDOR / broken-access-control story and the live demo, matching the main README.
  • npm releases now publish with --provenance (the repo is public), adding a
    verified-provenance badge to the npm package page.
  • Broadened the agent-facing SKILL.md description to surface the IDOR /
    authorization-testing use-case alongside browser perception.

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

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.

ZeroDOM 0.0.9 — AppSec workflow + a reliable relay

Choose a tag to compare

@github-actions github-actions released this 24 Sep 12:21
b165724

ZeroDOM turns a live, logged-in web page into a token-dense interaction graph an agent can act on — CSS selectors kept server-side, deterministic, no LLM in the parse. 0.0.9 makes it a security-researcher's tool: a full recon → access-control → report workflow, on a driving path that no longer wedges mid-session.

Highlights

  • Cross-tenant IDOR hunting, built in. zerodom compare (and the MCP compare_identities / replay) fetch one URL under two saved sessions and flag a byte-identical response on a private resource — the classic BOLA tell. Uses real session cookies, so it works past a WAF/login wall a plain fetch can't.
  • Deep authenticated recon. zerodom crawl walks a rendered app in-scope and yields the attack-surface map as JSONL: each page's forms (+ CSRF fields), in-scope links, and the API calls its JavaScript fires. Read-only — never submits a form or follows a destructive link.
  • Safe to run unattended. Scope enforcement (zerodom_set_scope / ZERODOM_SCOPE) constrains navigation, replay and clicks to a host allowlist, refuses destructive URLs, and throttles to the program's rate limit — a locked file-scope the agent can't widen.
  • Fits your existing kit. --proxy routes ZeroDOM's traffic through Burp/Caido, --header carries a program's bypass token, --storage-state reuses a cleared session.
  • The relay is reliable now. It recovers from a chrome.debugger detach (navigation / redirect / DevTools) instead of silently wedging — validated across cross-origin navigations in a live session.

What's new

Added

  • zerodom crawl — deep authenticated recon; routes, forms (+CSRF), and fired API calls as JSONL.
  • Cross-tenant IDOR primitives — zerodom compare + MCP compare_identities / replay over saved storage_state sessions.
  • Scope enforcement — zerodom_set_scope / ZERODOM_SCOPE: host allowlist + destructive denylist + rate throttle, locked so the agent can't widen it.
  • Engagement options across inspect / scan / crawl — --proxy (Burp/Caido) + --insecure, --header, --storage-state; scan --js (leaked secrets + endpoints from inline JS, redacted).
  • Challenge detection — Cloudflare, Turnstile, reCAPTCHA and hCaptcha surface as a blocked signal instead of an empty graph. ZeroDOM detects and hands off; it never solves them.

Fixed

  • Relay recovers from a chrome.debugger detach instead of wedging: zerodom_status does a real liveness probe, _page() reconnects a dropped page, and the relay re-attaches on a recoverable detach.
  • Relay no longer wedges on an un-attachable chrome:// / Web Store / devtools tab.
  • First-contact robustness — malformed HTML, a missing Chromium, a dead host/typo (single URL and mid-batch, which now skips and continues), and a bad --rules file each print one clean line instead of a traceback.

Changed

  • Capped mcp[cli]<3 and playwright<2 so a breaking dependency release can't break a fresh install.
  • .gitignore now excludes .env, keys, and storage-state session files (real cookies).

Install

Python — pip install zerodom (or uvx zerodom), then playwright install chromium for the browser-backed features.
TypeScript / Node — npm install @vexralabs/zerodom
MCP (Claude Desktop / Cursor) — uvx --from zerodom zerodom-mcp

Quality

Python suite 289 passed / 1 skipped · TypeScript port 43/43 · graph-UI mirror byte-identical (sync-guard green). The relay-detach fix was validated in a live sustained session across cross-origin navigations.

Honest scope

  • The autonomous hunt loop is experimental — ZeroDOM is a perception + recon layer; you confirm findings and write the report.
  • Web DOM only — no mobile apps, no canvas/WebGL; bot walls are detected, not solved.

v0.0.8

Choose a tag to compare

@github-actions github-actions released this 23 Sep 15:05

Repositioned as a deterministic AppSec & AI perception layer: terminal-native
DOM perception for red teams and AI agents.

Added

  • zerodom scan: runs a deterministic YAML ruleset (surfaces.yaml, or
    your own via --rules) over the parsed graph and emits JSONL findings:
    forms without an anti-forgery token, password inputs on pages with no CSRF
    field, exposed admin/internal/debug links, sensitive-looking inputs.
    --fail-on-finding for CI. Rules are fixed match keys, never evaluated code.
  • --stealth: spawns a throwaway-profile Chrome and speaks CDP over an
    inherited pipe (FD 3/4). No localhost debugging port, nothing left on disk.
    POSIX only.
  • inspect --pipe streams nodes as JSONL; - reads URLs from stdin, so
    inspect and scan drop into httpx / jq pipelines.
  • zerodom extension: the Chrome extension now ships inside the wheel;
    this prints its path for "Load unpacked". Each release also attaches
    zerodom-extension-<version>.zip with a .sha256.
  • Extension popup: Session, Graph, Network, Cookies, Tools, HUD and About
    tabs. The Graph tab and the in-page sidebar render the same shared
    graph_ui.js: type filters, search, severity and selector-health dots,
    snapshot/compare, copy-as-code.
  • Top bar: segmented bar (Target, Path, Tokens, Step) replacing the
    single-line "driving this tab" banner. Reserves viewport space, pushes
    fixed/sticky headers down (shadow-DOM aware, re-applied on SPA route
    changes), and tracks pushState/replaceState navigation.
  • Token savings, two baselines: the bar shows savings vs raw HTML, the
    sidebar vs Playwright's aria_snapshot(mode="ai"). Both are chars ÷ 4
    estimates.
  • Emergency Stop in the popup's Session tab: calls
    chrome.debugger.detach() directly, with no dependency on the relay or MCP
    server being responsive.
  • Sensitive-field guard: on attached sessions, fill is refused on
    password/card/CVV/SSN fields before anything is dispatched.
  • examples/mcp_agent_system_prompt.md: a recommended system prompt for
    agents driving the live-browser tool set.

Changed

  • viewport_only and collapse_duplicates are on by default in
    ZeroDOM.from_page.
  • Package descriptions and keywords now describe the AppSec / red-team use;
    "web-scraping" dropped.
  • New slashed-zero logo, extension icons and banner.

Security

  • Relay rejects page origins: WebSocket connections carrying an
    http:// or https:// Origin are closed, so a website you visit can't
    drive your logged-in Chrome through 127.0.0.1:8765. The extension
    (chrome-extension://) and non-browser clients (no Origin) still connect.
  • Graph UI: copy-as-code snippets escape backslashes, and the severity flag
    catches vbscript: and non-HTML data: hrefs and ignores leading
    whitespace before the scheme.

Fixed

  • context.new_cdp_session() over the relay: each session now gets a
    distinct id, fixing a Playwright driver crash on the next page action.
  • zerodom_resize_window over the relay: Browser.setWindowBounds is
    translated to chrome.windows.update.
  • Injected UI (bar, sidebar, log panel) no longer leaks into the interaction
    graph.
  • The bar's logo no longer vanishes on CSP-strict sites: inline SVG replaces
    a data: URI.

Performance

  • page.aria_snapshot(mode="ai") is cached per URL, recomputed only on
    navigation instead of on every action.

Chrome extension: download zerodom-extension-v0.0.8.zip below, unzip, then chrome://extensions → Developer mode → Load unpacked. Or after pip install zerodom, run zerodom extension for the bundled copy.

Full Changelog: v0.0.7...v0.0.8

v0.0.6

Choose a tag to compare

@DevHusnainAi DevHusnainAi released this 17 Sep 12:10
805756e

Highlights

Registry metadata, so agents (not just humans) can find and correctly evaluate ZeroDOM.

  • server.json — manifest for the official MCP Registry, listing both the PyPI and npm packages.
  • SKILL.md — explicit "when to use this / when not to" guidance for an agent deciding whether to recommend or install a browser-perception tool, with every claim linked to the benchmark script that produces it. States plainly that ZeroDOM is not a browser driver — it composes with browser-use, Stagehand, and Skyvern rather than competing with them.
  • smithery.yaml + Dockerfile — draft config for publishing to Smithery.
  • PyPI and npm now carry the mcp-name/mcpName ownership markers the MCP Registry's verification step requires.

Also since v0.0.5 (landed on main without their own release)

  • Security fixes: an incomplete URL-scheme check and a ReDoS in caption stripping, both caught by CodeQL.
  • CODE_OF_CONDUCT.md and a PR template, ahead of wider contribution.
  • Playground linked from the README's quick-links row.

Links

v0.0.5

Choose a tag to compare

@DevHusnainAi DevHusnainAi released this 17 Sep 08:44

Highlights

TypeScript port, published on npm. @vexralabs/zerodom mirrors the Python API
method-for-method — parser.ts, labelLinker.ts, frames.ts, playwright.ts —
same DFS pass, same label-priority order, same selector strategy. Parsing HTML you
already have needs no browser: parseHtml(html, url) is pure linkedom under the
hood, same as from_html() on the Python side.

npm install @vexralabs/zerodom
import { ZeroDOM } from "@vexralabs/zerodom";

const graph = await ZeroDOM.fromPage(page);   // any Playwright Page
console.log(graph.toCompactText());

Note on this release: the Python library itself (zerodom/) has no functional
or behavioral changes from 0.0.4 — this version bump exists to keep the Python and
TypeScript packages on matching version numbers going forward, and to ship the CI
and contributor infrastructure below.

CI / Security

  • Dependency auditing: pip-audit and npm audit now run on every push/PR and
    weekly on a schedule (advisories land continuously, not just on commits).
  • CodeQL: static analysis for both Python and the TypeScript port.
  • npm trusted publishing: OIDC-based, no long-lived npm token sitting in repo
    secrets. Required upgrading npm past 11.5.1 in CI — Node 22's bundled npm predates
    OIDC trusted-publish support and was silently attempting an unauthenticated
    publish.
  • PyPI and npm now release independently: they were briefly sharing a v* tag
    scheme, which meant tagging an npm release could also fire (and fail) a PyPI
    release whenever pyproject.toml wasn't at the same version. npm releases now use
    a separate npm-v* tag.

Contributor infrastructure

  • CONTRIBUTING.md and issue templates (wrong-element, node-missing,
    audit-result) added ahead of going public, so a selector bug or a missing node
    has a structured place to land instead of a blank issue.
  • Internal strategy/decision notes moved to a directory that's gitignored from the
    start — they were never committed, so there's nothing to scrub from history on
    that front.

Links