
Scripts d'audit pour bug bounty — validation de clés API, vérifications de mauvaise configuration OAuth, audit de réinitialisation de mot de passe.
Cadre d'audit pour bug bounty — trois modules ciblés pour les classes de vulnérabilités courantes.
╔═╗╔═╗╔╗ ╦═╗╔═╗ ╔═╗╦ ╦╔╦╗╦╔╦╗
║ ║ ║╠╩╗╠╦╝╠═╣ ╠═╣║ ║ ║║║ ║
╚═╝╚═╝╚═╝╩╚═╩ ╩ ╩ ╩╚═╝═╩╝╩ ╩
| Module | Ce qu'il teste |
|---|---|
apikeys | Stripe, SendGrid, GitHub (classic & fine-grained), GitLab, OpenAI, Anthropic, Slack, Mailgun, Firebase, NPM, AWS, Shopify, Twilio |
oauth | Flux implicite, application de PKCE, paramètre d'état, contournement d'URI de redirection |
pwreset | Injection d'en-tête Host, énumération de nom d'utilisateur, limitation de débit |
pip install -e .
Après installation, cobraaudit est disponible globalement.
# Test a single API key
cobraaudit apikeys --key sk_live_xxxx
# Scan a file for API keys (e.g. NextRecon JS output)
cobraaudit apikeys --file output.js
# Scan a live URL for embedded keys
cobraaudit apikeys --target https://target.com/app.js
# OAuth audit
cobraaudit oauth --target https://target.com
cobraaudit oauth --target https://target.com --client-id myapp
# Password reset audit
cobraaudit pwreset --target https://target.com --email [email protected]
cobraaudit pwreset --target https://target.com --email [email protected] --reset-endpoint /forgot-password
# Run all modules
cobraaudit all --target https://target.com --email [email protected]
pwreset nécessite Burp Collaborator ou interactsh pour confirmer le callback dans l'email de réinitialisation.--client-id connu — sans celui-ci, les résultats peuvent être non concluants.