27 lines
903 B
YAML
27 lines
903 B
YAML
id: etsy-accesstoken
|
|
|
|
info:
|
|
name: Etsy Access Token
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
reference:
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/etsy-access-token.yaml
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/etsy-access-token.go
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: etsy,exposure,tokens,accesskey
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- (?i)(?:etsy)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{24})(?:['|\"|\n|\r|\s|\x60|;]|$)
|
|
|
|
# digest: 4b0a00483046022100be406caec03c6e996b21b6eda0ec389b76ba28e503913dab60c9c22ec44c8604022100e7054f8ee07a91f8167d49fbacbdb2954e34402af120c29892a92adf7b4cbfc2:922c64590222798bb761d5b6d8e72950
|