Repository navigation
Releases
v0.1.5
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 withendpoint="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 afinally), so a two-identity
comparegets 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 Nso 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/localendpoint forzerodom_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-JSONAccept— now
answerreplay/comparecorrectly (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)
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:xchecked,*selected,onpressed,
open/closedfor a disclosure,currentfor the active nav item,=valuefor a
populated field,emptyfor 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-freeparse_htmlgets what the static DOM exposes. A sensitive field's
value is never carried (password/card/CVV/SSN/IBAN…) — only that it'sfilled.
State is part of a node's delta signature, so a toggled checkbox is a~change.
Costs0 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 (viaopencode, 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'sLEGENDis 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 returnedstateback 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. Purediff_nodes/
diffNodesunder the hood; mirrored in the TypeScript port.
Changed
agent_snapshotnow emits a terser format — drops theatag (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 onto_compact_text(terse=True)
/toCompactText({terse})too; mirrored in the TypeScript port. Benchmarked at a
median ~49% token reduction vsagent-browser snapshot -i(Vercel Labs) at
matching coverage and 100% ref resolution — seebenchmarks/bench_agent_snapshot.py.
Fixed
- Bounded network-idle gate fixes under-rendered snapshots (
settle_network_ms,
default 3000 ms,0disables;settleNetworkMsin the TS port). Some sites render
their real content from a data fetch that lands afterloadwith 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
realobserve()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 flagsmetadata.settle_errorinstead
of raising.
v0.1.3 — agent_snapshot, bug-bounty verbs (repeat/probe/race), JS-intel, settle
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 aref_map/refMapkeyed to those
same refs, so an agent can resolve[03]straight to a selector to click or fill.
Defaults toviewport_only=False— an agent can scroll, so it needs the whole
interactive surface, not just what is on screen (thefrom_pagedefault 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 (whereselector_map()keeps the fullnode_NNid),
so a ref-addressed consumer no longer silently misses the key.
Read reliability
- Reads wait for async DOM churn to settle.
ZeroDOM.from_pagenow watches the
DOM via aMutationObserverand 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 --jsandcrawlfetch 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_endpointsparses
fetch/axios/ wrapper call sites;crawlrecords ajs_endpointsfield
(e.g.POST /api/cart/coupon body=[code]) distinct from the load-timeapi_calls,
andscan --jsreports them. - DOM-XSS sink detection with source reachability.
scan --jsflags unescaped
interpolations intoinnerHTML/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;--savewrites HAR /.httpevidence.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
optionalzerodom[race]extra);--engine autopicks per availability and the
report names the engine actually used.--rpsonzerodom sweepto stay under a program's rate limit;racenow
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*, andSet-Cookiewithout
SameSite/HttpOnly. csrf-posturecorrelation — fires on a cookie-authenticated state-changing
POST (a JS endpoint or a server-rendered<form>) that has noSameSiteand no
anti-CSRF token.
MCP parity
zerodom_scan,zerodom_repeat,zerodom_race,zerodom_probeexpose 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-csrfsurface rule. It fired on every search and
newsletter box, which was almost all noise. Replaced by the precisecsrf-posture
correlation above; the targetedpassword-field-outside-form-tokenrule is kept.
Migration: if you matched onrule == "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)
Discoverability and community polish; no API changes.
Added
- A one-line star/Discord nudge printed after the human
inspectreport. It is
TTY-gated, so a pipe, redirect or| jqnever sees it (machine output stays
clean), andZERODOM_NO_BANNER=1silences 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-codeandcursorfor registry search.
v0.1.1: chore: bump js/package.json to 0.1.1 too (keep pypi+npm aligned)
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.mddescription to surface the IDOR /
authorization-testing use-case alongside browser perception.
v0.1.0 — Clearance ladder, authenticated recon, cross-identity sweep, sandboxed tab groups
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 carriedcf_clearance
clearance → stealth hygiene on the--stealthtransport (no more
Runtime.enable/Runtime.evaluateover the CDP pipe — the mid-load signal
bot vendors fingerprint) → bundled solver adapters (CapSolver / 2Captcha /
Anti-Captcha / any customZERODOM_SOLVER_URLendpoint; opt-in, scope-gated
like every action,--no-solver/ZERODOM_NO_SOLVERrefuses, 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 honestmetadata["blocked"]. CLI gains--no-solver
andzerodom 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.pycovers 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 --relayand the
zerodom_crawlMCP 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 asblockedand not descended
into.crawlhas no stealth transport (the CDP pipe is fetch-only) and says
so. Live-identity replay (Phase 2) now routes through an in-page credentialed
fetchin 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.pytable-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 asmetadata["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; writeSESSION.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 thechrome://extensionssteps, 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) andaccess-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
existingcrawl+compareprimitives; 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.pyloads 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 staysjsonl(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
/controlWebSocket 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-MCPServerrelease 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. .mcpbbundle now declares the correctuvserver 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 returnsChromium 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 likePasswort/passwdthe UI marks sensitive is also refused
server-side — closing an under-refusal gap. zerodom auditprints the one-lineplaywright install chromiumhint 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-statenow send every cookie, not just the last. The
plain-HTTP fetch built theCookieheader with a per-cookieadd_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_identityno longer forces a browser attach. A registered identity is
a pure HTTP client (PlaywrightAPIRequestContext); 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_identitiesflags 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.mdstates
the egress posture honestly (zero telemetry; outbound only to your target and, if
opted in, the solver provider —--no-solverkills it);CONTRIBUTING.md
formalizes DCO sign-off. proof/sweep.gif— a scripted (vhs) terminal demo ofzerodom sweepcatching
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--proxystory 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
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 MCPcompare_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 crawlwalks 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.
--proxyroutes ZeroDOM's traffic through Burp/Caido,--headercarries a program's bypass token,--storage-statereuses a cleared session. - The relay is reliable now. It recovers from a
chrome.debuggerdetach (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+ MCPcompare_identities/replayover savedstorage_statesessions. - 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
blockedsignal instead of an empty graph. ZeroDOM detects and hands off; it never solves them.
Fixed
- Relay recovers from a
chrome.debuggerdetach instead of wedging:zerodom_statusdoes 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
--rulesfile each print one clean line instead of a traceback.
Changed
- Capped
mcp[cli]<3andplaywright<2so a breaking dependency release can't break a fresh install. .gitignorenow excludes.env, keys, andstorage-statesession 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
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-findingfor 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 --pipestreams nodes as JSONL;-reads URLs from stdin, so
inspectandscandrop intohttpx/jqpipelines.zerodom extension: the Chrome extension now ships inside the wheel;
this prints its path for "Load unpacked". Each release also attaches
zerodom-extension-<version>.zipwith 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 trackspushState/replaceStatenavigation. - Token savings, two baselines: the bar shows savings vs raw HTML, the
sidebar vs Playwright'saria_snapshot(mode="ai"). Both arechars ÷ 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,
fillis 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_onlyandcollapse_duplicatesare 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://orhttps://Originare closed, so a website you visit can't
drive your logged-in Chrome through127.0.0.1:8765. The extension
(chrome-extension://) and non-browser clients (noOrigin) still connect. - Graph UI: copy-as-code snippets escape backslashes, and the severity flag
catchesvbscript:and non-HTMLdata: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_windowover the relay:Browser.setWindowBoundsis
translated tochrome.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
adata: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
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/mcpNameownership 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.mdand a PR template, ahead of wider contribution.- Playground linked from the README's quick-links row.
Links
v0.0.5
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/zerodomimport { 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-auditandnpm auditnow 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 wheneverpyproject.tomlwasn't at the same version. npm releases now use
a separatenpm-v*tag.
Contributor infrastructure
CONTRIBUTING.mdand 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.