2023-07-14 11:42:53 +00:00
|
|
|
id: finnhub-accesstoken
|
2023-07-04 09:09:14 +00:00
|
|
|
|
|
|
|
info:
|
2023-07-14 11:42:53 +00:00
|
|
|
name: finnhub Access Token
|
2023-07-04 09:09:14 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
2023-07-14 11:42:53 +00:00
|
|
|
- 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
|
2023-07-04 09:09:14 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-07-14 11:42:53 +00:00
|
|
|
tags: finnhub,file,token
|
2023-07-04 09:09:14 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- (?i)(?:finnhub)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a004630440220160dda35678f176cb66b6597941a1cb984685d867d3f23f93883d53674fc1b7602202725b1c15a4eaa2c3dd7afcb74619abee68032a4c0aa6bafc63242fbd7978491:922c64590222798bb761d5b6d8e72950
|