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

26 lines
746 B
YAML
Raw Normal View History

2023-03-07 09:40:29 +00:00
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:
2023-06-04 08:13:42 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2023-03-07 09:40:29 +00:00
tags: openai,token,exposure
http:
2023-03-07 09:40:29 +00:00
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
2023-10-14 11:27:55 +00:00
- "(sk-[a-zA-Z0-9]{48})"
# digest: 490a0046304402201e2f4c2e0748d18d5867e84c62ed8f58ae0f3c4f84c4c445636f24fe0a96a34302207842323486e29e5e86ce8412ccc38d8de6476c16d55b4b0c34527bdc36e56da9:922c64590222798bb761d5b6d8e72950