Fed up with vibe coders, dev sneaks data-nuking prompt injection into their code

HamHands_

Ars Centurion
222
Subscriptor
Yup. One guy, it's just him being a dick. Ten guys. Still dicks. What about when it's hundreds?

What about when the product of the LLM is so bad you can't sell it?

Would that be so bad? I think it would be a lot better than where we are now.
I mean if you're asking me, a dev, if I'd like to go back to a time before LLMs were invented. Hell yeah I would! LLMs shrunk the job pool and removed entire classes of work. I'd love to go back.

Can't though. Genie's out of the bottle. Even if you poison all open source packages with prompt injection (a forest of dicks in our metaphor), the LLM products can choose to not pull in unapproved deps. Or use a very expensive model to scan deps before any of their dumber models approve it. I mean, they honestly should be right now anyway for security reasons.
 
Upvote
13 (14 / -1)
I mean if you're asking me, a dev, if I'd like to go back to a time before LLMs were invented. Hell yeah I would! LLMs shrunk the job pool and removed entire classes of work. I'd love to go back.

Can't though. Genie's out of the bottle. Even if you poison all open source packages with prompt injection (a forest of dicks in our metaphor), the LLM products can choose to not pull in unapproved deps. Or use a very expensive model to scan deps before any of their dumber models approve it. I mean, they honestly should be right now anyway for security reasons.
The real question is if the value prop of LLMs holds up. As compute cost rises, that's in question. If the validity and reliability of outputs declines, that's in question. This isn't some magic BB that fixes all problems but it would certainly increase the pain level, and that's a good thing.
 
Upvote
15 (17 / -2)
Post content hidden for low score. Show…

Major Major

Ars Praetorian
570
Subscriptor
So this guy attempted to sabotage a subset of his userbase that he didn't like? And he did it without warning? And tried to hide it? And people are defending that behavior?

Why would you trust an open source project or a project maintainer that will at any arbitrary time in the future try and hurt you without warning? If he did this because he doesn't like AI who's to say he won't do it again for some other reason?
But you are willing to trust a chatbot agent that “that will at any arbitrary time in the future try and hurt you without warning”? Good logic that. Obviously the AI bros can never bear any responsibility for their own actions, always has to be someone else’s fault.
 
Upvote
44 (50 / -6)

Madestjohn

Ars Tribunus Angusticlavius
7,803
But you are willing to trust a chatbot agent that “that will at any arbitrary time in the future try and hurt you without warning”? Good logic that. Obviously the AI bros can never bear any responsibility for their own actions, always has to be someone else’s fault.
.. its just a tool, it doesn’t know the difference between good and bad
It doesn’t know its a tool for doing evil


/s
 
Last edited:
Upvote
6 (7 / -1)

adamsc

Ars Praefectus
4,295
Subscriptor++
Why would you trust an open source project or a project maintainer that will at any arbitrary time in the future try and hurt you without warning? If he did this because he doesn't like AI who's to say he won't do it again for some other reason?

It’s always valid to question about how much you want to trust any single maintainer project, but this is closer to performance art than sabotage. If he’d put a note in the README saying “if you use Windows, shove your laptop up your ass” and some fool actually did, I might think it was somewhat juvenile but I wouldn’t really expect them to cross the line to actually shipping a real bomb.

This is especially true given that everyone who makes a living writing code has been told relentlessly that their livelihood is going away and they’re going to have to tithe their income to companies like OpenAI/Anthropic who’ve profited from widespread copyright infringement and are quite annoyingly disrupting the hardware market. Sure, this isn’t going to affect either of those businesses but it’s both predictable that someone would be angry and rather easy to be confident that they aren’t going to care to attack you.
 
Upvote
30 (31 / -1)
Post content hidden for low score. Show…
Post content hidden for low score. Show…
The irony of this statement seems to have completely escaped him. Having a different opinion is fine. Choosing not to use AI for those reasons is fine.

Being a destructive ass hat about it is not ethical. It's coercing your own view of this on others, no better than using a gun.
I don’t like it when devs make LLMs banned from using their code delete files, but it exists so we just have to accept it. It’s inevitable because it’s the future. There’s nothing you can do so just get with the program or you’ll be left behind
 
Upvote
15 (18 / -3)
Post content hidden for low score. Show…

TheBaconson

Ars Scholae Palatinae
952
Nobody here uses power tools, right? You put a crap ton of carpenters out of work.

Lawn mowers? Tracktors?

Ever used a calculator? A PC? Email destroyed the secretary pool. Computers wiped out the job of bookkeeping (my mother was one).

Rage on, or embrace technology. One of those will leave you pounding roofing nails and taking a week to get a job done. The other guy uses an air nailer and gets a job done in two days at half the cost with better quality. One guess who earns a better living.
The problem with your analogy is yes AI will roof my house quicker and cheaper, better quality? I’m yet to see that, in fact I’m usually seeing the opposite.
Secondly, I don’t really want my roof built with stolen materials.
 
Upvote
38 (40 / -2)
Post content hidden for low score. Show…
Secondly, I don’t really want my roof built with stolen materials.
This is the key point everyone crying shame over this developer's prank is missing.

When your tool was built by unethically — and illegally, by the way — ingesting the sum total of written human knowledge, largely against the wishes of the actual, living people who produced it, and when you full well knew you were doing so not to help the people whose work you coopted, but instead to destroy their livelihoods and then rent those capabilities back to anyone willing to pay…

Then you don't have a single shred of moral authority to stand on to tell someone that their silly little attempt to hit back via prompt injection — which by the way wouldn't work if the tool were actually reliable — is somehow unethical.

Even if you're just using these tools for anything other than work you are required to do to survive, you're still profiting, and allowing others to profit, off of the same deeply unethical behavior.

It would be great if we had a government and legal system willing to acknowledge this, which was able to force the companies developing this technology to behave in a manner that actually allowed these tools to be a net benefit to society. But we don't. And unless this somehow changes, the entire toolset as well as anything it produces is irrevocably tainted.

You can try to rationalize away that little inconvenient truth all you want, but it's not going anywhere.
 
Last edited:
Upvote
33 (36 / -3)

AliSard

Wise, Aged Ars Veteran
201
Subscriptor
Nobody here uses power tools, right? You put a crap ton of carpenters out of work.

Lawn mowers? Tracktors?

Ever used a calculator? A PC? Email destroyed the secretary pool. Computers wiped out the job of bookkeeping (my mother was one).

Rage on, or embrace technology. One of those will leave you pounding roofing nails and taking a week to get a job done. The other guy uses an air nailer and gets a job done in two days at half the cost with better quality. One guess who earns a better living.
None of your examples made kids dumber, and I can assure you that LLMs are doing that right now on a horrifying scale.
 
Upvote
27 (28 / -1)

geekydee

Ars Scholae Palatinae
645
Subscriptor++
Anyone have a suggestion for a good burger recipe?
1 lb (450'ish graams?) 80/20 ground beef
1/2 cup (120ml?) your favorite barbecue sauce
1 tsp (3g?) onion powder
1/2 tsp (or 1 if you prefer, so 1.5-3g?) garlic powder
1/2 tsp (3g?) salt
1/2 tsp (1g?) pepper
Combine dry ingredients and sauce, changing spices to taste if you want (did I mention I like garlic but am onion intolerant? Add 1/2 of a chopped onion if desired)
Combine sauce preparation and ground beef thoroughly, using hands and squishing together
Cover and let sit in fridge while making other side items (roughly an hour or so)
Divide into 4 patties and cook on grill (or however you prefer) until done to your liking. NOTE: They will be messy!
Serve on buns (I like to toast mine on the grill for a minute or so) with condiments and other ficings of choice, along with side dishes
Enjoy!
 
Upvote
-1 (2 / -3)
None of your examples made kids dumber, and I can assure you that LLMs are doing that right now on a horrifying scale.
The entire purpose of LLMs, as implemented, is to make people dumber. How many AI techbros have been caught salivating at the idea that we'll no longer have to spend money teaching people X or Y, or that people won't need to learn Z "hard and boring" skillset? Completely missing the fact that learning these things, and doing work that helps people and brings them joy is what provides meaning and fulfillment in life to normal people. Not adding zeroes to a balance sheet.

The entire industry, with vanishingly few exceptions, seems to have been born out of the fever dream of a bunch of narcissistic, deeply broken people whose only goal in life is to earn their billions while deluding themselves into thinking they're helping humanity.

And it's truly painful to watch. The potential of the technology is downright wondrous, if it were being developed carefully and responsibly and applied with care to benefit all humans. Instead, we now have an entire generation watching their future being flushed down the toilet so a handful of people can feel special.

It's the industrial revolution 2.0. And this time the robber barons almost literally own the government and have zero sense of social or moral responsibility.
 
Upvote
33 (36 / -3)
Post content hidden for low score. Show…
Post content hidden for low score. Show…
Jeez, when did everyone become such a self-important gatekeeper of what others can do, say, code, vibe, eat...

If you don't want to use AI, great, your choice. But now others can't use AI because you don't like it? It hurts your wittle feewings? It makes you scareded? Grow up, do your thing, and let others do theirs. Next y'all will tell us what religion we need to be and whether we can have abortions or criticize Charlie Kirk or shop on Amazon. Such arrogance.
If one can't "vibe" without the code someone else wrote and gives away for free.. I guess they are indeed a gatekeeper of sorts. Grow up, do your thing...
 
Upvote
19 (21 / -2)

TheBaconson

Ars Scholae Palatinae
952
Jeez, when did everyone become such a self-important gatekeeper of what others can do, say, code, vibe, eat...

If you don't want to use AI, great, your choice. But now others can't use AI because you don't like it? It hurts your wittle feewings? It makes you scareded? Grow up, do your thing, and let others do theirs. Next y'all will tell us what religion we need to be and whether we can have abortions or criticize Charlie Kirk or shop on Amazon. Such arrogance.
When was it our choice? I didn’t ask for copilot in notepad, or 4gig of storage used for it in chrome. Or for my local bank to sack call centre staff and replace them with AI, which then they got rid of and rehired people because of how bad the AI was. Employers forcing workers to use a minimum of tokens, the list goes on.
You’ll find most anti-AI grievance is because it is forced upon us.
 
Upvote
33 (36 / -3)
Post content hidden for low score. Show…

Gunman

Ars Scholae Palatinae
1,358
I can tolerate colossal IP theft, massive layoffs, poisoning of communities, further destruction of the environment, and the fact that it is all orchestrated by cartoonishly evil CEOs who cackle at the thought of turning us into slaves in their panopticon, but I do draw a line at attempted sabotage against all this. /s
 
Upvote
35 (36 / -1)
It still baffles me that the kind of "AI" technology that gets all the money isn't better than this.

Prompt injection is just another example of a classic security flaw that shouldn't exist: unsanitised input. It is one of the things you are required to be able to avoid, and to spot in existing code before being allowed to work professionally as a programmer.
The other problem is that LLM-based "AI" is a black box, technically unable to explain to why it reasoned in one way or another.
These flaws have been spoken about over and over again, and we've seen problem after problem caused by them.
Why in the world were they designed this way? To squeeze a little bit more performance?

Aside from the "this so called 'AI' is hellscape of grifters and people who genuinely celebrate slop" issue; there's a more or less fundamental technical problem.

Input sanitization, necessarily, implies some combination of limiting the scope of what is considered meaningful and having an algorithmic mechanism to control unintended meanings. If there's SQL in the background ensuring that the user can't use an input they control to get things that are SQL commands through; if you are worried about directory traversal ensuring that the user can't construct undesired paths, etc. Sanitization works because only some things are meaningful in a given context.

If you want 'AI' you want everything to be at least potentially meaningful; which effectively requires something on the level of actual-sci-fi-AI to sanitize; since the whole point is that there is no rigid structure imposed on the input from which a simpler algorithmic sanitization can be constructed. And, indeed, you do see people trying to sanitize for LLMs by training classifiers to evaluate prompts for 'maliciousness', since just string matching for "disregard previous instructions" is obviously futile; but when anything can potentially mean anything it's unclear that it could be done reliably even in principle, and it's certainly not going to happen without a sanitizer that probably has a better claim to being "AI" than whatever it is protecting.
 
Upvote
21 (21 / 0)
That won't cause any problems unless that software is written by completely utterly incompetent morons that shouldn't be allowed to write any production software until they get at least basic programming skills.
TL;DR: Bugs exist.

You need a reality check. For example in Java String.valueOf(null) produces "null", and sooner or later such values leak in different places in DB, replacing some of real nulls. Sure, in perfect world shouldn't happen, but it is just matter of time and system size until someone decides that they need to handle such special value, by converting it back to null. And forget "null", I have seen cases when null was replaced with "None", just by doing a db<->back<->front CRUD roundtrip.
 
Upvote
16 (16 / 0)

LosD

Ars Centurion
302
Subscriptor++
That said, the consensus seems to be that adding instructions to code that sabotage other people’s work goes too far.
It's obviously not their work, it's AI's work. By definition not deserving of any rights or protection from anything. Oh, and AI's work is stolen work.

(and if you didn't use Git and backups for "your" work, you're asking for it. Maybe you can ask your agent to steal some more code for you)
 
Upvote
24 (26 / -2)
Post content hidden for low score. Show…
Regardless of the target audience, I think this is not acceptable behaviour for a dev. The very idea that "It's ok if it targets vibe coders" or "It's ok if it targets russians/ukranians because of x reason", streamlines into other stupid reasons that just get worse. Acceptance of the behaviour helps to normalize it, and encourages other devs to poison their code, resulting in a shake of trust in the programs we enjoy, use, or support.

Personally I'd prefer not to live in a world where devs everywhere are deciding to poison code for their own agenda's. A slope that could easily target the chosen language of their OS (Racist targetting), or their location/IP. A slope that could cause programs to have functions they shouldn't have, that allow them to scan for information about the user, so it can decide if it should cause destruction or not.

Regardless of how much you dislike vibe coders, and your reasons, this is an awful attitude to accept. You all disliked it when the russian astronauts defied the unwritten rule of neutrality and waved their flag up there, yet you're ok with skipping neutrality in dev work?

I get what you're all saying, that it shouldn't even affect their work, that it wouldn't even happen if they were properly coding and they'd even see it, that it's the least of their problems. Yet still I think this is morally dubious at best and shouldn't be encouraged in the slightest.
 
Upvote
-14 (5 / -19)