zerodom
Point an app at two logged-in users and it finds the broken access control (IDOR). Deterministic browser perception + cross-identity authz testing for AI agents — drives your real Chrome over MCP or runs headless. Open-core, local, no account.
Install / Use
claude mcp add DevHusnainAi -- npx -y github:DevHusnainAi/zerodomIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
SecuritySupported Platforms
Our assessment of zerodom
zerodom scores 83/100 on our quality scale, 897th of 1,112 Security skills we index.
Its MCP Server is 28 KB long, well organised into 23 sections with 17 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so zerodom is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
zerodom compared with similar skills
All 4 of these similar skills score higher than zerodom; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| zerodom (this skill)by DevHusnainAi | 83 | 3 | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 105.5k | 3d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.1k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.7k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 90.2k | today | MCP Server |
Frequently asked questions
- How do I install zerodom?
- Run
claude mcp add DevHusnainAi -- npx -y github:DevHusnainAi/zerodom. The install tabs above show the steps for each supported agent. - Which AI agents does zerodom work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is zerodom safe to use?
- It is Apache-2.0-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is zerodom still maintained?
- The repository was last updated today, so zerodom is actively maintained.
Skill content
View source on GitHubZeroDOM
Point it at an app as two users. It finds the broken access control.
ZeroDOM drives your real, logged-in browser as two identities, replays the same requests as each, and flags where one user reaches what another can't — IDOR / broken access control, caught deterministically. Open-core, runs local, no account, no API key, nothing leaves your machine.
<sub>Under the hunt is a deterministic, token-lean perception engine for AI agents — the same core powers <code>scan</code>, <code>crawl</code> and any browser-driving task. IDOR is just where it bites hardest.</sub>
Site · Docs · Playground · Discord · Quickstart ↓
<br/> <img src="assets/idor-demo.gif" width="100%" alt="A normal user is denied the admin console (401), then reaches it by flipping one client-controlled cookie. ZeroDOM replays the same request as both identities and reports the 401-vs-200 split — broken access control."><sub>A normal user is <b>denied</b> the admin console (401) — then walks in by flipping one client-controlled cookie. ZeroDOM proves it: same request, two identities, <b>401 vs 200</b>. <a href="assets/idor-demo.mp4">Full recording (mp4)</a>.</sub>
</div>Contents
- Why ZeroDOM
- Quickstart
- How it hunts —
compare&sweep - Use it from an AI agent (MCP)
- Why the agent sees so few tokens
- More of the CLI
- How it compares
- Install
- Security & scope
- Limitations
- Editions
- Contributing & development
- License
Why ZeroDOM
Two audiences, one engine:
- AppSec —
compare/sweep: deterministic two-identity authorization testing that runs headless in CI or your recon pipeline — no GUI, no account.scan --jsadds DOM-XSS sinks, the callable API surface and header posture;repeat/probe/raceturn recon into verification (Repeater, mass-assignment diff, and a TOCTOU burst). - AI agents — MCP: a flat interaction graph that cuts
~71% of the tokens vs Playwright's
aria_snapshot, with handles that resolve 1:1 and don't drift when the page re-renders.
Broken access control is the #1 web vulnerability (OWASP A01) and the one automated scanners miss — because catching it means knowing who should be allowed to do what, not just fuzzing one session. The usual answer is a human in Burp, clicking through the app as one user, then again as another, diffing by eye.
ZeroDOM does that mechanically. Give it two logged-in sessions; it replays the same request as each and reports the deterministic tells:
access-boundary-split— one identity gets200, the other401/403on an identical request. If the only difference between them is client-controllable (a cookie, header or param), that's broken access control.cross-identity-identical-response— two users get a byte-identical body on a per-user resource: a cross-tenant IDOR.
No LLM guessing, no "the AI thinks maybe." ZeroDOM surfaces the tell with the exact replay that proves it — a reviewable diff you drop straight into a bug report. You confirm the bug.
It drives your real Chrome (relay mode) over chrome.debugger, so your cookies, MFA and
SSO are already done — or a throwaway browser (--stealth) if you'd rather not touch your
session. Either way the page's markup never leaves your machine, and it's read-only by
default: destructive actions and out-of-scope hosts are refused.
It works equally well as a one-line CLI, a recon pipeline stage, or a native tool an AI agent drives through MCP. Same deterministic primitives, three front doors.
Quickstart
See it run in 10 seconds — no account, no browser download (bare zerodom <url> is a static
fetch, no Chromium needed):
pip install zerodom # or: uvx zerodom · npm i @vexralabs/zerodom
zerodom https://news.ycombinator.com # the interaction graph + a token report
That's the perception engine — a flat, 1:1-addressable graph instead of 12k tokens of HTML.
Now the flagship — find an IDOR. Save two logged-in sessions as Playwright storage_state
files (one per account), then diff a protected endpoint across both:
zerodom compare https://app.example.com/api/admin/dashboard \
--as user=user.json --as admin=admin.json
{
"identities": {
"user": { "status": 401, "bytes": 2616 },
"admin": { "status": 200, "bytes": 3469 }
},
"only_admin": ["Manage users", "Billing & plans", "Overview"],
"note": "admin authorized (200) where user denied (401) — broken access control if the
only difference is client-controllable"
}
That's the whole loop: same request, two identities, a 401-vs-200 split → a lead to confirm.
only_admin lists the privileged controls the normal user should never see.
Don't have storage-state files? Capture one with
context.storage_state(path="user.json") in Playwright, or export cookies from a logged-in
session. Want the whole app, not one URL? → zerodom sweep.
How it hunts — compare & sweep
zerodom compare — one endpoint, across identities
Fetch one URL under each saved session and diff the responses. Byte-identical content across
two users on a private resource is a cross-tenant IDOR; a 401-vs-200 split is a broken
boundary. only_<name> lists the actionable nodes each identity sees that the other doesn't.
# Sweep a range of object ids through two identities:
seq 1 500 | sed 's#^#https://app.example.com/api/invoice/#' \
| zerodom compare - --as alice=alice.json --as bob=bob.json \
| jq 'select(.identical_body_pairs | length > 0)'
zerodom sweep — the whole app, one command
compare tests one URL. sweep does the entire app: it crawls as one identity to map the
GET surface (pages + the API calls the JS fires), then replays every in-scope URL under all
your identities and reports only the deterministic tells.
zerodom sweep https://app.example.com --as user=user.json --as admin=admin.json --format md
| severity | rule | url |
| -------- | ---------------------- | ------------------------------------- |
| medium | access-boundary-split | https://app.example.com/api/admin/... |
Read-only throughout: only GET is replayed, destructive URLs are dropped (--deny).
--format md emits a report-ready table (default is JSONL). This is the "point it at an app
with two logins and it finds the broken access control" pass.
Both take --proxy (route through Burp/Caido), --header (a program's WAF-bypass token), and
a scope you can lock. Challenge pages (Cloudflare / Turnstile / reCAPTCHA / hCaptcha) are
detected and climbed by a scope-gated clearance ladder; a wall nothing clears is reported as
an honest blocked, never worked around outside an authorized target.
When recon finds a lead — repeat / probe / race
Mapping an app surfaces the endpoints; these verbs act on them. repeat is a Repeater over the
session (--save writes HAR/.http evidence for a report). probe replays an endpoint with a
tampered body and diffs it against the baseline — an accepted, reflected field is a mass-assignment
lead. race fires a concurrent burst (one body, or a mix of operations via repeated --body) to
flag a check-then-act race (TOCTOU); the stdlib engine is always available, and --engine http2
multiplexes the burst over one connection via the optional zerodom[race] extra.
zerodom race https://app.example.com/api/coupon --body '{"code":"SAVE20"}' -n 30 \
--setup setup.json --check https://app.example.com/api/cart
All three are exposed to agents over MCP as zerodom_repeat / zerodom_probe / zerodom_race.
Use it from an AI agent (MCP)
Standard MCP browser tools hand the model raw pixels (slow, stale on scroll) or an accessibility
tree (no stable handles — repeated controls collide). zerodom-mcp gives your agent a flat,
token-frugal graph where every click [45] resolves deterministically over CDP to exactly one
element — and the same tools do cross-identity IDOR hunting the others can't. Why ↓
ZeroDOM is a native MCP server, so Claude, Cursor or any MCP agent can hunt with the same
primitives. Run zerodom setup for a guided first-run (checks Chromium, prints the extension
path + chrome://extensions steps, emits the config below, reports relay reachability —
print-and-guide, no account, nothing leaves your machine).
// Claude Desktop: claude_desktop_config.json · Cursor: .cursor/mcp.json
{
"mcpServers": {
"zerodom": { "command": "uvx", "args": ["--from", "zerodom", "zerodom-mcp"] }
}
}
Once before first use (so the server never downloads mid-tool-call):
uvx --from zerodom playwright install chromium.
Using LangGraph, CrewAI, OpenAI Agents SDK, Pydantic AI, LlamaIndex, Google ADK or AutoGen?
Ready-to-run MCP examples — same server, a few lines each — are in
examples/integrations/.
| tool | what it does |
|---|---|
| zerodom_parse_url(url, verbose=False, frames=False, viewport_only=False, check_occlusion=False) | navigate, return the compact graph; frames=True also reads same- and cross-origin iframes (auth portals, payment fields) |
| zerodom_read_page(verbose=False) | re-read the live DOM without navigating |
| zerodom_find(query) | return only the nodes matching a phrase |
| zerodom_click_node(node_id) | click, then return what changed — flags a same-page no-op shortly after navigation as a possible hydration miss |
| zerodom_fill_node(node_id, text) | type via real keystrokes — works in contenteditable editors (Notion, Slack, Discord, Jira) |
| zerodom_hover(node_id) | hover, revealing hover-triggered menus/tooltips |
| zerodom_press_key(node_id, key) | press a key on a focused node (Enter, Escape, Tab, …) |
| zerodom_upload_file(node_id, path) | set a file input's value to a local path |
| zerodom_drag(source_node_id, target_node_id) | drag one node onto another |
| zerodom_scroll(direction, amount=800) | scroll, return what's newly visible |
| zerodom_new_tab(url=None) | open a tab and make it active |
| zerodom_list_tabs() | list every open tab, marking the active one |
| zerodom_switch_tab(tab_id) | make another open tab active |
| zerodom_close_tab(tab_id=None) | close a tab (the active one by default) |
| zerodom_screenshot(path=None) | full-page screenshot of the active tab, saved to disk |
| `zerodom_set_viewport(wi
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
105.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.7kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
90.2k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
