nuclei-templates/http/exposures/tokens/segment/segment-public-token.yaml

28 lines
780 B
YAML

id: segment-public-token
info:
name: Segment Public API Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/segment.yml
- https://segment.com/docs/api/public-api/
- https://segment.com/blog/how-segment-proactively-protects-customer-api-tokens/
metadata:
verified: true
max-request: 1
tags: segment,token,exposure
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '(sgp_[a-zA-Z0-9]{64})'
# digest: 4a0a0047304502210092bde10920aa92e490665922fc862611f7302c343b91fb6346df31973102435b02203a4721f8da2d61f50c10419b0b9d9d70e28e456dfd3972b9bd6f54c77918399f:922c64590222798bb761d5b6d8e72950