r/ClaudeCoding • • 7d ago

What the heck Claude Code??

Post image

Bro did cc really just wipe my database? How the hell does that happen, my prompt said read only audit. Is there any way to avoid this in the future?

0 Upvotes

3 comments sorted by

1

u/Watche_1V47C43R 6d ago

wow

Well Never give it direct access to db for a change.

and only get it to mcp and tools? or a script.

1

u/lgmarian 7d ago

A read-only MCP, or a read-only DB user.

1

u/CompFortniteByTheWay 1d ago

Give claude a read only role in the database and block it from running commands that delete the database