# browser-stealth-agent

The browser-stealth-agent skill drives a local camofox-browser server to get past Cloudflare, Akamai, DataDome and PerimeterX bot checks, then verifies client-side bugs in a real browser.

- skill · `type=skill` · Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1298 repo stars
- Author: H-mmer
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/H-mmer/pentest-agents/tree/HEAD/providers/cursor/.cursor/skills/agent-browser-stealth-agent/SKILL.md
- Updated: 2026-06-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/browser-stealth-agent

## What it does

The skill talks to a REST server at `http://localhost:9377` that runs Camoufox, a Firefox build patched at the C++ layer. Properties such as `navigator.webdriver`, the WebGL renderer, AudioContext and screen geometry are faked before any JavaScript runs, so checks that inspect `Function.prototype.toString` for patched functions find nothing suspicious.

Through the REST API it opens tabs, pulls accessibility-tree snapshots with stable element references, clicks and types against those references, and takes full-page PNG screenshots. It can also load Netscape-format cookies to resume an authenticated session, which calls for a `CAMOFOX_API_KEY` to be set. Matching a target's GeoIP gate means exporting `PROXY_HOST`, `PROXY_PORT`, `PROXY_USERNAME`, `PROXY_PASSWORD` and `PROXY_COUNTRY` before the server starts.

The server itself is only meant to be controlled through `../../tools/camofox_ctl.sh`, which checks `/health` and starts or stops the process rather than leaving you to juggle `nohup` and `pkill` by hand.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill browser-stealth-agent -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/agent-browser-stealth-agent/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/agent-browser-stealth-agent/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill browser-stealth-agent -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/agent-browser-stealth-agent/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill browser-stealth-agent -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/agent-browser-stealth-agent/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install H-mmer/pentest-agents providers/cursor/.cursor/skills/agent-browser-stealth-agent
```

2. **Manually: put the files in place**
- File: `.github/skills/agent-browser-stealth-agent/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill browser-stealth-agent -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/H-mmer/pentest-agents --path providers/cursor/.cursor/skills/agent-browser-stealth-agent
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/agent-browser-stealth-agent/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/H-mmer/pentest-agents/tree/HEAD/providers/cursor/.cursor/skills/agent-browser-stealth-agent/SKILL.md

## When to use it
- get past Cloudflare interstitials and Turnstile during recon
- confirm an XSS payload actually fires in a real browser
- walk through a multi-step login behind Cloudflare protection
- capture PNG screenshots and accessibility-tree snapshots as report evidence
- check GeoIP-gated pages through a residential proxy set to a given country

## Example prompts
- Use browser-stealth-agent to check whether this payload executes on the page behind Cloudflare
- Capture a screenshot and snapshot of target.example.com as evidence for the report
- Walk through the login flow behind the CF-protected form and confirm the session is authenticated

## Similar
- [camoufox-mcp](https://affpapa.org/en/nevibecode/mcp/camoufox-mcp.md) — MCP server · ★ 7 repo stars
- [browser-extension-builder](https://affpapa.org/en/nevibecode/skills/sickn33-browser-extension-builder.md) — skill · 2100 installs
- [anti-detect-browser](https://affpapa.org/en/nevibecode/skills/anti-detect-browser.md) — skill · 168800 installs
- [browser-extension-developer](https://affpapa.org/en/nevibecode/skills/browser-extension-developer.md) — skill · ★ 29370 repo stars
- [browser](https://affpapa.org/en/nevibecode/skills/brightdata-browser.md) — skill · 183 installs
- [cloudflare-browser](https://affpapa.org/en/nevibecode/skills/cloudflare-browser.md) — skill · 25 installs

From the same set: [h-mmer/pentest-agents](https://affpapa.org/en/nevibecode/by/h-mmer/pentest-agents.md) — 43 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
