Skip to content

Segment Public API Token

ID: segment-public-token

Severity: info

Author: DhiyaneshDK

Tags: segment,token,exposure

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: 4b0a00483046022100873cd25fb0848edb849d569349cdbccc2d6abf85c69c01658dfeb372dda10479022100ba28cc7bee2196e737f3e95dd8f579fb102e84459326246f3a408b6c4d78879c:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/segment/segment-public-token.yaml"

View on Github