nuclei-templates/http/exposures/tokens/finnhub/finnhub-accesstoken.yaml

27 lines
902 B
YAML

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