nuclei-templates/exposures/tokens/openai/openai-api-key.yaml

24 lines
541 B
YAML

id: openai-api-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: openai,token,exposure
requests:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- "(sk-[a-zA-Z0-9]{48})"