2023-03-07 09:40:29 +00:00
|
|
|
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:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-03-07 09:40:29 +00:00
|
|
|
tags: segment,token,exposure
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-03-07 09:40:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- '(sgp_[a-zA-Z0-9]{64})'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502210092bde10920aa92e490665922fc862611f7302c343b91fb6346df31973102435b02203a4721f8da2d61f50c10419b0b9d9d70e28e456dfd3972b9bd6f54c77918399f:922c64590222798bb761d5b6d8e72950
|