id: sendgrid-api-key
info:
name: Sendgrid API Key Disclosure
author: Ice3man
severity: info
metadata:
max-request: 1
tags: exposure,token,sendgrid
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- 'SG\.[a-zA-Z0-9-_]{22}\.[a-zA-Z0-9_-]{43}'
# digest: 4a0a0047304502201531cc2f2d4fe7f2498c666b2ddd7aa51cc49680f9b952911a32ba3de39065220221008a225336c80a8445ec807c0e77474fd8a5802c4e1d63fa414e296287f74d2a45:922c64590222798bb761d5b6d8e72950