Langsung ke konten
Skillpedia
Keamanan81k ยท #1575

browser-auth-flow

Fungsinya

Skill ini memandu agent menguji proses login sebuah situs untuk masalah seperti kebocoran token, perlindungan yang hilang dari permintaan palsu, dan cookie yang lemah. Skill ini untuk pengembang yang memiliki situs dan ingin login-nya diperiksa sebelum peluncuran.

Kapan dipakai

  • โœ“Saat Anda akan meluncurkan alur login atau masuk yang baru.
  • โœ“Saat Anda curiga pengalihan login bisa membocorkan token sesi.
  • โœ“Saat Anda ingin pemeriksaan keamanan login yang bisa diulang dari waktu ke waktu.

Link skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-auth-flow/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-auth-flow/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œUji alur login di situs staging saya untuk kebocoran pengalihan, perlindungan CSRF yang hilang, dan cookie sesi yang lemah.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent merekam sesi login, lalu menjalankan pemeriksaan pada permintaan, pengalihan, dan cookie yang ditangkap, dan menulis laporan temuan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

  1. Open a recorded session via browser-record.

  2. Drive the auth flow as in browser-login (credentials come from --credentials <handle> referencing browser-cookies if the run is a re-auth probe).

  3. Run probes:

    • csrf: inspect the login POST in the trajectory; verify a same-origin token field is present and non-empty.
    • redirect: watch browser_get-url after 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.cookie exposes only name=value of non-HttpOnly cookies; it cannot show Secure, SameSite or expiry. Via browser_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 not HttpOnly. For Secure/HttpOnly/SameSite/expiry, read the Set-Cookie response headers (for example curl -sS -D - -o /dev/null <login-url> for pre-auth cookies); post-login attributes are not observable with these tools, so mark them not-assessed and ask for a HAR or devtools export instead of guessing.
    • oauth: if the flow involves a third-party provider, capture the authorization request, verify state and nonce are present and high-entropy, verify redirect_uri matches the registered callback domain.
  4. Quarantine any token / credential / PII captured during probing โ€” it stays inside the RVF container's findings, never returns to the model unredacted (aidefence_is_safe gate from browser-extract applies if you read the findings back).

  5. Write findings.md with one section per probe, severity rating per finding, and a verdict (pass / warn / fail).

  6. Index the session in browser-sessions with tag: auth-probe so 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.

Pertanyaan umum

Bolehkah saya menguji situs yang bukan milik saya?

Hanya uji situs yang Anda miliki atau yang sudah Anda beri izin untuk diuji, karena skill ini menjalankan probe adversarial.

Apakah nilai cookie ditampilkan?

Skill hanya mengembalikan nama cookie dan panjang nilainya, bukan nilai itu sendiri.

Apakah ini menggantikan audit keamanan lengkap?

Tidak. Skill ini mencakup pemeriksaan login tertentu dan sebaiknya dikombinasikan dengan tinjauan yang lebih luas.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
81k
Peringkat
#1575
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa