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
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
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})"
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 490a0046304402201e2f4c2e0748d18d5867e84c62ed8f58ae0f3c4f84c4c445636f24fe0a96a34302207842323486e29e5e86ce8412ccc38d8de6476c16d55b4b0c34527bdc36e56da9:922c64590222798bb761d5b6d8e72950
|