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/api-auth-attacksAPIs, SaaS e identidade

api-auth-attacks

⁨Break API authentication: token handling, key leakage, weak session/JWT, and no-auth endpoints. Load on REST/GraphQL APIs using API keys, Bearer tokens, HMAC signing, or basic auth. Signals: `Authorization` headers, api_key params, tokens in URLs, /v1 vs /v2 auth drift.⁩

v2026.10.14-ee0e0c52 instalações+2 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/api-auth-attacks

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

AssinaturaAssinado, ed25519
mu9qtgVWdk…0J3SdrBQ==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacotec436ce08…f38f72ce
c436ce08f342…ee41f38f72ce2 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/api/api-auth-attacks@ee0e0c5

Este item ainda não foi escrito no seu idioma, então aparece em English.

When it applies

An API authenticates requests via tokens/keys/sessions. Auth is the gate; weaknesses here open everything behind it.

Why it works

APIs sprawl (many endpoints, versions, clients) so authentication is applied inconsistently: some routes forgot it, tokens are long-lived or weakly signed, keys leak client-side, and error/timing differences enable enumeration and brute force.

Method

  1. No-auth endpoints: replay requests with the token removed; probe /v1 vs /v2, /internal, /debug, and undocumented routes (Swagger/OpenAPI) for missing auth.
  2. Token weaknesses: JWT issues (→ web-auth-jwt: alg confusion, weak secret, none); long/ non-expiring tokens; predictable session ids; token accepted in URL (logged/leaked).
  3. Key leakage: hunt keys in JS bundles, mobile apps, git (→ code-review-secrets-detection), and test their privilege/scope.
  4. Brute/enumeration: username enumeration via login/reset differences; weak rate limits on login/OTP (→ web-race-conditions for OTP windows).
  5. Auth logic: password reset token predictability/leak, 2FA bypass, "remember me" tokens.

Gotchas

  • Test every version and verb — the fix may exist only on the newest route.
  • A leaked key must be live and privileged to matter — validate scope, don't over-collect.
  • Rate-limit "bypass" via parallelism or header rotation is reportable on many programs.

Verify success

Authenticated access without valid credentials (no-auth route, forged/replayed token, or a live leaked key performing a privileged action).

References

OWASP API Security Top 10 (API2); PortSwigger auth labs.

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 2026ee0e0c5c436ce08Assinada–

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