this post was submitted on 07 Mar 2026
1164 points (97.5% liked)

Technology

83295 readers
5320 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
[–] kyliemadison@lemmy.blahaj.zone 17 points 3 weeks 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)
[–] Cantaloupe@lemmy.fedioasis.cc 15 points 3 weeks ago (2 children)

Why aren’t we adding any safeguard to what commands AI models can use?

load more comments (2 replies)
[–] rizzothesmall@sh.itjust.works 15 points 3 weeks 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.

[–] napkin2020@sh.itjust.works 14 points 3 weeks ago

So no real developer was harmed.

[–] you_are_dust@lemmy.world 13 points 3 weeks ago

Pretty funny.

[–] woelkchen@lemmy.world 13 points 3 weeks ago

No backups, no pity.

[–] HK65@sopuli.xyz 13 points 3 weeks 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.

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

Hey Siri, what is a “backup”.

[–] HowAbt2day@futurology.today 12 points 3 weeks ago

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

load more comments (1 replies)
[–] moderatecentrist@feddit.uk 11 points 3 weeks 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 3 weeks ago* (last edited 3 weeks ago)

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

[–] Sam_Bass@lemmy.world 11 points 3 weeks ago (2 children)

But ai is s good thing! /s

[–] Yaztromo@lemmy.world 11 points 3 weeks 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)
[–] deathbird@mander.xyz 11 points 3 weeks ago

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

[–] outer_spec@lemmy.blahaj.zone 11 points 3 weeks ago

haha, whoopsie lol :)

[–] FireWire400@lemmy.world 10 points 3 weeks ago

No backup, no mercy.

[–] KairuByte@lemmy.dbzer0.com 10 points 3 weeks ago
[–] etchinghillside@reddthat.com 9 points 3 weeks ago (21 children)

This is like blaming the gun for killing people.

load more comments (21 replies)
[–] pHr34kY@lemmy.world 9 points 3 weeks ago* (last edited 3 weeks 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 3 weeks ago (1 children)

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

[–] eleitl@lemmy.zip 9 points 3 weeks 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)
[–] m3t00@lemmy.world 8 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

bad backup vibes there boss? backup was the task?

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