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

25 lines
584 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:
max-request: 1
verified: true
tags: segment,token,exposure
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '(sgp_[a-zA-Z0-9]{64})'