Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The risk isn’t that it makes weird commits; it’s that it may decide to clean up stuff and delete more than desired.

- https://github.com/anthropics/claude-code/issues/4331

- https://github.com/anthropics/claude-code/issues/7787

- https://news.ycombinator.com/item?id=46268222



You can roll back commits


Not when it deletes .git. Or your home directory.


Never had that happen but you should always push your commits.



Not for changes made outside of the repo….


I havent ever seen Claude do that so thats news to me, always asks for permission to go anywhere else.


Sure, it tries really hard not to, but there might be some attack/malware/hidden prompt that does it, one day, out of the blue...




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: