kingfisher/data/rules/owlbot.yml
Mick Grove 7237a931d5 v1.73.0
2026-01-01 22:24:57 -08:00

39 lines
1,012 B
YAML

rules:
- name: Owlbot API Key
id: kingfisher.owlbot.1
pattern: |
(?xi)
\b
owlbot
(?:.|[\n\r]){0,64}?
(?:api[_-]?key|secret|private|access|token|key)
(?:.|[\n\r]){0,64}?
\b
(
[a-f0-9]{40}
)
\b
pattern_requirements:
min_digits: 2
min_entropy: 3.5
confidence: medium
examples:
- "owlbot SECRET b7d21c0e88e9a3c5938fb045b2b6a5e693eaf9d1"
- "owlbot TOKEN 8a5de3a89b7e4f29bf728b45adcdea6ea3410c78"
references:
- https://owlbot.info/
validation:
type: Http
content:
request:
method: GET
url: "https://owlbot.info/api/v4/dictionary/owl?format=json"
headers:
Authorization: "Token {{ TOKEN }}"
Accept: application/json
response_matcher:
- report_response: true
- type: StatusMatch
status: [200]
- type: WordMatch
words: ['"word"', '"definitions"']