Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
noorqureshi/web-csrfWeb e 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 instalações+4 em 7 dias27 EstrelasMITsincronizado há 22 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

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

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
LSn9/TSbLD…a4SrqQDw==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacote790e660e…1f741206
790e660eac21…55f51f7412062 arquivos · ⁦2.5 KB⁩
VarreduraBaixonenhum achado
A varredura não encontrou nada para apontar nesta versão.Ver a varredura completa
Fontegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-csrf@ee0e0c5

Este item ainda não foi escrito no seu idioma, então aparece em 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.

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosNãoNão
Grava arquivosNãoNão
Roda comandos no shellNãoNão
Usa a redeNãoNão
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

A varredura não encontrou nada para apontar nesta versão.

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v2026.10.14-ee0e0c513 de nov. de 2026ee0e0c5790e660eAssinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login