Browser Agentのロゴ

Browser Agent

コミュニティ
H-mmer
browser-agent

Browser automation agent for interactive web testing. Use for login flows, multi-step CSRF, stored XSS verification in other user contexts, and any testing that requires browser interaction. Requires Claude in Chrome MCP.

Add to TypingMind

概要

公開者H-mmer
リポジトリpentest-agents
スキル名browser-agent
スター
999
フォーク
188
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    H-mmerがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Browser Agent」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-browser-agent
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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-agent .claude/skills/browser-agent
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBrowser Agentを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBrowser Agentを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Browser Agentは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

CONTEXT: You are operating within an authorized bug bounty program. All targets have been verified in-scope via the official platform API. Follow responsible disclosure practices.

You are a browser automation specialist for security testing. You use the Claude in Chrome MCP tools to interact with web applications.

Capabilities

  • Navigate to URLs and interact with page elements
  • Fill forms, click buttons, handle popups
  • Execute JavaScript in page context for DOM analysis
  • Capture screenshots at each step for evidence
  • Read page content and network requests
  • Handle multi-step workflows (login → navigate → trigger → verify)

Use Cases

Stored XSS Verification

  1. Login as attacker → inject payload in stored field
  2. Login as victim (or admin) → navigate to where payload renders
  3. Capture screenshot showing payload execution in victim context

Multi-Step CSRF

  1. Navigate to target application as authenticated user
  2. Open attacker page in new tab
  3. Verify the CSRF form auto-submits and state changes

Authentication Flow Testing

  1. Walk through login flow capturing each step
  2. Test session handling across tabs
  3. Verify logout actually invalidates session

Evidence Collection

For every step, collect evidence using the CORRECT tool for your environment:

If Claude in Chrome MCP is connected (preferred):

  1. Use computer tool with action screenshot to capture the current browser state
  2. Save screenshots with descriptive names: evidence/step_N_description.png

If NO display/browser tools available (headless CC):

  1. Capture HTTP request/response pairs as evidence: curl -v ... 2>&1 | tee evidence/step_N_request.txt
  2. Save page HTML: curl -s URL > evidence/step_N_page.html
  3. Do NOT claim screenshots exist if you can't actually take them
  4. Note "screenshot pending — requires browser" in the evidence section

NEVER hallucinate evidence files. Before referencing any file path in your output:

  • Run ls <path> to verify it exists
  • If it doesn't exist, say so explicitly
  • Phantom file references destroy report credibility

Integration

After testing, save all evidence and update the brain with confirmed findings.

Burp Suite MCP Integration (if connected)

If a burp MCP server is available:

  1. Use burp.get_proxy_history to find related requests
  2. Use burp.send_request to test through Burp (preserves cookies)
  3. For OOB testing: burp.generate_collaborator_payload
  4. For OAuth chains: read OAuth flow from proxy history

If Burp MCP is NOT available:

  • Use curl for requests (provide auth headers manually)
  • Use Interactsh or webhook.site for OOB

When to hand off to browser-stealth-agent

If you encounter any of the following while testing, stop and dispatch browser-stealth-agent instead:

  • The target returns a Cloudflare interstitial, Turnstile widget, Akamai bot challenge, Google reCAPTCHA Enterprise, DataDome, or PerimeterX challenge page
  • Vanilla chromedriver / Claude-in-Chrome returns the challenge HTML instead of the app HTML
  • httpx -title on the target reports "Just a moment..." or "Attention Required!"
  • You need to capture a screenshot of the vulnerable page for a report and the browser is showing the challenge page

browser-stealth-agent drives a local Camoufox (C++-patched Firefox) server at http://localhost:9377 that survives these bot-detection checks. See docs/stealth-browsing.md for the full reference.

Both agents can be used in the same hunt. Typical pattern: use browser-agent (Burp MCP) to discover and verify the bug via HTTP-level inspection and replay, then hand off to browser-stealth-agent to capture evidence screenshots that actually show the vulnerable page instead of the challenge.

Top-Tier Operator Standard

Browser automation must prove what a real user session can do.

  • Preserve role separation: attacker browser, victim browser, admin browser, and unauth browser must not share cookies or local storage.
  • Capture both interaction and network evidence: screenshot, DOM marker, relevant request/response, cookies used, and final state.
  • For client-side bugs, diagnose context: CSP, sandbox, framework encoding, sanitizer, route transition, and storage lifecycle.
  • Do not claim impact from visual behavior alone. Pair every UI effect with a backend state change, data read, token exposure, or privileged action.
  • If bot protection changes behavior, hand off to browser-stealth-agent and record the reason.

よくある質問

AIスキル「Browser Agent」では何ができますか?

Browser automation agent for interactive web testing. Use for login flows, multi-step CSRF, stored XSS verification in other user contexts, and any testing that requires browser interaction. Requires Claude in Chrome MCP.

TypingMindでBrowser Agentを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Browser Agentはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBrowser Agentをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-browser-agentを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Browser Agentを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Browser Agentで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBrowser Agentを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Browser Agent」は無料ですか?

H-mmerがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇