Key leaked unexpectedly, any possible reason?

Thank you so much! I already sent a request for help. I put them in my code, unencrypted. As I’m constantly using different openai accounts for different research projects, it is not so convenient to store them as env variables. I never backed up the project, files nor the key on the cloud or anywhere except locally.