browser-auth-flow
ما الذي تفعله
تُرشد هذه المهارة الوكيل إلى اختبار عملية تسجيل الدخول في موقع ما بحثاً عن مشكلات مثل تسرب الرموز ومنع الطلبات المزوّرة وضعف ملفات تعريف الارتباط (cookies). وهي موجهة للمطورين الذين يملكون موقعاً ويريدون فحص تسجيل الدخول قبل إطلاقه.
متى تستخدمها
- ✓عندما تكون على وشك إطلاق تسجيل دخول جديد.
- ✓عندما تشك في أن إعادة التوجيه أثناء الدخول قد تسرّب رمز الجلسة.
- ✓عندما تريد فحصاً قابلاً للتكرار لأمان تسجيل الدخول عبر الزمن.
رابط المهارة
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-auth-flow/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اختبر مسار تسجيل الدخول في موقع التجربة لدي بحثاً عن تسرب عبر إعادة التوجيه، ونقص الحماية من CSRF، وملفات الجلسة الضعيفة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يسجل وكيلك جلسة دخول، ثم يجري فحوصات على الطلبات وإعادات التوجيه وملفات الارتباط التي التقطها، ويكتب تقرير النتائج.
المحتوى التقني (ملف 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.
الأسئلة الشائعة
هل يجب أن أختبر مواقع لا أملكها؟
اختبر فقط المواقع التي تملكها أو لديك إذن باختبارها، لأن المهارة تُجري فحوصات عدائية.
هل تعرض قيم ملفات الارتباط؟
تعرض المهارة أسماء ملفات الارتباط وأطوال قيمها فقط، لا القيم نفسها.
هل تحل محل تدقيق أمني كامل؟
لا. تغطي فحوصات محددة لتسجيل الدخول، ويجب دمجها مع مراجعة أوسع.
التفاصيل
الوصف الأصلي من المؤلف
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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-adaptive-coordinator
81kيساعد وكيلك على تقسيم مجموعة من وكلاء الذكاء الاصطناعي وإعادة توزيعها مع تغير حجم العمل، واختيار تخطيط يناسب المهمة.
agent-agent
81kيعلّم وكيلك أن يحوّل هدفًا كبيرًا إلى خطة مرتبة من الإجراءات، وأن يعيد التخطيط عندما تتغير الظروف.
agent-agentic-payments
81kيساعد وكيلك على إدارة تفويضات الإنفاق للتسوق بالذكاء الاصطناعي، بحدود إنفاق وأطر زمنية وقواعد للتجار وموافقات موقعة.
agent-analyze-code-quality
81kيساعد وكيلك على مراجعة الشيفرة من حيث الجودة، فيجد روائح الشيفرة والديون التقنية واقتراحات إعادة الهيكلة دون تغيير الملفات.
مهارات مشابهة
reverse-engineer-anything
422kيساعد وكيلك على فحص التطبيقات والحزم المنشورة من الداخل ليشرح الميزات ويقارن الإصدارات ويرشد إلى إعادة البناء، باستخدام أداة REA.
1password
394kيساعد وكيلك على إعداد واجهة سطر أوامر 1Password وتسجيل الدخول، وقراءة الأسرار أو حقنها دون طباعة قيمها في المحادثة.
healthcheck
394kيساعد وكيلك على تدقيق جهاز OpenClaw أو خادمه أمنيًا، مثل SSH والجدار الناري والتحديثات، ويقترح إصلاحات آمنة قابلة للتراجع.