דילוג לתוכן
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/web-csrfWeb ו-bug bounty

web-csrf

⁨Cross-Site Request Forgery — force a victim's browser to perform state-changing actions. Load on state-changing requests (POST/PUT/DELETE) that rely only on cookies, missing/weak CSRF tokens, `SameSite=None`, or forms/JSON without anti-CSRF. Signals: cookie-only auth, no token, token not validated.⁩

v2026.10.14-ee0e0c54 התקנות⁦+4⁩ ב-7 ימים27 כוכביםMITסונכרן לפני 22 שעות

התקנה

עדיין אין לכם את ה-CLI של NotHoly? התקינו אותו קודם.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/web-csrf

נכתב אל ⁦~/.notholy/skills⁩ אחרי בדיקת החתימה וה-SHA-256.

חתימהחתום, ed25519
LSn9/TSbLD…a4SrqQDw==ה-CLI בודק את ה-SHA-256 ואת החתימה לפני שהוא כותב קובץ כלשהו.
חבילה790e660e…1f741206
790e660eac21…55f51f741206שני קבצים · ⁦2.5 KB⁩
סריקהנמוךאין ממצאים
הסריקה לא מצאה בגרסה הזו שום דבר שצריך לסמן.לסריקה המלאה
מקורgithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-csrf@ee0e0c5

הפריט הזה עדיין לא נכתב בעברית, ולכן הוא מוצג בשפה אחרת: English.

When it applies

A state-changing action authenticated purely by an ambiently-sent credential (cookie) with no unpredictable token the attacker's site can't know/replay.

Why it works

Browsers attach cookies to cross-site requests automatically. If the server accepts the action on cookie alone, an attacker page can submit it on the victim's behalf. Anti-CSRF tokens / SameSite cookies break this by requiring something cross-site JS can't supply.

Method

  1. Find a candidate: a sensitive action (change email/password, transfer, role) that changes state.
  2. Check the defenses: is there a CSRF token? Is it validated (remove it / reuse another user's / swap value)? Is the cookie SameSite=Lax/Strict? Is it a simple request (no preflight)?
  3. Build the PoC: auto-submitting HTML form (or fetch for simple requests) that fires the action; host it and load it as the victim.
  4. Bypass weak tokens: token not tied to session, predictable, accepted when blank, only checked if present, or leaked via GET/referer.
  5. JSON endpoints: try Content-Type: text/plain/form-encoding to avoid preflight; if the API accepts it, CSRF applies.

Gotchas

  • SameSite=Lax (now default in Chrome) blocks most cross-site POST CSRF — look for None, GET-based actions, or method override.
  • Token present ≠ safe — always test that it's actually validated and bound to the session.
  • Login CSRF and CSRF chained with self-XSS are often the real impact.

Verify success

Loading your PoC while authenticated as the victim performs the action (email changed, etc.) with no interaction beyond visiting the page.

References

PortSwigger CSRF labs; OWASP CSRF Prevention Cheat Sheet.

הקבצים בגרסה הזו

הרשאות

הרשאההוצהרנמצא בסריקה
קורא קבציםלאלא
כותב קבציםלאלא
מריץ פקודות shellלאלא
משתמש ברשתלאלא
משתמש במחבריםלאלא
שולט בדפדפןלאלא

ממצאי הסריקה

נבדק ב-13 בנוב׳ 2026

הסריקה לא מצאה בגרסה הזו שום דבר שצריך לסמן.

סריקה נקייה מורידה את הסיכון, אבל לא מוכיחה שהחבילה בטוחה. כדאי לקרוא מה מתקינים.

גרסהפורסמהCommitSHA-256חתימהשינוי בהרשאות
v2026.10.14-ee0e0c513 בנוב׳ 2026ee0e0c5790e660eחתומה–

שאלו כל מה שהסקופ מאפשר.

יוצרים חשבון, מוסיפים קרדיטים ושואלים את השאלה הראשונה בצ׳אט או בטרמינל.

  1. 1/3

    יצירת חשבון

    פרטי או חברה. אפשר לעבור לחשבון חברה אחר כך בלי לאבד יתרה או מפתחות.

    פרטיחברה
  2. 2/3

    הוספת קרדיטים

    בכרטיס אשראי. תשלום לפי טוקן, בלי מנוי.

    $5.00טעינה מינימלית
  3. 3/3

    שאלה ראשונה

    בצ׳אט, או להתקין את ה-CLI ולהריץ notholy login בטרמינל.

    $ notholy login