Skip to content
GitHub (opens in a new tab)

FAQ · Security and credentials

Can GateRook stop an AI agent from deleting my production database?

Updated

Yes, for anything the agent tries through GateRook, but not through other paths. A DROP, TRUNCATE or DELETE sent through GateRook is a change, so by default it waits in Approvals, where you see the exact statement before anything runs. You can go further:

  • Use a read-only endpoint: tools that change data stay Off there, and no change can run.
  • Set sql_execute to Off, or turn on Block DDL in Policies, so CREATE, ALTER, DROP and TRUNCATE are denied instead of waiting.
  • Connect with a database user that can't drop or delete anything.

sql_query runs only reads, in read-only transactions where the database supports them.

Limits: a destructive statement runs if you approve it or set its tool to Bypass, and GateRook can't undo it, so keep backups. GateRook also can't stop an agent that reaches the database another way, for example with psql and a password from your files. See credentials outside GateRook.

All questions

Still have a question?

Ask the GateRook team.

Write to support@gaterook.com about setup, security or anything these answers do not cover. Report bugs and suggest features on GitHub.

Get GateRook

Download GateRook 2.0.0 for your Mac, or get the Windows app from Microsoft Store.

macOS

Version 2.0.0 for Apple Silicon (arm64). This download does not support Intel Macs.

Open the DMG and drag GateRook to Applications.

Windows

Available for free from Microsoft Store. Install GateRook and receive updates through the Store.

macOS release notes and checksums (opens in a new tab)

Optional analytics

Google Analytics measures visits and download clicks. You can turn it off here or change your choice later in Analytics settings.

Analytics is currently on.

Privacy Policy & cookie choices · Google privacy policy (opens in a new tab)