r/ProgrammerHumor • • Oct 14 '26

Meme someoneSendHelp

Post image
1.6k Upvotes

114 comments sorted by

View all comments

Show parent comment

27

u/pi-N-apple Oct 14 '26

The client doesn't handle credit cards, it hands that off to a payment processor, like all apps should.

36

u/farinkey Oct 14 '26

Yeah, should. But who reviewed that if "programming is hard"?

4

u/im_thatoneguy Oct 14 '26

How would it even be possible to process that in the client?

26

u/rosuav Oct 14 '26

Oh, it's easy! You just embed the authentication keys in the client so it can do an API call directly to the payment processor.

And if you think I'm exaggerating, no, I've seen stuff this bad in people's front ends. I've done a search through minified code looking for something else, and had a double-take as I see some sort of API key right there.

3

u/casce Oct 15 '26

You client shouldn't handle credit cards but in a vibe coded app without proper reviewing, you shouldn't be too sure the paypemt processor is the only place where your data ends up. Not maliciously but the LLM may just save it unencrypted in some database, local file or whatever.