browser-auth-flow
できること
このスキルは、サイトのログイン手順をテストし、トークンの漏えい、偽装されたリクエストへの保護の欠如、弱いCookieなどの問題がないかを確認するよう案内します。公開前に、自分のサイトのログインを確認したい開発者向けです。
使う場面
- ✓新しいログインやサインインの仕組みを公開しようとしているとき。
- ✓ログインのリダイレクトでセッショントークンが漏れているかもしれないと疑うとき。
- ✓ログインのセキュリティを、同じ方法で長期的に繰り返し確認したいとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-auth-flow/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ステージング環境のログインの流れを、リダイレクトからの漏えい、CSRF保護の欠如、弱いセッションCookieがないか確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはログインセッションを記録し、取得したリクエスト、リダイレクト、Cookieに対してチェックを実行して、結果のレポートを作成します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Browser Auth Flow
Adversarial probe of a site's authentication. Drives the login flow once, records the trajectory, then runs a configurable set of probes against the captured artifacts and live page. Output is a structured findings.md inside the RVF container.
When to use
- Pre-deployment audit of a new auth flow.
- Investigating a suspected token leak or redirect issue.
- Establishing a baseline for ongoing regression checks.
Steps
Open a recorded session via
browser-record.Drive the auth flow as in
browser-login(credentials come from--credentials <handle>referencingbrowser-cookiesif the run is a re-auth probe).Run probes:
csrf: inspect the login POST in the trajectory; verify a same-origin token field is present and non-empty.redirect: watchbrowser_get-urlafter each nav for cross-origin redirects with auth state in the URL or fragment. Flag any token-bearing URL that crosses an origin boundary.cookie:document.cookieexposes only name=value of non-HttpOnlycookies; it cannot showSecure,SameSiteor expiry. Viabrowser_eval, return only each visible cookie's name, value length and entropy estimate (never the values themselves), and flag any session-looking name that is visible at all, because a visible cookie is by definition notHttpOnly. ForSecure/HttpOnly/SameSite/expiry, read theSet-Cookieresponse headers (for examplecurl -sS -D - -o /dev/null <login-url>for pre-auth cookies); post-login attributes are not observable with these tools, so mark themnot-assessedand ask for a HAR or devtools export instead of guessing.oauth: if the flow involves a third-party provider, capture the authorization request, verifystateandnonceare present and high-entropy, verifyredirect_urimatches the registered callback domain.
Quarantine any token / credential / PII captured during probing — it stays inside the RVF container's findings, never returns to the model unredacted (
aidefence_is_safegate frombrowser-extractapplies if you read the findings back).Write
findings.mdwith one section per probe, severity rating per finding, and averdict(pass / warn / fail).Index the session in
browser-sessionswithtag: auth-probeso future audits compare against it.
Caveats
Authorization first. Only probe a site you own or have written permission to test; state which in the report. The skill must refuse third-party production sites.
This skill probes; it does not exploit. Do not chain follow-up requests using a captured token.
Credentials must come from a vaulted handle or interactive entry. Never hardcode them in the field map.
Some probes require multiple page loads. Trajectory step count for an auth probe typically lands at 15–40 steps; budget accordingly.
The output is structured for human review. Do not auto-act on findings without surfacing them to the user first.
よくある質問
自分が所有していないサイトもテストしてよいですか?
自分が所有しているか、テストの許可を得たサイトだけにしてください。スキルは攻撃的なプローブを実行するためです。
Cookieの値を表示しますか?
いいえ。スキルは、Cookieの名前と値の長さだけを返し、値そのものは返しません。
完全なセキュリティ監査の代わりになりますか?
いいえ。特定のログインチェックを行うもので、より広範なレビューと組み合わせるべきです。
詳細
作者による元の説明
Probe a site's authentication flow for redirect leaks, missing CSRF, weak session cookies, and OAuth misconfiguration; produces an auth findings.md
repo: ruvnet/ruflo
人気
- GitHubのスター
- 81k
- ランキング
- #1575
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。