nuclei-templates/file/keys/openai-key.yaml

23 lines
707 B
YAML

id: openai-key
info:
name: OpenAI API Key
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/openai.yml
- https://platform.openai.com/docs/api-reference
- https://platform.openai.com/docs/api-reference/authentication
metadata:
verified: true
tags: file,keys,openai,token
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- \b(sk-[a-zA-Z0-9]{48})\b
# digest: 4a0a004730450220546f51da9aae790d391a6842237a517f47af7be274bdfa184f865fef630755fb022100fd67b83c7512040fa26564d51c5b03b08f6dc269a73b1fed32b696c5809bbc1c:922c64590222798bb761d5b6d8e72950