redhand
v0.1.0 · ReleasedThe agent's hand inside your browser — production-operator-grade browser control for AI agents, over your real, already-logged-in sessions, through MCP.
Problem
Browser-automation agents either drive a disposable, logged-out instance or fall back to screenshot-and-guess loops that click the wrong thing. Security research needs the opposite: the genuine session, precise element targeting, and input that behaves like a person rather than a bot.
What I built
A local tool and MCP server that speaks the Chrome DevTools Protocol directly — no automation-framework middleman. It addresses interactive elements by stable index instead of vision, dispatches trusted input events, and layers a humanize dial (ghost / natural / fast) over mouse curves, dwell and cadence typing with typo self-correction. A TypeScript monorepo: raw-CDP core, in-page executor, humanize engine, MCP server and CLI, plus a companion bridge extension.
Impact
Agents operate the browser you are already using — your profile, cookies, sessions and genuine fingerprint — with state-after-every-action feedback, secret redaction (passwords, tokens and PEM blocks never reach the model), tamper detection and network capture. Measured: 69 ms snapshot, 1.1 s humanized click. Released as v0.1.0 under BSL 1.1.
Highlights
- Element-index addressing, not vision: a snapshot lists interactive elements with stable indices, prunes nested duplicates and off-screen noise, and every action returns a state-after diff
- Humanize dial — ghost, natural or fast: Bezier mouse paths with acceleration/deceleration and overshoot-and-correct, dwell before clicks, and cadence typing that self-corrects typos
- Your real browser, real sessions: drives the genuine profile over raw CDP with no automation framework, so logged-in state, cookies and TLS fingerprint stay yours
- Secret redaction by default: credential-field values never enter the model context, screenshots mask them, network capture scrubs token/api_key params, and evaluate results are scanned for secret-shaped values
- Tamper protection and network capture: pages that swap element indices or poison the executor raise typed TAMPERING errors, and every action reports the requests it fired
- Local-only, minimal-dependency MCP server: binds localhost, ~3 runtime dependencies, stdio for Claude Desktop / Cursor / ZCode and streamable HTTP for remote agents
Stack
- TypeScript
- MCP
- Browser Automation
- CDP
- Agent Tooling
- Security Research