3 ms·
Yep, this type of thing happens all the time in ChatGPT. I've more than once had ChatGPT suggest that I use something deprecated and sometimes if you poke it a
by davewritescode 4y ago
Yep, this type of thing happens all the time in ChatGPT. I've more than once had ChatGPT suggest that I use something deprecated and sometimes if you poke it and tell it it'll figure it out but I've seen it make the same mistakes over and over.
I was working with JWT tokens in GoLang and the library I was using didn't validate expiration by default. I asked ChatGPT before I dug into the library code and it suggested a solution that that bypassed the built in validation of the JWT library I was using and introduced a fairly big security issue.
That was the moment I got a little nervous about folks using ChatGPT.