2023-02-12 13:12:05 +00:00
|
|
|
id: mapbox-token
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Mapbox Token
|
|
|
|
author: Devang-Solanki
|
|
|
|
severity: medium
|
2023-02-16 10:42:11 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.gitguardian.com/secrets-detection/detectors/specifics/mapbox_token
|
|
|
|
- https://github.com/zricethezav/gitleaks/blob/master/cmd/generate/config/rules/mapbox.go
|
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-02-12 13:12:05 +00:00
|
|
|
tags: token,file,mapbox
|
2023-02-13 16:54:11 +00:00
|
|
|
|
2023-02-12 13:12:05 +00:00
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
2023-02-16 10:42:11 +00:00
|
|
|
name: mapbox-public-token
|
|
|
|
part: body
|
2023-02-12 13:12:05 +00:00
|
|
|
regex:
|
2023-02-16 10:42:11 +00:00
|
|
|
- 'pk\.eyJ1Ijoi\w+\.[\w-]*'
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
name: mapbox-secret-token
|
|
|
|
part: body
|
|
|
|
regex:
|
|
|
|
- 'sk\.eyJ1Ijoi\w+\.[\w-]*'
|