UK & world technology
Sign inJoin us
TechBlastTechnology. Unpacked.UK & world technology
← Latest news

From Dev.to

Block rm -rf in Claude Code with a 27-line hook

A coding agent runs shell commands for you. Most are harmless. One day one of them is a recursive delete aimed at the wrong folder. The usual defence is a line in CLAUDE.md: "never delete files". That...

Read the full report at Dev.to ↗