Just got this from ChatGPT:
Hi there,
We have determined that your OpenAI API key was leaked, and have disabled it with immediate effect.
This may be because you committed your API key to an online service such as GitHub, or your key may have been compromised in another way.
The way I use my key, is through a Xojo desktop app (Windows and Mac) (no git storage of keys).
In code, the key is stored as a constant and used like this:
serverInstance.RequestHeader("Authorization") = K_OPENAI_APIKEY
// Cutting away code where content / messages is being set.
serverInstance.Send("POST","https://api.openai.com/v1/chat/completions",20)
Any thoughts, how it might have been leaked? Anyone had the same problem?
4 posts - 4 participants