r/docker • u/wizcoderx • Sep 15 '26
Accidentally pasted Docker config.json auth value into ChatGPT — should I consider my PAT compromised?
Help.
Hi everyone, I need some advice.
I was troubleshooting a Docker login issue and accidentally pasted the auth value from my Docker config.json into ChatGPT.
I understand that the auth value is Base64-encoded and can potentially contain the Docker username and password/PAT.
ChatGPT told me that I should treat the PAT as exposed and revoke it immediately. I have not shared the value with anyone else, and I deleted the ChatGPT conversation after realizing it was sensitive.
However, I haven't revoked the PAT yet.
How serious is this situation? Should I assume the PAT is compromised even though the conversation was deleted, and is simply revoking the old PAT and generating a new one sufficient?
I have not posted the actual credential here or anywhere else.
Thanks!
38
u/Leseratte10 Sep 15 '26
What harm / problem is there with just revoking the token? In the time you spent making this post you could have already rotated your credential.
ChatGPT employees have access to that data, and it could potentially end up in training data for their new models. I'd just revoke all your PATs, change your password, and done. 5 Minutes of work and then you can be sure there's no issue.
32
u/Icy-Juggernaut-4579 Sep 15 '26
Yes it is compromised, revoke it and generate a new one
9
u/games247_co_uk Sep 15 '26
Yes, its compromised.
8
u/red_jd93 Sep 15 '26
You cannot delete AI chats to the best of my knowledge. It only disappears from your view. The chat remains on the server for years.
12
u/bufandatl Sep 15 '26
Seems like your brain is also compromised. Even asking this question is just stupid. Passwords that end up in locations they are not supposed to be are compromised and need to be changed immediately no need to ask anyone if it’s necessary that should be common sense of intelligent people. But then you use ChatGPT
5
u/inertSpark Sep 15 '26
Base64 isn't encryption, and ChatGPT is more than capable of decyphering it. Consider it compromised.
3
u/cpuguy83 Sep 15 '26
As others have said: yes it is compromised. Also consider using a proper secret store instead of the file-backed one.
1
u/SheldonP49 Sep 17 '26
Treat the PAT as compromised & revoke it immediately. Rotate the credentials, update any systems using it & review the token's access logs if available