漏洞赏金审计框架 — 针对常见漏洞类别的三个专注模块。
╔═╗╔═╗╔╗ ╦═╗╔═╗ ╔═╗╦ ╦╔╦╗╦╔╦╗
║ ║ ║╠╩╗╠╦╝╠═╣ ╠═╣║ ║ ║║║ ║
╚═╝╚═╝╚═╝╩╚═╩ ╩ ╩ ╩╚═╝═╩╝╩ ╩
| 模块 | 测试内容 |
|---|---|
apikeys | Stripe, SendGrid, GitHub (classic & fine-grained), GitLab, OpenAI, Anthropic, Slack, Mailgun, Firebase, NPM, AWS, Shopify, Twilio |
oauth | Implicit flow, PKCE enforcement, state parameter, redirect URI bypass |
pwreset | Host header injection, username enumeration, rate limiting |
pip install -e .
安装后,cobraaudit 可在全局使用。
# 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 中的主机头注入需要 Burp Collaborator 或 interactsh 来确认重置邮件中的回显。--client-id 时效果最佳——没有它,结果可能不明确。