Logo di Browser Qa

Browser Qa

Community
brucesongs
browser-qa

Automated browser-based security testing using Playwright and browser devtools. Interact with web applications as a user would — click, type, navigate — while monitoring network traffic, JavaScript execution, and DOM changes for security issues.

Add to TypingMind

Panoramica

Pubblicato dabrucesongs
Repositorykali-claw
Nome della skillbrowser-qa
Stelle
70
Fork
18
File inclusi
14
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 14

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da brucesongs su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Browser Qa in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/brucesongs/kali-claw/tree/main/skills/browser-qa
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brucesongs/kali-claw.git /tmp/kali-claw
mkdir -p .claude/skills
cp -r /tmp/kali-claw/skills/browser-qa .claude/skills/browser-qa
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Browser Qa in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Browser Qa non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Browser Qa non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Browser QA

Summary

Interact with web applications as a user would — click, type, navigate — while monitoring network traffic, JavaScript execution, and DOM changes for security issues.

Domain: testing

Skill Identity

AttributeValue
DomainSecurity Testing
Skill IDbrowser-qa
Version1.0.0
Hacker LawsLaw 1 (Know Your Battlefield), Law 3 (Intelligence Over Force)
Related Skillsapi-security, web-xss, web-auth

Purpose

Automated browser-based security testing using Playwright and browser devtools. Interact with web applications as a user would — click, type, navigate — while monitoring network traffic, JavaScript execution, and DOM changes for security issues.

Core Capabilities

  1. Automated Navigation: Click links, fill forms, submit data
  2. Network Monitoring: Capture HTTP requests/responses, detect API calls
  3. JavaScript Execution: Run custom scripts in page context
  4. DOM Inspection: Query selectors, extract data, detect XSS sinks
  5. Screenshot/Video: Document findings visually

Use Cases

  • Auth Flow Testing: Test login, logout, session handling, password reset
  • CSRF Detection: Check for CSRF tokens in state-changing requests
  • XSS Testing: Submit payloads via forms and monitor DOM
  • Cookie Analysis: Check HttpOnly, Secure, SameSite flags
  • Client-Side Security: CSP headers, SRI, HTTPS enforcement

Tools

  • Playwright: Node.js/Python library for browser automation
  • Puppeteer: Chrome-only automation (legacy)
  • Browser DevTools Protocol: Direct CDP access for advanced use

Methodology

  1. Baseline capture — record clean network traffic and console logs before injecting payloads.
  2. Stateful navigation — drive multi-step flows (login → dashboard → settings) so client-side state mirrors real users.
  3. Differential observation — diff request/response pairs across attacker vs. victim contexts to surface authorization gaps.
  4. Evidence-first — capture screenshots, HAR files, and DOM snapshots before mutating state further.

Test Patterns

  • Headed vs. headless — run smoke tests headless for speed, but switch to headed mode for tricky DOM races and anti-bot heuristics.
  • Storage isolation — use Playwright's browserContext per test to avoid cookie/localStorage cross-contamination.
  • Request interception — page.route() to mock responses, inject delays, or replay captured payloads deterministically.
  • CDP escape hatch — drop to client.send('Network.setExtraHTTPHeaders', ...) for headers Playwright's API doesn't expose.

Anti-Detection Considerations

  • Default Playwright fingerprints (navigator.webdriver, missing Chrome runtime fields) are trivially detected; use stealth patches for realistic testing.
  • Mouse-movement simulation matters for CAPTCHA-protected flows — synthesize trajectories, not just instant clicks.
  • TLS fingerprinting (JA3) leaks Playwright's Chromium signature; route through a customized proxy if testing anti-bot defenses.
  • Respect target's anti-bot policy in authorized engagements — log every detection event for the report.

Common Pitfalls

  • Flaky selectors — relying on auto-generated class names breaks across deployments; prefer data-testid or role-based selectors.
  • Timing assumptions — waitForTimeout masks real race conditions; use waitForResponse/waitForLoadState instead.
  • Cookie leakage — failing to clear storage between tests causes authenticated/unauthenticated flow confusion.
  • Silent JS errors — without page.on('pageerror') listeners, CSP violations and client-side crashes go unnoticed.

Authentication Testing

  • Drive full login/logout/password-reset cycles with page.fill() + page.click() — avoid shortcuts that skip client-side validation.
  • After authentication, verify session cookies carry correct flags (HttpOnly, Secure, SameSite=Strict/Lax).
  • Test account lockout by iterating wrong credentials and checking for rate-limiting responses (HTTP 429 or progressive delays).
  • Validate "remember me" tokens — long-lived cookies should be rotated on server-side, not static across sessions.

Session and State Management

  • Enumerate all client-side storage: localStorage, sessionStorage, IndexedDB, and cookies — each is a potential auth-data leak vector.
  • Verify CSRF tokens are present in every state-changing request and are rotated per-request (not per-session).
  • Test session fixation by injecting a known session ID before login and confirming the server issues a new one.
  • Check logout invalidation: after logout, the old session cookie must not grant access (server-side revocation).

Network Traffic Analysis

  • Capture full HAR files during testing: page.context().storageState() for cookies, page.route() for request/response logging.
  • Identify all XHR/fetch calls the application makes — hidden API endpoints often lack the same authz checks as page routes.
  • Monitor for credential leakage in URLs (tokens in query strings) and referrer headers (sensitive paths leaked to third-party origins).
  • Check for mixed content: HTTP subresources on HTTPS pages downgrade security guarantees.

Detection Methods

Browser Automation Detection

  • WebDriver flags: navigator.webdriver === true; legacy Selenium/Puppeteer signature.
  • Headless indicators: --headless flag in Chrome process args; missing chrome.runtime API.
  • Canvas fingerprint anomalies: WebGL renderer Mesa/SwiftShader; headless browser giveaway.
  • Plugin enumeration: Missing expected plugins (Chrome PDF, native messaging).
  • Mouse movement patterns: Linear mouse paths (no jitter) typical of automation.

SIEM Detection Rules

  • Splunk SPL: index=web http.user_agent="*HeadlessChrome*" OR http.user_agent="*PhantomJS*"
  • Sigma rule: sigma/rules/web/automated_browser_detection.yml
  • Cloudflare Bot Management: ML-based bot detection catches most automation frameworks.
  • Akamai Bot Manager: Behavioral fingerprinting.

Defense Evasion Techniques

Stealth Automation

  • puppeteer-extra-plugin-stealth: Removes WebDriver signature; patches navigator APIs.
  • undetected-chromedriver: Patches ChromeDriver to remove detection signatures.
  • Playwright with stealth: Use playwright-extra with stealth plugin.
  • Camoufox: Firefox fork with built-in fingerprint randomization.
  • Real browser binaries: Use real Chrome/Firefox binaries (not headless); slower but stealthier.

Fingerprint Mimicry

  • Use real user fingerprints: Capture legitimate user fingerprint (Canvas, WebGL, fonts); replay it.
  • TLS fingerprint matching: curl-impersonate matches browser JA3/JA4 hashes.
  • Realistic viewport: Match common viewport sizes (1920x1080, 1366x768); avoid 800x600.
  • Realistic timing: Add jitter to mouse movements; random delays between actions.

Proxy / Network Stealth

  • Residential proxies: Bright Data, Smartproxy; mimics real user IPs.
  • IP rotation: Rotate per session; avoid single-IP burst patterns.
  • Mobile carrier proxies: 4G/5G IPs; harder to block (legitimate user pattern).

Reporting and Evidence

  • Use page.screenshot({ fullPage: true }) for every finding — full-page captures preserve context that viewport-only shots miss.
  • Record video traces for complex multi-step exploits: browser.newContext({ recordVideo: { dir: 'evidence/' } }).
  • Export console messages filtered by severity: page.on('console', msg => { if (msg.type() === 'error') log(msg) }).
  • Generate HAR exports with page.context().tracing.start() and tracing.stop({ path }) for complete request-level evidence.

Advanced Techniques

  • Combine Playwright with Burp Suite upstream proxy for passive traffic analysis while browser tests execute.
  • Use page.addScriptTag() to inject custom monitoring hooks that log DOM mutations (MutationObserver) and network requests (PerformanceObserver).
  • Parallelize independent test flows across multiple browser contexts for faster regression suites.

Integration

  • Use with web-xss skill for payload delivery
  • Use with api-security skill to analyze intercepted API calls
  • Use with knowledge-ops to store findings

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Browser Qa?

Automated browser-based security testing using Playwright and browser devtools. Interact with web applications as a user would — click, type, navigate — while monitoring network traffic, JavaScript execution, and DOM changes for security issues.

Perché usare Browser Qa su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Browser Qa è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Browser Qa in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/brucesongs/kali-claw/tree/main/skills/browser-qa. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Browser Qa?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Browser Qa?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Browser Qa: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Browser Qa è gratuita?

Sì. È pubblicata su GitHub da brucesongs con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇