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