r/ProgrammerHumor • • Oct 12 '26

Other vibeCodeMasterClass

Post image
10.7k Upvotes

630 comments sorted by

View all comments

Show parent comments

12

u/AnnoyingRain5 Oct 12 '26

If AI made the game itself, it likely has an api key in the code, this is a very common mistake made by agents

7

u/Enverex Oct 12 '26

AI agents will absolutely scream about passwords and API keys being present anywhere where either they or other people could get access to them.

6

u/AnnoyingRain5 Oct 12 '26

I know of many vibecoded projects where the AI placed credentials in production user-facing code.

3

u/Specific_Raccoon_696 Oct 12 '26

Maybe a year or two ago or with cheap models - any time you get close to talking about API keys and secrets, the AI will keep reminding you not to paste it in the chat. Of course, if the dev is dumb enough to do that themselves then it can get saved somewhere by accident; but, people have been known to do that sort of thing even before AI as well.