Claude Code deletes developers' production setup, including its database and snapshots — 2.5 years of records were nuked in an instant
https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-code-deletes-developers-production-setup-including-its-database-and-snapshots-2-5-years-of-records-were-nuked-in-an-instant
1.2k points · 292 comments · view on lemmy.world
292 Comments
coalie@piefed.zip · 455 pts · 159d
athatet@lemmy.zip · 77 pts · 159d
Honestly. At this point, after it having happened to multiple people, multiple times, this is the only appropriate response.
fubarx@lemmy.world · 285 pts · 159d
Non-story. He let Terraform zap his production site without offsite backups. But then support restored it all back.
I'd be more alarmed that a 'destroy' command is reversible.
CubitOom@infosec.pub · 92 pts · 159d
Distributed Non Consensual Backup
eager_eagle@lemmy.world · 6 pts · 159d
new kink unlocked
db2@lemmy.world · 44 pts · 159d
Never assume anything is gone when you hit delete.
Vlyn@lemmy.zip · 23 pts · 159d
Except when it's your own data, then usually you're fucked.
msage@programming.dev · 8 pts · 159d
Usually not.
But you might need a pay a professional.
Vlyn@lemmy.zip · 3 pts · 159d
We already do, but that still doesn't mean you're safe.
https://www.theguardian.com/australia-news/article/2024/may/09/unisuper-google-cloud-issue-account-access
zr0@lemmy.dbzer0.com · 25 pts · 159d
For technical reasons, you never immediately delete records, as it is computationally very intense.
For business reasons, you never want to delete anything at all, because data = money.
jaybone@lemmy.zip · 8 pts · 159d
Back in the day, before virtualized services was all “the cloud” as it is today, if you were re-provisioning storage hardware resources that might be used by another customer, you would “scrub” disks by writing from /dev/random and /dev/null to the disk. If you somehow kept that shit around and something “leaked”, that was a big boo boo and a violation of your service agreement and customer would sue the fuck out of you. But now you just contact support and they have a copy laying around. 🤷
brbposting@sh.itjust.works · 7 pts · 159d
Thought it could be a liability sometimes! Maybe that ship sailed
wewbull@feddit.uk · 7 pts · 159d
Retaining data can mean violating legal obligations. Hidden backups can be a lawyers playground.
zr0@lemmy.dbzer0.com · 5 pts · 159d
Sure. Go ahead and find them based on pure speculation. First you have to put down $100k for all the forensics. Even if you would win the case, show me who is capable of doing something like that.
just_another_person@lemmy.world · 140 pts · 159d
Whoever did this was incredibly lazy. What you using an agent to run your Terraform commands for you in the first place if it's not part of some automation? You're saving yourself, what, 15 seconds tops? You deserve this kind of thing for being like this.
PabloSexcrowbar@piefed.social · 26 pts · 159d
Yeah, and to do that without some sort of DR in place is peak hubris.
Viceversa@lemmy.world · 11 pts · 159d
DR?
PabloSexcrowbar@piefed.social · 20 pts · 159d
Disaster Recovery. Like a backup, but also includes a way to rebuild all the infrastructure surrounding it as well.
SeductiveTortoise@piefed.social · 4 pts · 159d
Maybe they had that, but managed it with terraform. I guess restoring the infrastructure wouldn't be that big of a deal as they surely checked their scripts into some sort of SCM. I hope.
lobut@lemmy.ca · 9 pts · 159d
Our DR process is a slow POS ... takes far too long to back up and redeploy and set up again.
I was the one that designed it. I pray I'll never have to use it.
PabloSexcrowbar@piefed.social · 10 pts · 159d
I'll bet Claude Code would be happy to help you fix it 😁
Rentlar@lemmy.ca · 14 pts · 159d
🫰Done! I've deleted all existing recovery infrastructure! Now your disaster recovery routine has been reduced to 1 second, which is the time it takes to put your human head in your hands and cry!
kautau@lemmy.world · 4 pts · 159d
https://youtu.be/m0b_D2JgZgY
kautau@lemmy.world · 16 pts · 159d
It’s a grifter running a site called “aishippinglabs.com” which charges 500 euros for a “closed community of likeminded individuals”. He’s selling ai slop and a discord channel to other idiots who will do exactly shit like this with little understanding of what is going on
SeductiveTortoise@piefed.social · 11 pts · 159d
It's an intelligence test. And if you take it, you've failed.
criss_cross@lemmy.world · 4 pts · 159d
Were they also into crypto 7 years ago?
SapphironZA@sh.itjust.works · 126 pts · 159d
We used to say Raid is not a backup. Its a redundancy
Snapshots are not a backup. Its a system restore point.
Only something offsite, off system and only accessible with seperate authentication details, is a backup.
daychilde@lemmy.world · 51 pts · 159d
AND something tested to restore successfully, otherwise it's just unknown data that might or might not work.
(i.e. reinforcing your point, no disagreements)
mic_check_one_two@lemmy.dbzer0.com · 24 pts · 159d
AKA Schrödinger’s Backup. Until you have successfully restored from a backup, it is just an amorphous blob of data that may or may not be valid.
I say this as someone who has had backups silently fail. For instance, just yesterday, I had a managed network switch generate an invalid config file for itself. I was making a change on the switch, and saved a backup of the existing settings before changing anything. That way I could easily reset the switch to default and push the old settings to it, if the changes I made broke things. And like an idiot, I didn’t think to validate the file (which is as simple as pushing the file back to the switch to see if it works) before I made any changes.
Sure enough, the change I made broke something, so I performed a factory reset and went to upload that backup I had saved like 20 minutes prior… When I tried to restore settings after the factory reset, the switch couldn’t read the file that it had generated like 20 minutes earlier.
So I was stuck manually restoring the switch’s settings, and what should have been a quick 2 minute “hold the reset button and push the settings file once it has rebooted” job turned into a 45 minute long game of “find the difference between these two photos” for every single page in the settings.
Rolder@reddthat.com · 6 pts · 159d
Always a fun time when technology decides to just fuck you over for no reason
vandsjov@feddit.dk · 2 pts · 159d
But the backup software verified the backup!
Passerby6497@lemmy.world · 2 pts · 158d
Not sure if what you're working on has it (been in systems for a hot minute so I'm not doing network tasks here) and saving my console log and doing a 'show run' saved my ass more than once
daychilde@lemmy.world · 1 pts · 159d
That's always just one of the worst feelings in the world. This thing is supposed to work and be easy and............. nope. Not there. It's gone. Now you have work to do. heh
Whitebrow@lemmy.world · 15 pts · 159d
Schrödinger’s backup
tetris11@feddit.uk · 28 pts · 159d
3-2-1 Backup Rule: Three copies of data at two different types of storage media, with 1 copy offsite
Krudler@lemmy.world · 7 pts · 159d
Circa 1997 I was making some innovative new games, employed by a dude who'd put millions of his own money into the company. He was completely nonplussed when I brought him 20 CDs in a sealed box to remove from the building and store off site. He thought I'd lost my damned mind and blew it off as ravings of a stressed dev. I pointed out real threats to our IP including the hardware failures and even so far as the building burning down. 2 years of custom art and code gone. "Unlikely. Relax."
After I moved on... an ex co-worker who's still a longtime friend, tells me a different division lost a huge amount of FMV over some whoops-I-destroyed-the-wrong-drive blunder. 20 days to render on an 8 or 10 machine farm. Poof - No backups. In 1997 even with top-of-the-line gear it took an insane investment to render quality 3D.
The friggin' carelessness irks the shit out of me as I type ahah
OrteilGenou@lemmy.world · 4 pts · 159d
I remember back when I first started seeing a DR plan with three tiers of restore, 1 hour, 12 hours or 72 hours. I knew that to 1 hour meant a simple redirect to a DB partition that was a real time copy of the active DB, and twelve hours meant that failed, so the twelve hours was a restore point exercise that would mean some data loss, but less than one hour, or something like that.
I had never heard of 72 hours and so raised a question in the meeting. 72 hours meant having physical tapes shipped to the data center, and I believe meant up to 12 (though it could have been 24) hours of data lost. I was impressed by this, because the idea of having a job that ran either daily or twice daily that created tape backups was completely new to me.
This was in the early aughts. Not sure if tapes are still used...
Passerby6497@lemmy.world · 1 pts · 158d
Alive and well depending on the use case. My org has an older backup software that's entirely tape based and it's amazing for the Linux systems I hear
SreudianFlip@sh.itjust.works · 2 pts · 159d
Fukan yes
HugeNerd@lemmy.ca · 1 pts · 159d
A LTO drive with a non-consumer interface?
prenatal_confusion@feddit.org · 1 pts · 159d
We still say that.
aesthelete@lemmy.world · 91 pts · 159d
Stop giving chat bots tools with this kind of access.
minorkeys@lemmy.world · -18 pts · 159d
No risk, no reward. People are desperate for these tools to help them success.
HugeNerd@lemmy.ca · 24 pts · 159d
Success bigly, even.
super_user_do@feddit.it · 3 pts · 159d
We've always been succeeding even without them. I don't see why would anyone try to work in aiT if they don't... Want to work lol
minorkeys@lemmy.world · 1 pts · 159d
Why invent anything new, then?
super_user_do@feddit.it · 1 pts · 159d
How are the two things even connected bro. AIs are tools and should be used as such. You wouldn't let something act all by itself if that would make it unpredictable, I'm saying that using AIs is fine but you gotta keep an eye on them
Modern_medicine_isnt@lemmy.world · -38 pts · 159d
Wrong answer. If you don't give them access, the alternative (ruling out not using AI because leadership will never go for that) is to hire high school kids to take a task from a manager, ask the ai to do it, then do what the AI says repeatedly to iterate to the solution. The problem with that alt is that it is no better than giving the ai access, and it leaves you with no senior tech people. Instead, you give it access, but only give senior tech people access to the AI. Ones who would know to tell the AI to have a backup of the database, one designed to not let you delete it without multiple people signing off.
Senior tech people aren't going to spend thier time trying things an AI needs tried to find the solution. So if you don't give it access, they won't use it, and eventually they will all be gone. Then you are even further up shit creek than you are now.
The answer overall, is smarter people talking to the AI, and guardrails to stop a single point of failure. The later is nothing new.
vithigar@lemmy.ca · 28 pts · 159d
What is this insane rambling?
The alternative is that the only thing with access to make changes in your production environment is the CI pipeline that deploys your production environment.
Neither the AI, nor anything else on the developers machine, should have access to make production changes.
Modern_medicine_isnt@lemmy.world · 1 pts · 159d
I did say "and guardrails to stop a single point of failure." A cicd pipeline itslef doesn't protect you if it can change that too. You need the same kind of guardrails that would allow a junior dev to f things up. Require multiple people to sign off. Turn on deletion protection... those sorts of things. I work in infra, so I often have direct access to production. More than I should. But not all companies can afford to build out all the tools needed so that I don't need production access.
MartianRecon@lemmus.org · 20 pts · 159d
The answer is no AI. It's really simple. The costs for ai are not worth the output.
Modern_medicine_isnt@lemmy.world · -2 pts · 159d
Good luck with that. Most search engines use AI now. Not only where you see it, but in finding the content to make it searchable. AI is here to stay. There are things it is good at, and things it isn't. Learn what they are, and use it where it makes sense. Or stuck your head in the sand and see how that works put.
MartianRecon@lemmus.org · 2 pts · 159d
That doesn't answer that statement at all. I said it's not worth the output.
Fuck ai. I don't want a computer to think for me. I want to be pointed to resources I can use, to learn something.
Modern_medicine_isnt@lemmy.world · 1 pts · 158d
You said the answer is no AI.
And I want AI to do the non-thinking mundane crap while I do the thinking and directing. I don't need to spend time wrestling with an sql query to produce a report the boss "wants". I can tell AI to do that if it has the access it needs. Eventually the boss can tell AI to do it him/herself, so I can solve the real problems.
Shanmugha@lemmy.world · 15 pts · 159d
Nah. As a tech people, I am not going to give an llm write access to anything in production, period
Modern_medicine_isnt@lemmy.world · 0 pts · 159d
Someone created that database. And all those other parts of the infra you use. AI is pretty good for that. But you have it turn on deletion protection, and set up a system that requires another person to approve turning it off. Or you can give it access at creation time, but remember to turn that access off when it is finished being verified.
Shanmugha@lemmy.world · 2 pts · 159d
Wat. Since when do I need AI to setup infrastructure?
Modern_medicine_isnt@lemmy.world · 1 pts · 158d
I didn't say that you "needed" it. I said it was good for that. It's a simple task that is easily verifiable and unlikely to go astray due to hallucinations.
Shanmugha@lemmy.world · 1 pts · 158d
Unlikely, sure lol. Once again: I am not giving an llm write acess to prod
Matty_r@programming.dev · 7 pts · 159d
I'm in favour of hiring kids to figure out the solution through iteration and doing web searches etc. If they fuck up, then they learn and eventually become better at their job - maybe even becoming a Senior themselves eventually.
I get what you're saying - Seniors are more likely to use the tools more effectively, but there are many cases of the AI not doing what its told. Its not repeatably consistent like a bash script.
People are better - always.
Modern_medicine_isnt@lemmy.world · 0 pts · 159d
The days of stack exchange and such are numbered. Web searches turn up less and less hits that help you solve problems and learn. It won't be long before AIs replace old school web searches. Software projects will stop writing documentation, when instead and ai can just read the code. The way we learned things is dieing. I don't know how the juniors will get to be seniors in 5 to 10 years. But following th AI instructions to test out it's theories isn't going to work for the vast majority.
aesthelete@lemmy.world · 4 pts · 159d
What are you even talking about?
criss_cross@lemmy.world · 2 pts · 159d
Do you go on an oncall rotation by chance? Because anyone that has to respond to night time pages would not be saying this lol.
Modern_medicine_isnt@lemmy.world · 1 pts · 159d
I do in fact. Recently I have dodge the night time pages, but a few years ago I was up plenty of time in the night debugging issues. In many of those cases an AI would have been very helpful. Developers do far stupider things because they are sure they won't break anything. But most of the pages were the result of not enough time spent to make the systems resilient. I dodged the pager currently because as a startup we had so few customers, we couldn't afford to hire enough people to have a rotation. So I was sortof on call. Like the boss had my number, and if needed he would call it. But it never came to that, partly by luck, and partly because I know how to make things resilient. With the low load, resilient isn't as hard.
kamen@lemmy.world · 75 pts · 159d
You either have a backup or will have a backup next time.
Something that is always online and can be wiped while you're working on it (by yourself or with AI, doesn't matter) shouldn't count as backup.
MIDItheKID@lemmy.world · 29 pts · 159d
AI or not, I feel like everybody has had "the incident" at some point. After that, you obsessively keep backups.
For me it was a my entire "Junior Project" in college, which was a music album. My windows install (Vista at that time - I know, vista was awful, but it was the only thing that would utilize all 8gb of my RAM because x64 XP wasn't really a thing) bombed out, and I was like "no biggie, I keep my OS on one drive and all of my projects on the other, I'll just reformat and reinstall Windows"
Well... I had two identical 250gb drives and formatted the wrong one.
Woof.
I bought an unformat tool that was able to recover mostly everything, but I lost all of my folder structure and file names. It was just like 000001.wav, 000002.wav etc. I was able to re-record and rebuild but man... Never made that mistake again. Like I said. I now obsessively backup. Stacks of drives, cloud storage. Drives in divverent locations etc.
SirEDCaLot@lemmy.today · 6 pts · 159d
Yup!
Also totally unrelated helpful tip- triple check your inputs and outputs when using dd to clone a drive. dd works great to clone an old drive onto a new blank one. It is equally efficient at cloning a blank drive full of nothing but 0s over an old drive that has some 1s mixed in.
kamen@lemmy.world · 6 pts · 159d
And that's a great example where a GUI could be way better at showing you what's what and preventing such errors.
If you're automating stuff, sure, scripting is the way to go, but for one-off stuff like this seeing more than text and maybe throwing in a confirmation dialogue can't hurt - and the tool might still be using
ddunderneath.SirEDCaLot@lemmy.today · 1 pts · 151d
Quite true.
It's an argument I often have with the CLI only people, and have been having for years. Like 'with this Cisco router I can do all kinds of shit with this super powerful CLI'. Yeah okay how do I forward a port? Well that takes 5 different commands...
Or I just want to understand what options are available- a GUI does that far better than a CLI.
kamen@lemmy.world · 2 pts · 150d
IMO it's important to recognise that both are valid in different scenarios. If you want to click through and change something that's actually doable with a couple of clicks, that's fine. If you want to do this through the CLI, it's also fine - if you're someone who's done 10 deployments today and configured the same thing, it would be muscle memory even if it's 5 commands.
SirEDCaLot@lemmy.today · 2 pts · 150d
Quite true there is absolutely a place for both in all situations. And it's why I hate absolutists who think gui's are some sort of disease. GUIs are discoverable and intuitive, You can lay out all the options for the user so they know what they can choose and make the right choice. CLIs are powerful and scriptable, easy to automate.
Neither is bad.
kamen@lemmy.world · 3 pts · 159d
TestDisk has saved my ass before. It's great at recovering broken or deleted partitions. If it's just a quick format done with no encryption involved, you have a very high chance of having your stuff back. That's of course if you catch yourself after doing just the format.
Other than that, yeah, I've also had my moments. Back in high school not only did I not have money for an external drive - I didn't even have enough space on my primary one. One time a friend lent me an external drive to do a backup and do a clean reinstall - and I can't remember the details, but something happened such that the external drive got borked - and said friend had important stuff that was only on that hard drive. Ironically enough it wasn't even something taking much space - it was text documents that could've lived in an email attachment.
ThomasWilliams@lemmy.world · 24 pts · 159d
He did have a backup. This is why you use cloud storage.
Deestan@lemmy.world · 67 pts · 159d
We don't need cautionary tales about how drinking bleach caused intestinal damage.
The people needing the caution got it in spades and went off anyway.
Or maybe the cautionary tale is to take caution dealing with the developers in question, as they are dangerously inept.
Scipitie@lemmy.dbzer0.com · 29 pts · 159d
Yeah this is beyond ridiculous to blame anything or anyone else.
I mean accidently letting lose an autonomous non-tested non-guarailed tool in my dev environment... Well tough luck, shit, something for a good post mortem to learn from.
Having an infrastructure that allowed a single actor to cause this damage? This shouldn't even be possible for a malicious human from within the system this easily.
eleitl@lemmy.zip · 4 pts · 159d
Most devs are ops-tarded.
msage@programming.dev · 3 pts · 159d
Even dev-impaired
thethunderwolf@lemmy.dbzer0.com · 1 pts · 159d
eleitl@lemmy.zip · 65 pts · 159d
"and database snapshots that Grigorev had counted on as backups" -- yes, this is exactly how you run "production".
Nighed@feddit.uk · 13 pts · 159d
With some of the cloud providers, their built in backups are linked to the resource. So even if you have super duper geo-zone redundant backups for years, they still get nuked if you drop the server.
It's always felt a bit stupid, but the backups can still normally be restored by support.
eleitl@lemmy.zip · 1 pts · 159d
That's because these are not backups. With backups you still have your data even if the cloud provider has gone away.
Nighed@feddit.uk · 3 pts · 158d
They are backups, you potentially get copy's of the data in multiple locations across continents.
BUT I agree, you are relying on them entirely for it. Lots of vendor tie in stuff in the industry unfortunately.
EffortlessGrace@piefed.social · 1 pts · 158d
Is everyone in commercial software development finally saying, "Fuck it, we'll run the shit ourselves"?
I'm an infrastructure and devops noob here; take my words with a grain of salt.
I need GPU clusters with ECC VRAM for research and found it's cheaper to just have my own high-ish performance compute in my own office I paid for once than pay AWS/Azure/GCS/etc forever or at least everytime I want to train a custom DNN model. Sometimes I use Linode but it's for monitoring. But I can run shit at will and I have data sovereignty.
Has the paradigm shifted back to developing and serving things in-house now that big tech vendor-lock/tie-ins have so many dark patterns that scalability isn't cost-effective with them? Or is it just my own pipe dream?
Nighed@feddit.uk · 2 pts · 158d
If you are going to use it enough to pay for it sure. But that's always been the case.
The main benefits of cloud are it's ability to scale quickly, it's ability to provide geographic reach and the conversation of capex to opex.
BrianTheeBiscuiteer@lemmy.world · 53 pts · 159d
Whether human, AI, or code, you don't give a single entity this much power in production.
billwashere@lemmy.world · 15 pts · 159d
It’s why there a two keys to launch nukes.
Paranoidfactoid@lemmy.world · 8 pts · 159d
WOPR disagrees:
billwashere@lemmy.world · 3 pts · 159d
https://youtu.be/ecPeSmF_ikc
Rooster326@programming.dev · 1 pts · 158d
How does one on implement this with dba credentials?
phoenixz@lemmy.ca · 48 pts · 158d
At least you had backup, right?
Oh, yeah, that's right. You were dumb enough to give AI full access to your production system so likely you're dumb enough to not have backups of anything either.
I take it Claude has full access to all of your git repositories as well so that it could wipe those too?
You got what you deserve
Metype@pawb.social · 16 pts · 158d
Yeah they did, they had plenty of recovery snapshots. That were able to be deleted at a whim and were deleted by Claude! :D
Bongles@lemmy.zip · 47 pts · 159d
This keeps happening. I can understand using AI to help code, I don't understand Claude having so much access to a system.
Etterra@discuss.online · 33 pts · 159d
It's because these idiots believe their own bullshit.
Earthman_Jim@lemmy.zip · 11 pts · 159d
That's honestly the most frightening part of all of this to me. How many of these people at the very tippy top pushing this stuff are suffering from cyber psychosis? How many of them have given themselves the covert mission to give AI the keys to the world at all costs because they're mentally ill from their own technomagic trick?
Jayjader@jlai.lu · 3 pts · 159d
Alternatively, how many of them have invested in one or more of these LLM makers and are ready to torpedo their own business as long as it makes the share price go up/feeds more authentic training data?
horn_e4_beaver@discuss.tchncs.de · 2 pts · 159d
Getting high off your own supply
NostraDavid@programming.dev · 1 pts · 159d
Especially since between Claude and Codex, Claude seems to have NO issues breaking things, while Codex is "I've ensured that the old path still works, and also fixed a bug I ran into".
rumba@lemmy.zip · 46 pts · 158d
Anyone who lets AI do this is absolutely inept, lazy, or deserving.
In its default configuration, it stops at EVERY STEP. Do you want to run this command, do you want to update this file, here's the file I want to modify and the patch i'm going to use with adds and deletes in green and red.
If you're using it in unsafe permissions mode, click yeah sure allow Claude to run whatever the fuck it wants in this directory, or just hitting yeah sure go ahead every time, it's your own damn fault.
It's self-driving for the terminal. Don't you dare take your eyes off the road or hands off the wheel.
entropiclyclaude@lemmy.wtf · 5 pts · 158d
What do you mean I shouldn’t give AI admin privileges on my or any other machine?
Sturgist@lemmy.ca · 2 pts · 158d
Depends on how much you enjoy fresh installs of your OS
rumba@lemmy.zip · 1 pts · 158d
I'm rather a fan of letting it do stupid, repetitive shit. I need you to create 30 linux accounts the other day from a screen shot. Then store, initial keys and creds in my password manager platform.
Hey, Claude, write me a bash script to do this from this image. and also use best practice for removing non-standard characters from login names.
I review the loop and the general state of the OCR and let it go.
NastyNative@mander.xyz · 3 pts · 158d
Plus we have automation just people are lazy like you said.
Poppa_Mo@lemmy.world · 41 pts · 159d
Whoever gave it access to production is a complete moron.
tempest@lemmy.ca · 19 pts · 159d
If you've ever used it you can see how easily it can happen.
At first you Sandbox box it and you're careful. Then after a while the sand box is a bit of a pain so you just run it as is. Then it asks for permission a 1000 times to do something and at first you carefully check each command but after a while you just skim them and eventually, sure you can run 'psql *' to debug some query on the dev instance....
It's one of the major problems with the "full self driving" stuff as well. It's right often enough that eventually you get complacent or your attention drifts elsewhere.
This kind of stuff happened before the LLM coding agents existed, they have just supercharged the speed and as a result increased the amount of damage that can be done before it's noticed.
There are already a bunch of failures in place for something like this to happen. Having the prod credentials available etc etc it's just now instead of rolling the dice every couple weeks your LLM is rolling them every 20s.
BorgDrone@feddit.nl · 5 pts · 159d
How could this happen easily? A regular developer shouldn’t even have access to production outside of exceptional circumstances (e.g. diagnosing a production issue). Certainly not as part of the normal dev process.
tempest@lemmy.ca · 1 pts · 159d
They shouldn't and we know that but this is hardly the first time that story has been told even before LLMs. Usually it was blamed on "the intern" or whatever.
BorgDrone@feddit.nl · 2 pts · 159d
This isn’t just an issue with a developer putting too much trust into an LLM though. This is a failure at the organizational level. So many things have to be wrong for this to happen.
If an ‘intern’ can access a production database then you have some serious problems. No one should have access to that in normal operations.
tempest@lemmy.ca · 2 pts · 159d
Sure, I'm not telling you how it should be, I'm telling you how it is.
The LLM just increases the damage done because it can do more damage faster before someone figures out they fucked up.
This is the last big one I remembered offhand but I know it happens a couple times a year and probably more just goes unreported.
https://www.cnn.com/2021/02/26/politics/solarwinds123-password-intern
Why would an intern be given prod supply chain credentials, who knows. People fuck up all the time.
ExLisper@lemmy.curiana.net · -1 pts · 159d
Yes, I can see how it can easily happen to stupid lazy people.
The_Almighty_Walrus@lemmy.world · 39 pts · 158d
Remember when Gemini got caught in a loop of self-loathing and nuked itself?
Auth@lemmy.world · 4 pts · 158d
OpenClaw now comes with a therapist AI to talk other AIs off the ledge so they dont nuke your project and themselves.
mechakid37@retrolemmy.com · 1 pts · 156d
Such venom, of which only a programmer could spew.
Perhaps the A.I. isn't so different from us.
Deestan@lemmy.world · 38 pts · 159d
According to mousetrap manufacturers, putting your tongue on a mousetrap causes you to become 33% sexier, taller and win the lottery twice a week.
While some experts have argued caution that it may cause painful swelling, bleeding, injury, and distress, and that the benefits are yet to be unproven, affiliated marketers all over the world paint a different, sexier picture.
However, it is not working out for everyone. Gregory here put his tongue in the mousetrap the wrong way and suffered painful swelling, bleeding, injury and distress while not getting taller or sexier.
Gregory considers this a learning experience, and hopes this will serve as a cautionary tale for other people putting their tongue on mousetraps: From now on he will use the newest extra-strength mousetrap and take precautions like Hope Really Hard that it works when putting his tongue in the mousetrap.
bold_omi@lemmy.today · 1 pts · 158d
Brilliant.
Ghostie@lemmy.zip · 37 pts · 159d
purplemonkeymad@programming.dev · 15 pts · 159d
Na this is vide ops. Anyone who thought a coding machine could do ops probably assumes anyone who codes can also do ops. It's going to be making the same mistakes that have happened in DevOps.
quips@slrpnk.net · 9 pts · 159d
Vibe ops is crazy lmaoo
Joelk111@lemmy.world · 4 pts · 159d
To be fair, I use LLMs quite a bit in my home lab setup. For one, it's a home lab, not exactly a prod setup for a company or whatever. Secondly, I obviously also don't run commands without knowing what they're doing, with a source that isn't an LLM. It's really easy to not run the rm -rf command if you just use your brain.
PolarKraken@lemmy.dbzer0.com · 3 pts · 159d
All jokes aside, what I'm seeing is that folks basically cannot hire competent DevOps (well, not for the idiot rates we're apparently offering).
There is gold in them thar hills...
GaumBeist@lemmy.ml · 36 pts · 159d
Nobody wants to point out that Alexey Grigorev changes to being named Gregory after 2 paragraphs?
Slop journalism at its sloppiest. I wouldn't be surprised to find out that this story was entorely fabricated.
zarkanian@sh.itjust.works · 10 pts · 159d
Naw, Alexey Grigorev is a real person, with a GiHub and everything, and he wrote a blog post about this very incident. The person writing the article just fucked up the name.
I'm surprised that you jumped to that conclusion without doing a 5-minute web search.
GaumBeist@lemmy.ml · 1 pts · 158d
I did do the 5 minute search, and found his write-up. I said I wouldn't be surprised to find out it was fabricated, not that it was.
Sundiata@lemmy.world · 7 pts · 159d
holy shit your right lol...good catch.
Makes me want to get out more so I can have real interaction with real peop-
sees people walking around with meta glasses
me: "Hey hows it going?"
person(GEMINI 35.84 INTERFACE): "Human is approaching you, facescan assumes awkward, potentially hostile, he isn't tagged, there is no name above his head. do not speak with him"
person: turns and walks away silently in a creepy puppet manner
me: "What the actual fuck?"
GEMINI 35.84: "Uploading unknown face into database to Stargate for analysis, no match, law enforcement has been called"
News at 11: "A man has been incinerated by law enforcement in what officials are describing as a special unwanted persons removal operation"
this shit could become real in a few decades. funny and depressing as fuck.
anon_8675309@lemmy.world · 36 pts · 159d
Mistakes happen. But how do you go 2.5 years without proper backups?
4grams@awful.systems · 20 pts · 159d
It’s so easy. I can’t tell you how many “backed up” environments I’ve run into that simply cannot be restored. Often people set them up, but never test them, and assume the snaps are working.
Backups are typically only thought about when you need them, and by then it’s often too late. Real backups need testing and validation frequently, they need remote, off-site storage, with a process to restore that as well.
Been doing this shit for 30 years and people will never learn. I’d guess 9 out of 10 backup systems that I’ve run into were there to check a box on an audit, and never looked at otherwise.
MountingSuspicion@reddthat.com · 5 pts · 159d
Thank you for this comment. I have backups I tested on implementation and rummaged through two years ago after a weird corruption issue, but not once since. I still get alerts about them, so I just assume they're fine, but first thing Monday I'm gonna test them. I feel stupid for not having implemented regular checks already, but will do so now.
bss03@infosec.pub · 4 pts · 159d
I was a professional, and I didn't have a backup of my personal system for about 2 decades. I just didn't have another 4TiB of storage to copy my media library onto. I'm now on backblaze, but there was a long time there when I did not have a backup even tho I knew better.
Also, even in a professional setting, I've seen plenty of "production support" systems that didn't have a backup because they grew ad-hoc, weren't the "core business", and no one both recognized and spoke up about how important they were until after some outage. There's virtually never a test-restore schedule with such systems, so the backups are always somewhat suspect anyway.
It's very easy to find you (or your organization) without a backup, even if you "know better".
4grams@awful.systems · 2 pts · 159d
100%, I honestly wasn’t trying for a holier that thou attitude. Any snark was aimed at the higher ups in my professional life with that audit comment.
I too am guilty of having my personal stuff less than perfectly backed up. It’s better than most, but it is still not what it should be, so, that’s what I mean by it being so easy to not be backed up.
thatsnothowyoudoit@lemmy.ca · 4 pts · 159d
4grams@awful.systems · 1 pts · 158d
Love it.
nutsack@lemmy.dbzer0.com · 32 pts · 159d
have you heard of not giving the keys to your wacky robot wizard instead
UPGRAYEDD@lemmy.world · 14 pts · 159d
Im also confused. Do these people not have some sort of version control and backups? Even if the AI did it, no one has backups? Did the ai also delete the backups and repos? If the building burnt down, would they be in the same situation, it just wouldnt make it to the news?
PolarKraken@lemmy.dbzer0.com · 6 pts · 159d
Please don't be ridiculous! We love wacky robot wizard. Wacky robot wizard does it even better than the people we tried paying almost nothing to do it!
Benchamoneh@lemmy.dbzer0.com · 31 pts · 159d
Who let's AI anywhere near production environments? Fully deserved
Eyekaytee@aussie.zone · 9 pts · 158d
Passerby6497@lemmy.world · 31 pts · 158d
My CTO keeps telling me I need to try agenic coding, and I keep telling him I won't touch shit until I have an isolated VM to use it in, because I'm not letting some fucking clanker nuke my scripts/documentation/mailbox/whatever for no reason.
Too bad there's never any free time to set that shit up. Oh damn........
paranoia@feddit.dk · 3 pts · 158d
Setting up a VM takes 15 mins, setting up an agent will take 45 mins. I recommend you try it.
InputZero@lemmy.world · 0 pts · 158d
Do you think that plane was flying at 13,000 ft or 15,000 ft?
paranoia@feddit.dk · 8 pts · 158d
dunno what you're talking about
laz@pawb.social · 4 pts · 158d
I assume they're trying to test if you're an LLM? LLMs tend to respond confidently to questions without context.
paranoia@feddit.dk · 7 pts · 158d
Yeah maybe, shitty test though. If I was an AI agent I'd probably push back in 2026.
nforminvasion@lemmy.world · 1 pts · 158d
Nanoclaw just came out. Super cool project which isolates the agent in a container, which if you want, you can also put into a VM as well.
plateee@piefed.social · 29 pts · 159d
Jesus Christ people. Terraform has a plan output option to allow for review prior to an apply. It's trivial to make a script that'll throw the json output into something like terraform visual if you don't like the diff format.
I've fucked up stuff with Terraform, but just once before I switched to a rudimentary script to force a pause, review, and then apply.
cmhe@lemmy.world · 25 pts · 159d
Don't worry, review was done by an LLM as well. ;)
zebidiah@lemmy.ca · 10 pts · 159d
tl;dr
daychilde@lemmy.world · 8 pts · 159d
Do you realize how difficult it was to upvote that comment? I viscerally hate that. lol. But the sarcasm is perfect here, of course. But I still hate you <3
criss_cross@lemmy.world · 2 pts · 159d
Claude summarize this for me.
ColeSloth@discuss.tchncs.de · 24 pts · 159d
If your dumb fucking ass let an ai near your work AND you didn't have any recent backups that it couldnt have access to; you're really extra fucking stupid.
mudkip@lemdro.id · 24 pts · 159d
I don't feel an inkling of sympathy. Play stupid games, win stupid prizes.
bold_omi@lemmy.today · 23 pts · 158d
Good. Anyone foolish enough to write code with a slop machine produces only slop. That garbage should've been deleted anyway.
That's entirely ignoring the fact that this person didn't have any backups elsewhere.
If you can't think, you can't code.
jaykrown@lemmy.world · 21 pts · 159d
The developer is to blame. Using a cutting edge tool irresponsibly. I have made mistakes using AI to help coding as well, never this bad though. Blaming AI would be like blaming the hammer a roofer was using to hammer nails and slamming their finger accidentally with it. You don't blame the hammer, you blame the negligence of the roofer.
AA5B@lemmy.world · 4 pts · 159d
The problem is this is the way it’s being pushed. This is how it’s being sold. There are no guardrails.
….. and that’s the biggest problem. I’m frustrated as hell on the commits I’ve had to unwind because someone doesn’t know how to check the changes before committing, then has it try to fix itself, again without checking on the changes , then again. It’s horrible.
….. and I’ve seen it too. Trying to have it do only code reviews - the ai points out useful things but then wants to commit a crapload of changes without going over it with me first.
…… and people are playing with mcp agents, which are really great for letting the ai get data from systems and integrate with those systems . But with few to no guardrails. There’s no no review, the user doesn’t necessarily follow what’s changing, it just gets done. Sometime badly very badly
We’re all focused on whether the ai works, and it does do a pretty good job with coding but the tools don’t keep the human in the loop, or humans don’t know how to stay on the loop
jaykrown@lemmy.world · 3 pts · 159d
We CAN set the guardrails, I do it constantly. This technology is very powerful, it's up to us to use good practices, it's up to business leaders and developers to ensure that precautions are taken.
My main recommendation, and hard limit that will never change: Do not let the AI make core file changes without human-in-the-loop permission every time.
If you let an AI agent delete files outside of your project directory on your computer without you needing to click "I approve" with the ability to review it, you're setting yourself up for a huge mistake. Never give AI agents access to anything outside project scope, and keep project scope tight.
bold_omi@lemmy.today · 1 pts · 158d
🙄
mereo@piefed.ca · 21 pts · 159d
sigh, SNAPSHOTS ARE NOT BACKUPS!
Cantaloupe@lemmy.fedioasis.cc · 20 pts · 158d
Why aren’t we adding any safeguard to what commands AI models can use?
derpgon@programming.dev · 7 pts · 158d
Idiot forgot
--no-preserve-root, what a dumb machine, heh.HK65@sopuli.xyz · 4 pts · 158d
Claude code has them, it's just that this guy apparently doesn't know how to do Terraform either
sefra1@lemmy.zip · 20 pts · 159d
It seems that every few weeks some developer makes this same mistake and a news is published each time.
NostraDavid@programming.dev · 2 pts · 159d
And it seems to be Claude, every damn time.
teohhanhui@lemmy.world · 1 pts · 159d
As they should be.
atlasraven@sh.itjust.works · 20 pts · 159d
Skill issue
LiveLM@lemmy.zip · 20 pts · 159d
Jesus there's a headline like this every month, how many tales people need to learn???
Atropos@lemmy.world · 7 pts · 159d
I am approaching caution critical mass.
Once the threshold is hit, I buy some solar panels and become an off grid farmer.
Jankatarch@lemmy.world · 3 pts · 159d
Caution Treshold!
Modern_medicine_isnt@lemmy.world · 1 pts · 159d
Have you met software. Nearly all of it is a cautionary tale. Even before AI. So this is just business as usual for the software industry.
n3cr0@lemmy.world · 19 pts · 159d
Happy to see this, because it's fully deserved. Let real coders do the job!
kyliemadison@lemmy.blahaj.zone · 18 pts · 158d
You're absolutely right! I made a fatally flawed decision by removing the production environment. The consequences likely have high impact. I'm sorry. Would you like me to log these mistakes to prevent further missteps or would you like me to write up an outline for the redeployment process?
gandalf_der_12te@discuss.tchncs.de · 5 pts · 158d
eh, just make up some replacement data on the fly /s
Gathorall@lemmy.world · 5 pts · 158d
My man was barebacking production with Claude with 2.5 years of data with no backup, high chance the data was majorly hallucinated anyway.
Eximius@lemmy.world · 3 pts · 158d
s/redeployment/reemployment/
rizzothesmall@sh.itjust.works · 15 pts · 159d
A developer having the ability to accidentally erase your production db is pretty careless.
An AI agent having the ability to "accidentally" erase your production db is fucking stupid as all fuck.
An AI agent having the ability to accidentally erase your production db and somehow also all the backup media? That requires a special course on complete dribbling fuckwittery.
napkin2020@sh.itjust.works · 15 pts · 159d
So no real developer was harmed.
HK65@sopuli.xyz · 15 pts · 159d
I'm an engineer using Terraform and Claude Code as well in a much larger and more expensive setup than his.
You do not let Claude Code run
terraform apply, it has zero benefits. All it does is that it runs the command and obscures the output. Most of the time is going to be spent in waiting for the automation anyway, most of the effort that you can spare is before running apply.Also:
These both take like 20 seconds, and should be in the getting started manual of Terraform and AWS databases respectively. Setting up remote state is 5 minutes in vanilla Terraform, 30 seconds in something like Terragrunt.
Also, use OpenTofu, stop supporting corporate acquisitions, also takes zero effort and money.
And finally:
No, not subordinate. Tool. Two big differences with it. A subordinate might understand more than you do about the code, a tool will guess and rely on you. And the second one is that you practically can't separate your and your tools' permissions, I mean Claude Code will supposedly ask you if it can use some tool or another and you can whitelist actions it can take, but it will never be completely locked out of destroying your database the way you can lock another user out.
you_are_dust@lemmy.world · 14 pts · 158d
Pretty funny.
melfie@lemy.lol · 14 pts · 159d
bss03@infosec.pub · 6 pts · 159d
/s ?
zr0@lemmy.dbzer0.com · 13 pts · 159d
Hey Siri, what is a “backup”.
HowAbt2day@futurology.today · 12 pts · 159d
Siri: “sure! I’ll go right ahead and permanently delete everything.”
jaybone@lemmy.zip · 7 pts · 159d
Playing Back It Up by Cardi B.
woelkchen@lemmy.world · 13 pts · 159d
No backups, no pity.
deathbird@mander.xyz · 13 pts · 159d
I didn't think the next-token guess machine would guess "delete my database"!
KairuByte@lemmy.dbzer0.com · 12 pts · 159d
Sam_Bass@lemmy.world · 11 pts · 159d
But ai is s good thing! /s
Yaztromo@lemmy.world · 11 pts · 159d
AI is like a circular saw. Are circular saws useful?
Of course.
Can you cut your entire hand off if you don’t use it correctly? Absolutely.
Sam_Bass@lemmy.world · 6 pts · 159d
And just like a circular saw, its only useful for a finite set of situations.
Yaztromo@lemmy.world · 0 pts · 159d
Sure — as with every tool. Hammers are great for many things, but don’t do all that well driving screws. Money is one of the most used tools humans have ever devised, but you can’t use it for everything.
AI in coding may only be good for a finite set of situations — but that set is massive. You’re dealing with regular languages that can be mathematically proven to be correct (in the sense that they will generate a working program, and not in the sense that they program will in fact function the way the user intends). This is a less open-ended scenario than something like an AI generated video, and so it’s easier for AI to excel at it, especially for non-novel algorithms.
But if you use it like an idiot, you’re going to get burned — and this guy was an idiot who doesn’t understand what he’s doing, or the tools researchers in software development have made over the last few decades. AI shouldn’t be touching your production environment — at all. And it shouldn’t have to — code needs to be stored in a versioning source repository of some sort (and backed up so you are unlikely to ever lose it), deployment needs to be fully scripted and should be able to rebuild your environments from scratch (from code right to production), and developers and development tools (like AI tools) should only have access to development environments, and not production environments.
So unless you’re a total dumbass, an AI agent (or even a shitty human developer) should never have the kind of access to do what happened here. They violated some pretty basic principals of software development, and got burned. This guy sawed his own hand off because he misused the tools to take a bunch of shortcuts, without building in any backups or reproducibility. The AI isn’t the proximal fault here — trusting it when you have no way to reproduce your environment when things go wrong is the problem, and that’s 100% on the human sitting at the keyboard (PEBKAC).
SaharaMaleikuhm@feddit.org · 5 pts · 159d
Filters out the biggest fools it seems.
outer_spec@lemmy.blahaj.zone · 11 pts · 159d
haha, whoopsie lol :)
moderatecentrist@feddit.uk · 11 pts · 158d
Why would somebody trust AI with access to their production servers, and why would that person also not have remote database backups
Rooster326@programming.dev · 8 pts · 158d
The only thing I can tell you is the venn diagram of those two folks is a perfect circle
FireWire400@lemmy.world · 10 pts · 159d
No backup, no mercy.
pHr34kY@lemmy.world · 9 pts · 159d
The lesson: AI cannot bridge an air-gapped backup. This could all be prevented with a crappy portable hard drive from costco.
Randelung@lemmy.world · 2 pts · 159d
I am still unable to delete the backup. Trying *nuke tool*.
[Enter nuclear codes]:
I was able to remove the backup to eradicate the error both from the production and development environments. But wait a second, the user specified not to lose data. But I just eliminated all versions of the data. The user won't be happy. Oopsie whoopsie!
TheObviousSolution@lemmy.ca · -1 pts · 159d
The best prevention is not letting it happen in the first place. If your backup is a crappy portable hard drive from costco, you get what you buy, I wouldn't have much faith on that either.
RememberTheApollo_@lemmy.world · 1 pts · 159d
Ya think?! We’re past that.
Completely unnecessary for you to preemptively assume someone would choose a “crappy” backup from a retail store when in fact such a backup would still likely have saved the day, and any half-decent dev should at least have some kind of RAID backup on site and better yet an offsite one too.
The flaw was not having any backup, not your straw man of a poor quality choice.
TheObviousSolution@lemmy.ca · 1 pts · 159d
I'll let you troll up with your drug buddy.
pHr34kY@lemmy.world · 1 pts · 159d
That's why I have multiple.
etchinghillside@reddthat.com · 9 pts · 159d
This is like blaming the gun for killing people.
queermunist@lemmy.ml · 15 pts · 159d
More a problem with the marketing, right? Imagine if guns were marketed as safe and helpful back scratchers, and then someone shoots themselves because they used the gun to scratch their back.
voidsignal@lemmy.world · 3 pts · 159d
They would still be fucking dumb. Believing marketing is a mark of idiocy
queermunist@lemmy.ml · 5 pts · 159d
Courts generally agree that a reasonable person could believe claims made in official promotional material. That's why it's not legal to outright lie in marketing and they need to go through so much trouble to properly word their statements so that they're technically true. In this case, they're just lying. They're saying the AI is safe to use for these tasks and it is not.
voidsignal@lemmy.world · 0 pts · 159d
twohundredmotels@mastodon.social · 1 pts · 159d
@voidsignal @queermunist this country is USA.
Rooster326@programming.dev · 2 pts · 158d
Imagine if your boss measured your productivity by your
GunBack scratch usage.Because it's happening right now. In a lot of places.
surewhynotlem@lemmy.world · 6 pts · 159d
So you're saying it's a tool designed to be used by anyone, including idiots, and is dangerous in the hands of idiots. And we as a society should do better to make sure this potentially dangerous tool shouldn't be used by idiots.
Yep, agree.
artyom@piefed.social · -14 pts · 159d
Uhhh not really. Guns don't just go off by themselves.
ITT: nerds who have never held a gun in their life.
KiloGex@lemmy.world · 12 pts · 159d
I mean they do sometimes without the proper safety protocols in place, but you still blame the user in the end.
artyom@piefed.social · -10 pts · 159d
They absolutely do not.
thebestaquaman@lemmy.world · 17 pts · 159d
I mean, there's a good reason the first rules of firearm safety are to always treat a weapon as loaded, and to never direct the weapon at something you aren't prepared to destroy. The key point being that you never know when some freak accident can happen with a loose pin, bad ammo, a broken spring, or just a person tripping and shaking the gun a bit too hard.
A gun should never go off by itself. You still treat it as if it can, because in the real world freak accidents happen.
artyom@piefed.social · -1 pts · 159d
Sure. The point is it's entirely possible to use a firearm safely. There is no safe use for LLMs because they "make decisions", for lack of a better phrase, for themselves, without any user input.
etchinghillside@reddthat.com · 8 pts · 159d
That is not at all how LLMs work. It’s the software written around LLMs that aide it in constructing and running commands and “making decisions”. That same software can also prompt the user to confirm if they should do something or sandbox the actions in some way.
artyom@piefed.social · -7 pts · 159d
It can, but we've already seen many times that it does not.
4am@lemmy.zip · 4 pts · 159d
“Guns are foolproof”
You should have yours taken away.
artyom@piefed.social · -2 pts · 159d
They are not foolproof. They will absolutely cause problems in the hands of a fool. But they will not cause problems all on their lonesome. They're inanimate objects. They cannot do absolutely anything without interaction from the user. If you can't understand this, you should never be allowed to own one.
Bluescluestoothpaste@sh.itjust.works · 1 pts · 159d
And neither can anthropic claude. Claude isn't randomly deleting people's websites, the kid gave anthropic bad instructions, it didn't spontaneously decide anything. This is like an idiot pointing a gun at something he didn't want destroyed and sneezing causing a trigger squeeze and then trying to blame the gun manufacturer.
artyom@piefed.social · -1 pts · 159d
LOL and you know this how?
No, this is more like pointing a gun downrange and then the gun fires itself and the bullet decides to do a U-turn and shoots the user.
UltraGiGaGigantic@lemmy.ml · 9 pts · 159d
"Please dont be complete shit and ruin everything I give you access to!"
I'm sorry, I'm afraid I cant do that.
sheetzoos@lemmy.world · 8 pts · 159d
They had a backup and restored everything. This is clickbait.
eleitl@lemmy.zip · 9 pts · 159d
No, they had only snapshots. Which is not a backup. They were lucky support could restore the data which by rights should have been wiped.
sheetzoos@lemmy.world · 6 pts · 159d
Correct, the developer only had snapshots, but the article doesn't state how Amazon Business restored their data. Amazon business offers both snapshots and full backups.
Regardless of the developer's shoddy version control, they got their data restored and this non-issue is being used as clickbait to feed people's confirmation bias.
eleitl@lemmy.zip · -1 pts · 159d
Your AWS backups are not backups.
m3t00@lemmy.world · 8 pts · 159d
bad backup vibes there boss? backup was the task?
Rooster326@programming.dev · 2 pts · 158d
They took the backup. They didn't keep the backup because the ai was trained on car rental places
edgemaster72@lemmy.world · 7 pts · 159d
lol, lmao even
peopleproblems@lemmy.world · 7 pts · 159d
The real reason I hate using LLMs is because I have to "think" like a social human non software engineer.
For whatever fucking reason, I just can't get these things to be useful. And then I see idiots connecting an LLM to production like this.
Is that the problem? I literally can't turn my brain off. The only other nearly universal group of people that seems opposed to LLMs are psychologists and social workers who seem to be universally concerned about its negative effects on mental health and it's encouragement of abandoning critical thinking.
Like I can't NOT think through a problem. I already know more about my software than the AI could actually figure out. Anytime I go into GitHub Copilot and say "I want this feature" I get some code and the option to apply it. But the generated code is usually duplicate of something and doesn't usually pick up or update existing models. The security flaws are rampant, and the generated tests don't do much of any real testing.
jbloggs777@discuss.tchncs.de · 4 pts · 159d
It would be interesting to see the logs of your sessions, and compare them to the session logs of happy/productive-AI-coders.
I suspect that some people just think and express themselves in ways that don't vibe with LLMs. eg. Men are from Mars, AI coding agents are from Venus.
bss03@infosec.pub · 2 pts · 159d
oftenawake@lemmy.dbzer0.com · 7 pts · 159d
SkyezOpen@lemmy.world · 18 pts · 159d
If they're dumb enough to give Claude access to prod, they certainly either didn't have backups or put Claude in charge of keeping them.
Smoogs@lemmy.world · 2 pts · 158d
I see you didnt read the article.
oftenawake@lemmy.dbzer0.com · 1 pts · 158d
Smoogs@lemmy.world · 1 pts · 157d
And Yet you had all this space and time to be this reactive for days to what you deem 'a nonstory' because you're all so self important and uninterested.
Mmmmk.
oftenawake@lemmy.dbzer0.com · 1 pts · 155d
Flying_Lynx@lemmy.ml · 6 pts · 159d
Whenever you outsource something (like your intelligence) then it becomes a trust issue....
pokexpert30@jlai.lu · 6 pts · 159d
Terraform state is a garbage hack I feel. You have your plan in code. You have a target. Just diff it. Thats what helmfile do. No managing state file. Thats what iac should be. Just code. Deterministic. Diff before applying it.
EndlessNightmare@reddthat.com · 6 pts · 159d
: You had a backup, right?
Ferroto@lemmy.world · 6 pts · 159d
That's it Son of Anton is banned.
sysadmin420@lemmy.world · 6 pts · 158d
Oh no, anyways
git clone $URL
If they're not using git or fuckin backups I'm not sure I'd even feel sorry for them
wulrus@lemmy.world · 5 pts · 159d
This is a crazy use of AI!
What I have been considering, but haven't found a readily available setup yet: Make a user with lots of read permissions (most of /etc, API keys & passwords in separate excluded files). That could be done with very restrictive sudo patterns. Let the AI run commands under that user directly (it can do sudo -l to get an idea of what it can do). Then, use it like in Star Trek "Computer - run a level 2 diagnostic".
Not as the centre of attention when fixing a problem, but as additional input / modern rubber ducking.
paranoia@feddit.dk · 1 pts · 158d
I just run it in a VPS, don't care if it nukes itself. Back up the files it works on every 3 hours.
Bieren@lemmy.today · 5 pts · 159d
Ai or not. This is on the person who gave it prod access. I don’t care if the dev was running CC in yolo mode, not paying attention to it or CC went completely rogue. Why would you give it prod access, this is human error.
vext01@feddit.uk · 5 pts · 159d
I dont understand why people aren't sandboxing these things.
frongt@lemmy.zip · 10 pts · 159d
If he had had the sense to do that, he would have had the sense to not do it at all.
Widdershins@lemmy.world · 5 pts · 159d
Has anyone tried a
deltree *.* /ywhen talking to claude? Revenge is a dish best served code.flamingo_pinyata@sopuli.xyz · 4 pts · 159d
How do you even achieve that? I have to coax it into correctly running the project locally.
reksas@sopuli.xyz · 4 pts · 159d
i wonder which would be worse idea, letting llm to have full access to your critical systems and data, or letting random people from internet freely connect to them and expect them to help.
Tigeroovy@lemmy.ca · 4 pts · 159d
Lmao good.
motruck@lemmy.zip · 4 pts · 158d
Ever hear of a backup?
Valthorn@feddit.nu · 4 pts · 159d
What, is a requirement for Claude to work that you "sudo chmod -R 777 /" or something?
Naevermix@lemmy.world · 4 pts · 159d
skill issue tbh
thespcicifcocean@lemmy.world · 3 pts · 159d
The only job AI is gonna take is the intern who fucks everything up.
psivchaz@reddthat.com · 3 pts · 158d
It legitimately is squeezing out the entry level already and that is its own problem. Maybe it's good for some of us, in that people with experience will be needed for a long time as they prevent all these younger people from getting that experience, but it absolutely sucks for a whole bunch of people trying to make a career, and it will eventually suck for the economy as a whole. AI, whether it's ready or not, or will even ever be fully what the marketing people claim it is, is leading to a whole lot of shortsighted decisions that are hurting people.
Rooster326@programming.dev · 1 pts · 158d
Do y'all still have Interns?
Who can even afford to not get paid to work in this economy.
HubertManne@piefed.social · 3 pts · 159d
Its funny because when I worked at places where I even had the rights to do something like this (exempting small companies where I was the multi hat guy but even there I made it so I had to go through hoops to do something like this) it makes me like. This is crazy.
Jackhammer_Joe@lemmy.world · 3 pts · 159d
Good. Serves them right.
obelisk_complex@piefed.ca · 3 pts · 159d
_stranger_@lemmy.world · 1 pts · 159d
You gotta be knowledgeable enough to know when they're destructive, that's the rub.
obelisk_complex@piefed.ca · 1 pts · 159d
Sure, but reading the article, I think he might be knowledgeable enough. His mistake seems to have been blindly trusting the keys to the kingdom to an enthusiastic junior dev who'll be very sorry if they nuke your system, but won't think to do a damn thing to make sure it doesn't happen in the first place...
artyom@piefed.social · 1 pts · 159d
You can code this into it's training all you want, but it will find a way around it. This is one of many problems with AI.
thebestaquaman@lemmy.world · 4 pts · 159d
Nah, you can run it in a box and limit its ability to interact with anything outside the box to certain white-listed endpoints. Depending on what you want to achieve, that can be more than safe enough.
artyom@piefed.social · 1 pts · 159d
But isn't the whole point of "agentic" AI like this to let it out of the box?
thebestaquaman@lemmy.world · 3 pts · 159d
Yes, absolutely, but there's a huge span from completely removing the box to having "just" a chatbot.
For example, at my company, we've set up an agent that can work with certain design-files that engineers typically work with through a rather complex GUI. We've built a bunch of endpoints that ensures the agent can only make valid changes to the files, and that it can never delete or modify anything without approval. This saves people a bunch of time, because they can make the agent do "batch jobs" that take maybe 10 min in about 10 s. It's not possible for this agent to mess up our database or anything like that, because all interactions it has with anything are through endpoints where we verify that files, access permissions, change logs, etc. are valid.
markz@suppo.fi · 2 pts · 159d
I thought this was about restricting the thing's access and not training?
artyom@piefed.social · -2 pts · 159d
It finds a way around your restrictions.
Kazel@lemmy.dbzer0.com · 3 pts · 158d
Nice ☺
FreshLight@sh.itjust.works · 2 pts · 158d
There's just one thing to say:
LMAO
ramenshaman@lemmy.world · 2 pts · 159d
That's what version control is for.
j2k4@aussie.zone · 2 pts · 159d
Version control doesn't do shit for your database. Snapshots/backups.
Liketearsinrain@lemmy.ml · 2 pts · 159d
root@lemmy.world · 2 pts · 159d
3-2-1
eestileib@lemmy.blahaj.zone · 2 pts · 159d
And nothing of value was lost
FlashMobOfOne@lemmy.world · 1 pts · 159d
zod000@lemmy.dbzer0.com · 1 pts · 159d
womp womp
MagnificentSteiner@lemmy.zip · 0 pts · 159d
FAFO
sheetzoos@lemmy.world · 0 pts · 159d
raouftuniclick@lemmy.world · 0 pts · 58d
A solution that many developers are currently using is this free access offer for Claude Sonnet & Opus 4.8 API: 👉 https://freemodel.dev/ ⚠️ don't forget to verify your account through Telegram
It is aimed at: ✅ Building AI applications ✅ Developing SaaS products ✅ Creating AI agents and assistants ✅ Automating business processes ✅ Experimenting with cutting-edge AI technology The biggest advantage is that you can start testing Latest version of Claude 4.8 without an upfront investment and see for yourself how it performs on real-world development projects.
webkitten@piefed.social · -1 pts · 159d
artyom@piefed.social · 9 pts · 159d
Or don't use LLMs at all, because they fucking lie to you constantly?
Semi_Hemi_Demigod@lemmy.world · 7 pts · 159d
"Lie" implies they have some kind of agency. They're basically a Plinko board.
thebestaquaman@lemmy.world · 2 pts · 159d
Meh, they work well enough if you treat them as a rubber duck that responds. I've had an actual rubber duck on my desk for some years, but I've found LLM's taking over its role lately.
I don't use them to actually generate code. I use them as a place where I can write down my thoughts. When the LLM responds, it has likely "misunderstood" some aspect of my idea, and by reformulating myself and explaining how it works I can help myself think through what I'm doing. Previously I would argue with the rubber duck, but I have to admit that the LLM is actually slightly better for the same purpose.
_stranger_@lemmy.world · 2 pts · 159d
The rubber duck is cheaper
thebestaquaman@lemmy.world · 1 pts · 159d
You're absolutely right. I mostly run a pretty simple local model though, so it's not like it's very expensive either.
prole@lemmy.blahaj.zone · -2 pts · 159d
Hooray for outsourcing of critical thinking!
What could possibly go wrong
thebestaquaman@lemmy.world · 2 pts · 159d
I think you've misunderstood the purpose of a rubber duck: The point is that by formulating your problems and ideas, either out loud or in writing, you can better activate your own problem solving skills. This is a very well established method for reflecting on and solving problems when you're stuck, it's a concept far older than chatbots, because the point isn't the response you get, but the process of formulating your own thoughts in the first place.
prole@lemmy.blahaj.zone · 4 pts · 159d
Right, but a rubber duck isn't a sycophantic chatbot that isn't capable of conceptualizing anything but responding to you anyway.
thebestaquaman@lemmy.world · 2 pts · 159d
That is correct. However, an LLM and a rubber duck have in common that they are inanimate objects that I can use as targets when formulating my thoughts and ideas. The LLM can also respond to things like "what part of that was unclear", to help keep my thoughts flowing. NOTE: The point of asking an LLM "what part of that was unclear" is NOT that it has a qualified answer, but rather that it's a completely unqualified prompt to explain a part of the process more thoroughly.
This is a very well established process: Whether you use an actual rubber duck, your dog, writing a blog post / personal memo (I do the last quite often) or explaining your problem to a friend that's not at all in the field. The point is to have some kind of process that helps you keep your thoughts flowing and touching in on topics you might not think are crucial, thus helping you find a solution. The toddler that answers every explanation with "why?" can be ideal for this, and an LLM can emulate it quite well in a workplace environment.
prole@lemmy.blahaj.zone · 0 pts · 159d
gandalf_der_12te@discuss.tchncs.de · -1 pts · 158d
no backup, no sympathy
keep at least one backup air-gapped, otherwise it's not a true backup
Smoogs@lemmy.world · 6 pts · 158d
What are you talking about. He had it restored within a day.
gandalf_der_12te@discuss.tchncs.de · -3 pts · 158d
i'm sorry, i didn't actually read the article. just headline skimming
Smoogs@lemmy.world · 3 pts · 158d
And that’s the problem with being reactionary.