r/ProgrammerHumor • u/MinimumArmadillo2394 • Apr 18 '25
instanceof Trend vibeCodingGoneWrong
330
u/saschaleib Apr 18 '25
Remember: the "s" in "vibe coding" stands for "security".
7
126
Apr 18 '25
[removed] — view removed comment
111
u/metaglot Apr 18 '25
The letter S appears 15 times in the word "security".
S is the 5th letter
and the 2nd letter
and a mango
294
u/steezystolz Apr 18 '25
Tbf, there are some days where I contemplate this exact same approach.
157
u/aenae Apr 18 '25
The fact ‘chmod 777’ appears in any documentation at all is living proof that this is old behavior
59
u/Darkblade_e Apr 18 '25
To be fair, Linux is notoriously very protective of things like hidraw, so if you ever have to access that then you basically have to chmod 777 it
9
6
4
u/TheQuintupleHybrid Apr 18 '25
This is why I will be forever thankful to the rust for linux team for getting rid of Christoph Hellwig. He helped prevent nfsv4 style permissions in linux, everytime i have permission issues I curse his name
48
u/Korvanacor Apr 18 '25
I used to develop computer interactive exhibits for museums and science centres. One day boss got concerned that other museums could pirate our software so he had me utilize a copy protection package to protect our installers.
On running the installer, the client would be presented with a 30 character code that they would have to transcribe (field was not copyable) and send to me so I could process it and sent them back an unlock code.
Problem was, the initial code was displayed in a font where 0, O and 1, I, l were indistinguishable from one another. Clients also loved to only try to install the day before a big exhibit opening. After a few back and forths with various iterations of the code, I eventually would just send them an installer without the copy protection.
And as it turned out, pirated versions never showed up in the wild, in part at least to the fact that the software was prominently branded to the museum we had developed for.
23
u/JackOBAnotherOne Apr 18 '25
I develop a small website for our local club.
At some point I was asked “but shouldn’t you protect these Files against access by someone that managed to log in as root?”
3
u/Nadamir Apr 19 '25
On the one hand, I love a user who is security conscious.
On the other, …oh sweetie.
11
u/0ut0fBoundsException Apr 18 '25
When you’re heading into the second hour of the BA contradicting themselves on who should have access, when, and under what conditions…
and suddenly you’re thinking about how long it will take for this security gap to get you fired, how much a cabin in the woods costs, and if you can save the money in time
3
2
u/JackNotOLantern Apr 19 '25
I mean, giving a new intern/junion an ability to forcepush to master or prod permissions is exactly the result of this approach.
1
u/mcnello Apr 19 '25
I've definitely temporarily disabled some security on my localhost just to help narrow down what some bug could be related to! 😂
1
1
15
4
3
u/CoffeePieAndHobbits Apr 18 '25
We're 1 step away from AI deciding humans are the problem. Good jorb!
2
u/KimmiG1 Apr 19 '25
What exactly is vibe coding? Is it only when you give ai a simple feature description and don't check the code it makes or give it any sort of technical guiding?
What if you do check the output and have some back and forth telling it to fix stuff and sometimes fixing it your self, then is it stil vibe coding? I've been saying I've been vibe coding when I do it like this. But the finished result doesn't really vibe with all the jokes about it.
2
u/maveric00 Apr 19 '25
No, vibe coding is modifying the prompt as long as it takes until the program seemingly does what it is supposed to do.
Without checking anything in-between. Therefore, vibe coding can supposedly be done by everybody.
1
u/KimmiG1 Apr 19 '25
Thanks. I should probably stop saying I'm vibe coding when I use tools like cursor then.
1
u/Lightning_Winter Apr 18 '25
vibe coding works best with small functions. I've found that it can make a lot of micro optimizations that I wouldn't have thought of. But anything more than like 20-30 lines, code yourself.
1
u/derailedthoughts Apr 18 '25
I tried out vibe coding on a platform and the code didn’t work. The AI solution? Change - a file in the node_modules folder so it would “export correctly”
Dude…
-1
1
1
Apr 22 '25
It helps with security if you guide it. But otherwise... O-oh... Once it asked me to so sudo chmod 755 /var/www/html -r
0
u/crystalpeaks25 Apr 18 '25
hah so like an acrual developer when something permission related is blocking progress, disable it. then forget to add it before pushing to prod.
also, i've seen my agent does this a few times but once its validated that it works it actually tightens up the perms back.
93
u/thunderbird89 Apr 18 '25
I mean ... this is not really "humor", they're making a perfectly valid point.
In fact, even the model makes the point: "Let's update the Firestore rules to be more permissive for now". Key words being "for now", so you should circle back on this.
Vibe coding is a good for banging out an MVP, but for anything production-related? Big nono.