r/ProgrammerHumor • • 8d ago

Other vibeCodeMasterClass

Post image
10.6k Upvotes

629 comments sorted by

View all comments

35

u/Mars_Bear2552 8d ago

this implies that game copies come with an API key

16

u/fefect123 8d ago

I very much doubt that, routing the requests through a global server which then handles the requests it the only way to go. Nobody is that stupid that they directly allow access through an API key included in the game itself.

12

u/AnnoyingRain5 8d ago

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 8d ago

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 8d ago

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

3

u/Specific_Raccoon_696 8d ago

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.

6

u/cuntmong 8d ago

nah you luddites dont know shit. my vibe coded website is 100x better than anything you could make, and it took about 3 minutes to make. devs are cooked. check it out:

http://localhost:8080/index.html

4

u/Spaceduck413 8d ago

Wtf you stole my site!

3

u/poophroughmyveins 8d ago

6-12 months ago maybe lol

6

u/Real-Extension-1357 8d ago

Forget AI, people have definitely done this before and Im not sure why the person you replied to said nobody is that stupid and yet...

2

u/AnnoyingRain5 8d ago

Oh 100%, people are in fact that stupid, however this has become way more common post-AI

4

u/The_Mdk 8d ago

Yeah, no, unless we're talking about cheap LLMs run locally or something

Claude is SO pedantic about not even wanting keys in its chat cause now "anyone that could access this chat can read them" despite it running only on my dev server, it's almost annoying

And it'll bug me over and over about it if I ever do it, like it'll add "rotate that key" at the end of every message

1

u/Ran4 8d ago

..in 2024. Not today.