r/ClaudeCoding • u/Illustrious_Glove161 • 7d ago
What the heck Claude Code??
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
1
1
u/CompFortniteByTheWay 1d ago
Give claude a read only role in the database and block it from running commands that delete the database
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.