this post was submitted on 07 Mar 2026
1215 points (97.2% liked)

Technology

84277 readers
4318 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
(page 2) 50 comments
sorted by: hot top controversial new old
[–] n3cr0@lemmy.world 19 points 1 month ago

Happy to see this, because it's fully deserved. Let real coders do the job!

[–] kyliemadison@lemmy.blahaj.zone 18 points 1 month ago (3 children)

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?

load more comments (3 replies)
[–] napkin2020@sh.itjust.works 15 points 1 month ago

So no real developer was harmed.

[–] rizzothesmall@sh.itjust.works 15 points 1 month ago

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.

[–] melfie@lemy.lol 14 points 1 month ago* (last edited 1 month ago) (1 children)

Just a freak accident. Maybe next time, give it more permissions so it can fix any problems that occur. 😉

load more comments (1 replies)
[–] you_are_dust@lemmy.world 14 points 1 month ago

Pretty funny.

[–] HK65@sopuli.xyz 14 points 1 month ago

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:

applying delete protections to Terraform and AWS permissions, and moving the Terraform state file to S3 storage instead of his local machine

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:

most sysadmins will spot the baseline issues with Grigorev's approach, including granting wide-ranging permissions to what's effectively a subordinate of his, as well as not scoping permissions in a production environment to begin with.

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.

[–] deathbird@mander.xyz 13 points 1 month ago

I didn't think the next-token guess machine would guess "delete my database"!

[–] woelkchen@lemmy.world 13 points 1 month ago

No backups, no pity.

[–] zr0@lemmy.dbzer0.com 13 points 1 month ago (2 children)

Hey Siri, what is a “backup”.

[–] HowAbt2day@futurology.today 12 points 1 month ago

Siri: “sure! I’ll go right ahead and permanently delete everything.”

load more comments (1 replies)
[–] KairuByte@lemmy.dbzer0.com 12 points 1 month ago
[–] outer_spec@lemmy.blahaj.zone 11 points 1 month ago

haha, whoopsie lol :)

[–] Sam_Bass@lemmy.world 11 points 1 month ago (2 children)

But ai is s good thing! /s

[–] Yaztromo@lemmy.world 11 points 1 month ago (2 children)

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.

load more comments (2 replies)
load more comments (1 replies)
[–] moderatecentrist@feddit.uk 11 points 1 month ago (1 children)

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 points 1 month ago* (last edited 1 month ago)

The only thing I can tell you is the venn diagram of those two folks is a perfect circle

[–] FireWire400@lemmy.world 10 points 1 month ago

No backup, no mercy.

[–] UltraGiGaGigantic@lemmy.ml 9 points 1 month ago

"Please dont be complete shit and ruin everything I give you access to!"

I'm sorry, I'm afraid I cant do that.

[–] etchinghillside@reddthat.com 9 points 1 month ago (22 children)

This is like blaming the gun for killing people.

[–] queermunist@lemmy.ml 15 points 1 month ago (4 children)

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.

load more comments (4 replies)
load more comments (21 replies)
[–] pHr34kY@lemmy.world 9 points 1 month ago* (last edited 1 month ago) (5 children)

The lesson: AI cannot bridge an air-gapped backup. This could all be prevented with a crappy portable hard drive from costco.

load more comments (5 replies)
[–] sheetzoos@lemmy.world 8 points 1 month ago (1 children)

They had a backup and restored everything. This is clickbait.

[–] eleitl@lemmy.zip 9 points 1 month ago (2 children)

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.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›