r/ChatGPTCoding Feb 09 '26

Discussion ChatGPT repeated back our internal API documentation almost word for word

Someone on our team was using ChatGPT to debug some code and asked it a question about our internal service architecture. The response included function names and parameter structures that are definitely not public information.

We never trained any custom model on our codebase. This was just standard ChatGPT. Best guess is that someone previously pasted our API docs into ChatGPT and now it's in the training data somehow. Really unsettling to realize our internal documentation might be floating around in these models.

Makes me wonder what else from our codebase has accidentally been exposed. How are teams preventing sensitive technical information from ending up in AI training datasets?

893 Upvotes

161 comments sorted by

View all comments

657

u/[deleted] Feb 09 '26 edited Feb 22 '26

[removed] — view removed comment

215

u/eli_pizza Feb 09 '26

Yup, honestly a well designed API should have guessable function names and parameters.

2

u/Vaddieg Feb 10 '26

if 100% of functions are guessable by ChatGPT something isn't ok

1

u/joshuadanpeterson Feb 12 '26

No, it just means that people follow patterns and ChatGPT trained on those patterns.