browser-auth-flow
Skill này làm gì
Skill này hướng dẫn agent kiểm thử quy trình đăng nhập của một trang web để tìm các vấn đề như rò rỉ token, thiếu bảo vệ chống yêu cầu giả mạo và cookie yếu. Phù hợp với lập trình viên sở hữu trang web và muốn kiểm tra đăng nhập trước khi ra mắt.
Khi nào nên dùng
- ✓Khi bạn sắp ra mắt một luồng đăng nhập hoặc đăng ký mới.
- ✓Khi bạn nghi ngờ một chuyển hướng đăng nhập có thể làm lộ token phiên.
- ✓Khi bạn muốn một kiểm tra bảo mật đăng nhập lặp lại được theo thời gian.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-auth-flow/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra luồng đăng nhập trên trang staging của tôi xem có rò rỉ khi chuyển hướng, thiếu bảo vệ CSRF hay cookie phiên yếu không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent ghi lại một phiên đăng nhập, rồi chạy kiểm tra trên các yêu cầu, chuyển hướng và cookie đã thu được, và viết báo cáo phát hiện.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Tôi có nên kiểm thử các trang không phải của mình không?
Chỉ kiểm thử trang bạn sở hữu hoặc được phép kiểm thử, vì skill chạy các thăm dò đối kháng.
Nó có hiển thị giá trị cookie không?
Skill chỉ trả về tên cookie và độ dài giá trị, không trả về giá trị.
Nó có thay thế được kiểm toán bảo mật đầy đủ không?
Không. Skill bao quát các kiểm tra đăng nhập cụ thể và nên kết hợp với một đợt review rộng hơn.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1575
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.