본문으로 건너뛰기
Skillpedia
보안81k · #1575

browser-auth-flow

하는 일

이 스킬은 토큰 유출, 위조 요청(CSRF) 방어 누락, 약한 쿠키처럼 사이트 로그인 과정의 문제를 테스트하도록 에이전트를 안내합니다. 출시 전에 자기 사이트의 로그인을 점검하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓새 로그인 또는 인증 흐름을 출시하기 직전일 때.
  • ✓로그인 리디렉션이 세션 토큰을 유출할 수 있다고 의심될 때.
  • ✓시간이 지나도 반복해서 로그인 보안을 점검하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-auth-flow/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“스테이징 사이트의 로그인 흐름에서 리디렉션 유출, CSRF 보호 누락, 약한 세션 쿠키가 있는지 테스트해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 로그인 세션을 기록한 뒤, 캡처한 요청, 리디렉션, 쿠키를 점검하고, 발견 사항 보고서를 작성합니다.

기술 내용 (원본 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

  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.

자주 묻는 질문

내가 소유하지 않은 사이트도 테스트해도 되나요?

소유하거나 테스트 권한이 있는 사이트만 테스트하세요. 스킬은 공격적인 탐색을 수행합니다.

쿠키 값을 보여 주나요?

아닙니다. 쿠키 이름과 값의 길이만 반환하며, 값 자체는 보여 주지 않습니다.

전체 보안 감사를 대체하나요?

아닙니다. 특정 로그인 점검만 다루므로, 더 넓은 검토와 함께 사용해야 합니다.

상세 정보

작성자의 원본 설명

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬