
버그 바운티 감사 스크립트 — API 키 검증, OAuth 설정 오류 확인, 비밀번호 재설정 감사.
버그 바운티 감사 프레임워크 — 일반적인 취약점 클래스를 대상으로 하는 세 가지 집중 모듈.
╔═╗╔═╗╔╗ ╦═╗╔═╗ ╔═╗╦ ╦╔╦╗╦╔╦╗
║ ║ ║╠╩╗╠╦╝╠═╣ ╠═╣║ ║ ║║║ ║
╚═╝╚═╝╚═╝╩╚═╩ ╩ ╩ ╩╚═╝═╩╝╩ ╩
| 모듈 | 테스트 대상 |
|---|---|
apikeys | Stripe, SendGrid, GitHub (클래식 및 세분화된), GitLab, OpenAI, Anthropic, Slack, Mailgun, Firebase, NPM, AWS, Shopify, Twilio |
oauth | 암시적 흐름, PKCE 적용, 상태 매개변수, 리디렉션 URI 우회 |
pwreset | 호스트 헤더 주입, 사용자명 열거, 속도 제한 |
pip install -e .
설치 후, cobraaudit은 전역에서 사용 가능합니다.
# 단일 API 키 테스트
cobraaudit apikeys --key sk_live_xxxx
# 파일에서 API 키 스캔 (예: NextRecon JS 출력)
cobraaudit apikeys --file output.js
# 라이브 URL에서 포함된 키 스캔
cobraaudit apikeys --target https://target.com/app.js
# OAuth 감사
cobraaudit oauth --target https://target.com
cobraaudit oauth --target https://target.com --client-id myapp
# 비밀번호 재설정 감사
cobraaudit pwreset --target https://target.com --email [email protected]
cobraaudit pwreset --target https://target.com --email [email protected] --reset-endpoint /forgot-password
# 모든 모듈 실행
cobraaudit all --target https://target.com --email [email protected]
pwreset의 호스트 헤더 주입은 Burp Collaborator 또는 interactsh를 사용하여 재설정 이메일의 콜백을 확인해야 합니다.--client-id가 있을 때 가장 잘 작동합니다. 없으면 결과가 불확실할 수 있습니다.